Home
last modified time | relevance | path

Searched refs:tlv_caps (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c35 off = nn->tlv_caps.crypto_enable_off + round_down(opcode / 8, 4); in nfp_net_crypto_set_op()
260 return nn->tlv_caps.crypto_ops & BIT(bit); in nfp_net_cipher_supported()
395 if (!nn->tlv_caps.tls_resync_ss) in nfp_net_tls_add()
455 if (nn->tlv_caps.tls_resync_ss) in nfp_net_tls_resync()
566 if (!(nn->tlv_caps.crypto_ops & NFP_NET_TLS_OPCODE_MASK)) in nfp_net_tls_init()
569 if ((nn->tlv_caps.mbox_cmsg_types & NFP_NET_TLS_CCM_MBOX_OPS_MASK) != in nfp_net_tls_init()
575 nn->tlv_caps.mbox_len); in nfp_net_tls_init()
584 nn_writel(nn, nn->tlv_caps.crypto_enable_off, 0); in nfp_net_tls_init()
590 if (nn->tlv_caps.crypto_ops & NFP_NET_TLS_OPCODE_MASK_RX) { in nfp_net_tls_init()
594 if (nn->tlv_caps.crypto_ops & NFP_NET_TLS_OPCODE_MASK_TX) { in nfp_net_tls_init()
Dipsec.c135 unsigned int offset = nn->tlv_caps.mbox_off + NFP_NET_CFG_MBOX_SIMPLE_VAL; in nfp_net_ipsec_cfg()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
Dccm_mbox.c56 return round_down(nn->tlv_caps.mbox_len, 4) - in nfp_ccm_mbox_max_msg()
158 off = nn->tlv_caps.mbox_off + NFP_NET_CFG_MBOX_SIMPLE_VAL; in nfp_ccm_mbox_copy_in()
220 data = nn->dp.ctrl_bar + nn->tlv_caps.mbox_off + in nfp_ccm_mbox_copy_out()
222 end = data + nn->tlv_caps.mbox_len; in nfp_ccm_mbox_copy_out()
377 int space = nn->tlv_caps.mbox_len - NFP_NET_CFG_MBOX_SIMPLE_VAL; in nfp_ccm_mbox_run_queue_unlock()
474 if (unlikely(!(nn->tlv_caps.mbox_cmsg_types & BIT(type)))) { in nfp_ccm_mbox_msg_prepare()
Dnfp_net_common.c295 if (nn->tlv_caps.mbox_len < NFP_NET_CFG_MBOX_SIMPLE_VAL + data_size) { in nfp_net_mbox_lock()
297 data_size, nn->tlv_caps.mbox_len); in nfp_net_mbox_lock()
316 u32 mbox = nn->tlv_caps.mbox_off; in nfp_net_mbox_reconfig()
332 u32 mbox = nn->tlv_caps.mbox_off; in nfp_net_mbox_reconfig_post()
341 u32 mbox = nn->tlv_caps.mbox_off; in nfp_net_mbox_reconfig_wait_posted()
888 factor = nn->tlv_caps.me_freq_mhz / 16; in nfp_net_coalesce_write_cfg()
1177 factor = nn->tlv_caps.me_freq_mhz / 16; in nfp_net_rx_dim_work()
1207 factor = nn->tlv_caps.me_freq_mhz / 16; in nfp_net_tx_dim_work()
1438 nn_writel(nn, nn->tlv_caps.mbox_off + NFP_NET_CFG_MULTICAST_MAC_HI, in nfp_net_mc_cfg()
1440 nn_writew(nn, nn->tlv_caps.mbox_off + NFP_NET_CFG_MULTICAST_MAC_LO, in nfp_net_mc_cfg()
[all …]
Dnfp_net_ethtool.c991 return nn->tlv_caps.vnic_stats_cnt + nn->max_r_vecs * 4; in nfp_vnic_get_tlv_stats_count()
1000 mem = nn->dp.ctrl_bar + nn->tlv_caps.vnic_stats_off; in nfp_vnic_get_tlv_stats_strings()
1001 for (i = 0; i < nn->tlv_caps.vnic_stats_cnt; i++) { in nfp_vnic_get_tlv_stats_strings()
1032 mem = nn->dp.ctrl_bar + nn->tlv_caps.vnic_stats_off; in nfp_vnic_get_tlv_stats()
1033 mem += roundup(2 * nn->tlv_caps.vnic_stats_cnt, 8); in nfp_vnic_get_tlv_stats()
1034 for (i = 0; i < nn->tlv_caps.vnic_stats_cnt; i++) in nfp_vnic_get_tlv_stats()
1097 if (!nn->tlv_caps.vnic_stats_off) in nfp_net_get_strings()
1119 if (!nn->tlv_caps.vnic_stats_off) in nfp_net_get_stats()
1136 if (!nn->tlv_caps.vnic_stats_off) in nfp_net_get_sset_count()
2139 factor = nn->tlv_caps.me_freq_mhz / 16; in nfp_net_set_coalesce()
Dnfp_net_repr.c320 u32 repr_cap = nn->tlv_caps.repr_cap; in nfp_repr_init()
Dnfp_net.h696 struct nfp_net_tlv_caps tlv_caps; member
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/abm/
Dctrl.c274 nn_writeq(nn, nn->tlv_caps.mbox_off + NFP_NET_ABM_MBOX_DATALEN, in nfp_abm_ctrl_prio_map_update()
278 nn_writel(nn, nn->tlv_caps.mbox_off + NFP_NET_ABM_MBOX_DATA + i, in nfp_abm_ctrl_prio_map_update()
298 if (nn->tlv_caps.mbox_len < min_mbox_sz) { in nfp_abm_ctrl_prio_check_params()
300 nn->tlv_caps.mbox_len, min_mbox_sz); in nfp_abm_ctrl_prio_check_params()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nic/
Ddcb.c306 nn_writel(nn, nn->tlv_caps.mbox_off + NFP_NET_CFG_MBOX_SIMPLE_VAL, in nfp_nic_dcbnl_ieee_setets()
356 nn_writel(nn, nn->tlv_caps.mbox_off + NFP_NET_CFG_MBOX_SIMPLE_VAL, in nfp_nic_dcbnl_ieee_setmaxrate()
387 nn_writel(nn, nn->tlv_caps.mbox_off + NFP_NET_CFG_MBOX_SIMPLE_VAL, in nfp_nic_set_trust_status()
418 nn_writel(nn, nn->tlv_caps.mbox_off + in nfp_nic_set_dscp2prio()