Searched refs:tlv_caps (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/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() 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()
|
D | ipsec.c | 135 unsigned int offset = nn->tlv_caps.mbox_off + NFP_NET_CFG_MBOX_SIMPLE_VAL; in nfp_net_ipsec_cfg()
|
/linux-6.6.21/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_common.c | 295 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() 889 factor = nn->tlv_caps.me_freq_mhz / 16; in nfp_net_coalesce_write_cfg() 1178 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() 1437 nn_writel(nn, nn->tlv_caps.mbox_off + NFP_NET_CFG_MULTICAST_MAC_HI, in nfp_net_mc_cfg() 1439 nn_writew(nn, nn->tlv_caps.mbox_off + NFP_NET_CFG_MULTICAST_MAC_LO, in nfp_net_mc_cfg() [all …]
|
D | nfp_net_ethtool.c | 984 return nn->tlv_caps.vnic_stats_cnt + nn->max_r_vecs * 4; in nfp_vnic_get_tlv_stats_count() 993 mem = nn->dp.ctrl_bar + nn->tlv_caps.vnic_stats_off; in nfp_vnic_get_tlv_stats_strings() 994 for (i = 0; i < nn->tlv_caps.vnic_stats_cnt; i++) { in nfp_vnic_get_tlv_stats_strings() 1025 mem = nn->dp.ctrl_bar + nn->tlv_caps.vnic_stats_off; in nfp_vnic_get_tlv_stats() 1026 mem += roundup(2 * nn->tlv_caps.vnic_stats_cnt, 8); in nfp_vnic_get_tlv_stats() 1027 for (i = 0; i < nn->tlv_caps.vnic_stats_cnt; i++) in nfp_vnic_get_tlv_stats() 1090 if (!nn->tlv_caps.vnic_stats_off) in nfp_net_get_strings() 1112 if (!nn->tlv_caps.vnic_stats_off) in nfp_net_get_stats() 1129 if (!nn->tlv_caps.vnic_stats_off) in nfp_net_get_sset_count() 1763 factor = nn->tlv_caps.me_freq_mhz / 16; in nfp_net_set_coalesce()
|
D | nfp_net_repr.c | 321 u32 repr_cap = nn->tlv_caps.repr_cap; in nfp_repr_init()
|
D | nfp_net.h | 693 struct nfp_net_tlv_caps tlv_caps; member
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/nic/ |
D | dcb.c | 306 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()
|