Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c34 off = nn->tlv_caps.crypto_enable_off + round_down(opcode / 8, 4); in nfp_net_crypto_set_op()
259 return nn->tlv_caps.crypto_ops & BIT(bit); in nfp_net_cipher_supported()
486 if (!(nn->tlv_caps.crypto_ops & NFP_NET_TLS_OPCODE_MASK)) in nfp_net_tls_init()
489 if ((nn->tlv_caps.mbox_cmsg_types & NFP_NET_TLS_CCM_MBOX_OPS_MASK) != in nfp_net_tls_init()
495 nn->tlv_caps.mbox_len); in nfp_net_tls_init()
504 nn_writel(nn, nn->tlv_caps.crypto_enable_off, 0); in nfp_net_tls_init()
510 if (nn->tlv_caps.crypto_ops & NFP_NET_TLS_OPCODE_MASK_RX) { in nfp_net_tls_init()
514 if (nn->tlv_caps.crypto_ops & NFP_NET_TLS_OPCODE_MASK_TX) { in nfp_net_tls_init()
/Linux-v5.4/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.c311 if (nn->tlv_caps.mbox_len < NFP_NET_CFG_MBOX_SIMPLE_VAL + data_size) { in nfp_net_mbox_lock()
313 data_size, nn->tlv_caps.mbox_len); in nfp_net_mbox_lock()
332 u32 mbox = nn->tlv_caps.mbox_off; in nfp_net_mbox_reconfig()
348 u32 mbox = nn->tlv_caps.mbox_off; in nfp_net_mbox_reconfig_post()
357 u32 mbox = nn->tlv_caps.mbox_off; in nfp_net_mbox_reconfig_wait_posted()
2702 factor = nn->tlv_caps.me_freq_mhz / 16; in nfp_net_coalesce_write_cfg()
3336 nn_writew(nn, nn->tlv_caps.mbox_off + NFP_NET_CFG_VLAN_FILTER_VID, vid); in nfp_net_vlan_rx_add_vid()
3337 nn_writew(nn, nn->tlv_caps.mbox_off + NFP_NET_CFG_VLAN_FILTER_PROTO, in nfp_net_vlan_rx_add_vid()
3360 nn_writew(nn, nn->tlv_caps.mbox_off + NFP_NET_CFG_VLAN_FILTER_VID, vid); in nfp_net_vlan_rx_kill_vid()
3361 nn_writew(nn, nn->tlv_caps.mbox_off + NFP_NET_CFG_VLAN_FILTER_PROTO, in nfp_net_vlan_rx_kill_vid()
[all …]
Dnfp_net_repr.c308 u32 repr_cap = nn->tlv_caps.repr_cap; in nfp_repr_init()
Dnfp_net.h669 struct nfp_net_tlv_caps tlv_caps; member
/Linux-v5.4/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()