Searched refs:tlv_caps (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/crypto/ |
D | tls.c | 35 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() 565 if (!(nn->tlv_caps.crypto_ops & NFP_NET_TLS_OPCODE_MASK)) in nfp_net_tls_init() 568 if ((nn->tlv_caps.mbox_cmsg_types & NFP_NET_TLS_CCM_MBOX_OPS_MASK) != in nfp_net_tls_init() 574 nn->tlv_caps.mbox_len); in nfp_net_tls_init() 583 nn_writel(nn, nn->tlv_caps.crypto_enable_off, 0); in nfp_net_tls_init() 589 if (nn->tlv_caps.crypto_ops & NFP_NET_TLS_OPCODE_MASK_RX) { in nfp_net_tls_init() 593 if (nn->tlv_caps.crypto_ops & NFP_NET_TLS_OPCODE_MASK_TX) { in nfp_net_tls_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
D | ccm_mbox.c | 56 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()
|
D | nfp_net_ethtool.c | 593 return nn->tlv_caps.vnic_stats_cnt + nn->max_r_vecs * 4; in nfp_vnic_get_tlv_stats_count() 602 mem = nn->dp.ctrl_bar + nn->tlv_caps.vnic_stats_off; in nfp_vnic_get_tlv_stats_strings() 603 for (i = 0; i < nn->tlv_caps.vnic_stats_cnt; i++) { in nfp_vnic_get_tlv_stats_strings() 634 mem = nn->dp.ctrl_bar + nn->tlv_caps.vnic_stats_off; in nfp_vnic_get_tlv_stats() 635 mem += roundup(2 * nn->tlv_caps.vnic_stats_cnt, 8); in nfp_vnic_get_tlv_stats() 636 for (i = 0; i < nn->tlv_caps.vnic_stats_cnt; i++) in nfp_vnic_get_tlv_stats() 699 if (!nn->tlv_caps.vnic_stats_off) in nfp_net_get_strings() 718 if (!nn->tlv_caps.vnic_stats_off) in nfp_net_get_stats() 735 if (!nn->tlv_caps.vnic_stats_off) in nfp_net_get_sset_count() 1355 factor = nn->tlv_caps.me_freq_mhz / 16; in nfp_net_set_coalesce()
|
D | nfp_net_common.c | 312 if (nn->tlv_caps.mbox_len < NFP_NET_CFG_MBOX_SIMPLE_VAL + data_size) { in nfp_net_mbox_lock() 314 data_size, nn->tlv_caps.mbox_len); in nfp_net_mbox_lock() 333 u32 mbox = nn->tlv_caps.mbox_off; in nfp_net_mbox_reconfig() 349 u32 mbox = nn->tlv_caps.mbox_off; in nfp_net_mbox_reconfig_post() 358 u32 mbox = nn->tlv_caps.mbox_off; in nfp_net_mbox_reconfig_wait_posted() 2707 factor = nn->tlv_caps.me_freq_mhz / 16; in nfp_net_coalesce_write_cfg() 3332 nn_writew(nn, nn->tlv_caps.mbox_off + NFP_NET_CFG_VLAN_FILTER_VID, vid); in nfp_net_vlan_rx_add_vid() 3333 nn_writew(nn, nn->tlv_caps.mbox_off + NFP_NET_CFG_VLAN_FILTER_PROTO, in nfp_net_vlan_rx_add_vid() 3356 nn_writew(nn, nn->tlv_caps.mbox_off + NFP_NET_CFG_VLAN_FILTER_VID, vid); in nfp_net_vlan_rx_kill_vid() 3357 nn_writew(nn, nn->tlv_caps.mbox_off + NFP_NET_CFG_VLAN_FILTER_PROTO, in nfp_net_vlan_rx_kill_vid() [all …]
|
D | nfp_net_repr.c | 322 u32 repr_cap = nn->tlv_caps.repr_cap; in nfp_repr_init()
|
D | nfp_net.h | 664 struct nfp_net_tlv_caps tlv_caps; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/ |
D | ctrl.c | 274 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()
|