Home
last modified time | relevance | path

Searched defs:pfvf (Results 1 – 25 of 28) sorted by relevance

12

/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.c22 static bool otx2_is_pfc_enabled(struct otx2_nic *pfvf) in otx2_is_pfc_enabled()
28 struct otx2_nic *pfvf, int qidx) in otx2_nix_rq_op_stats()
41 struct otx2_nic *pfvf, int qidx) in otx2_nix_sq_op_stats()
53 void otx2_update_lmac_stats(struct otx2_nic *pfvf) in otx2_update_lmac_stats()
71 void otx2_update_lmac_fec_stats(struct otx2_nic *pfvf) in otx2_update_lmac_fec_stats()
84 int otx2_update_rq_stats(struct otx2_nic *pfvf, int qidx) in otx2_update_rq_stats()
96 int otx2_update_sq_stats(struct otx2_nic *pfvf, int qidx) in otx2_update_sq_stats()
113 void otx2_get_dev_stats(struct otx2_nic *pfvf) in otx2_get_dev_stats()
141 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_stats64() local
159 static int otx2_hw_set_mac_addr(struct otx2_nic *pfvf, u8 *mac) in otx2_hw_set_mac_addr()
[all …]
H A Dqos.c26 static void otx2_qos_update_tx_netdev_queues(struct otx2_nic *pfvf) in otx2_qos_update_tx_netdev_queues()
71 static int otx2_qos_quantum_to_dwrr_weight(struct otx2_nic *pfvf, u32 quantum) in otx2_qos_quantum_to_dwrr_weight()
82 static void otx2_config_sched_shaping(struct otx2_nic *pfvf, in otx2_config_sched_shaping()
136 static void __otx2_qos_txschq_cfg(struct otx2_nic *pfvf, in __otx2_qos_txschq_cfg()
197 static int otx2_qos_txschq_set_parent_topology(struct otx2_nic *pfvf, in otx2_qos_txschq_set_parent_topology()
238 static void otx2_qos_free_hw_node_schq(struct otx2_nic *pfvf, in otx2_qos_free_hw_node_schq()
247 static void otx2_qos_free_hw_node(struct otx2_nic *pfvf, in otx2_qos_free_hw_node()
259 static void otx2_qos_free_hw_cfg(struct otx2_nic *pfvf, in otx2_qos_free_hw_cfg()
274 static void otx2_qos_sw_node_delete(struct otx2_nic *pfvf, in otx2_qos_sw_node_delete()
288 static void otx2_qos_free_sw_node_schq(struct otx2_nic *pfvf, in otx2_qos_free_sw_node_schq()
[all …]
H A Dcn10k_macsec.c49 static int cn10k_ecb_aes_encrypt(struct otx2_nic *pfvf, u8 *sak, in cn10k_ecb_aes_encrypt()
139 static int cn10k_mcs_alloc_rsrc(struct otx2_nic *pfvf, enum mcs_direction dir, in cn10k_mcs_alloc_rsrc()
197 static void cn10k_mcs_free_rsrc(struct otx2_nic *pfvf, enum mcs_direction dir, in cn10k_mcs_free_rsrc()
237 static int cn10k_mcs_alloc_txsa(struct otx2_nic *pfvf, u16 *hw_sa_id) in cn10k_mcs_alloc_txsa()
242 static int cn10k_mcs_alloc_rxsa(struct otx2_nic *pfvf, u16 *hw_sa_id) in cn10k_mcs_alloc_rxsa()
247 static void cn10k_mcs_free_txsa(struct otx2_nic *pfvf, u16 hw_sa_id) in cn10k_mcs_free_txsa()
252 static void cn10k_mcs_free_rxsa(struct otx2_nic *pfvf, u16 hw_sa_id) in cn10k_mcs_free_rxsa()
257 static int cn10k_mcs_write_rx_secy(struct otx2_nic *pfvf, in cn10k_mcs_write_rx_secy()
309 static int cn10k_mcs_write_rx_flowid(struct otx2_nic *pfvf, in cn10k_mcs_write_rx_flowid()
355 static int cn10k_mcs_write_sc_cam(struct otx2_nic *pfvf, in cn10k_mcs_write_sc_cam()
[all …]
H A Dotx2_ethtool.c78 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_get_drvinfo() local
84 otx2_get_qset_strings(struct otx2_nic * pfvf,u8 ** data,int qset) otx2_get_qset_strings() argument
109 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_get_strings() local
136 otx2_get_qset_stats(struct otx2_nic * pfvf,struct ethtool_stats * stats,u64 ** data) otx2_get_qset_stats() argument
166 otx2_get_phy_fec_stats(struct otx2_nic * pfvf) otx2_get_phy_fec_stats() argument
187 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_get_ethtool_stats() local
242 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_get_sset_count() local
262 struct otx2_nic *pfvf = netdev_priv(dev); otx2_get_channels() local
275 struct otx2_nic *pfvf = netdev_priv(dev); otx2_set_channels() local
316 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_get_pauseparam() local
346 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_set_pauseparam() local
372 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_get_ringparam() local
388 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_set_ringparam() local
464 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_get_coalesce() local
488 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_set_coalesce() local
574 struct otx2_nic *pfvf = netdev_priv(dev); otx2_get_rss_hash_opts() local
628 struct otx2_nic *pfvf = netdev_priv(dev); otx2_set_rss_hash_opts() local
741 struct otx2_nic *pfvf = netdev_priv(dev); otx2_get_rxnfc() local
772 struct otx2_nic *pfvf = netdev_priv(dev); otx2_set_rxnfc() local
794 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_get_rxfh_key_size() local
812 struct otx2_nic *pfvf = netdev_priv(dev); otx2_create_rxfh() local
846 struct otx2_nic *pfvf = netdev_priv(dev); otx2_modify_rxfh() local
868 struct otx2_nic *pfvf = netdev_priv(dev); otx2_remove_rxfh() local
884 struct otx2_nic *pfvf = netdev_priv(dev); otx2_set_rxfh() local
917 struct otx2_nic *pfvf = netdev_priv(dev); otx2_get_rxfh() local
949 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_get_msglevel() local
956 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_set_msglevel() local
963 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_get_link() local
974 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_get_ts_info() local
996 otx2_get_fwdata(struct otx2_nic * pfvf) otx2_get_fwdata() argument
1024 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_get_fecparam() local
1051 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_set_fecparam() local
1205 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_get_link_ksettings() local
1297 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_get_fec_stats() local
1438 struct otx2_nic *pfvf = netdev_priv(netdev); otx2vf_get_link_ksettings() local
[all...]
H A Dqos_sq.c19 static void otx2_qos_aura_pool_free(struct otx2_nic *pfvf, int pool_id) in otx2_qos_aura_pool_free()
33 static int otx2_qos_sq_aura_pool_init(struct otx2_nic *pfvf, int qidx) in otx2_qos_sq_aura_pool_init()
116 static void otx2_qos_sq_free_sqbs(struct otx2_nic *pfvf, int qidx) in otx2_qos_sq_free_sqbs()
151 static void otx2_qos_sqb_flush(struct otx2_nic *pfvf, int qidx) in otx2_qos_sqb_flush()
166 static int otx2_qos_ctx_disable(struct otx2_nic *pfvf, u16 qidx, int aura_id) in otx2_qos_ctx_disable()
221 int otx2_qos_get_qid(struct otx2_nic *pfvf) in otx2_qos_get_qid()
231 void otx2_qos_free_qid(struct otx2_nic *pfvf, int qidx) in otx2_qos_free_qid()
236 int otx2_qos_enable_sq(struct otx2_nic *pfvf, int qidx) in otx2_qos_enable_sq()
260 static int otx2_qos_nix_npa_ndc_sync(struct otx2_nic *pfvf) in otx2_qos_nix_npa_ndc_sync()
280 void otx2_qos_disable_sq(struct otx2_nic *pfvf, int qidx) in otx2_qos_disable_sq()
H A Dotx2_txrx.c57 static int otx2_nix_cq_op_status(struct otx2_nic *pfvf, in otx2_nix_cq_op_status()
105 static void otx2_xdp_snd_pkt_handler(struct otx2_nic *pfvf, in otx2_xdp_snd_pkt_handler()
125 static void otx2_snd_pkt_handler(struct otx2_nic *pfvf, in otx2_snd_pkt_handler()
168 static void otx2_set_rxtstamp(struct otx2_nic *pfvf, in otx2_set_rxtstamp()
186 static bool otx2_skb_add_frag(struct otx2_nic *pfvf, struct sk_buff *skb, in otx2_skb_add_frag()
224 static void otx2_set_rxhash(struct otx2_nic *pfvf, in otx2_set_rxhash()
246 static void otx2_free_rcv_seg(struct otx2_nic *pfvf, struct nix_cqe_rx_s *cqe, in otx2_free_rcv_seg()
266 static bool otx2_check_rcv_errors(struct otx2_nic *pfvf, in otx2_check_rcv_errors()
330 static void otx2_rcv_pkt_handler(struct otx2_nic *pfvf, in otx2_rcv_pkt_handler()
393 static int otx2_rx_napi_handler(struct otx2_nic *pfvf, in otx2_rx_napi_handler()
[all …]
H A Dotx2_flows.c33 static void otx2_clear_ntuple_flow_info(struct otx2_nic *pfvf, struct otx2_flow_config *flow_cfg) in otx2_clear_ntuple_flow_info()
40 static int otx2_free_ntuple_mcam_entries(struct otx2_nic *pfvf) in otx2_free_ntuple_mcam_entries()
67 int otx2_alloc_mcam_entries(struct otx2_nic *pfvf, u16 count) in otx2_alloc_mcam_entries()
159 int otx2_mcam_entry_init(struct otx2_nic *pfvf) in otx2_mcam_entry_init()
266 int otx2vf_mcam_flow_init(struct otx2_nic *pfvf) in otx2vf_mcam_flow_init()
457 static struct otx2_flow *otx2_find_flow(struct otx2_nic *pfvf, u32 location) in otx2_find_flow()
469 static void otx2_add_flow_to_list(struct otx2_nic *pfvf, struct otx2_flow *flow) in otx2_add_flow_to_list()
497 int otx2_get_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, in otx2_get_flow()
516 int otx2_get_all_flows(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, in otx2_get_all_flows()
948 static int otx2_is_flow_rule_dmacfilter(struct otx2_nic *pfvf, in otx2_is_flow_rule_dmacfilter()
[all …]
H A Dotx2_ptp.c51 struct otx2_nic *pfvf = ptp->nic; in otx2_ptp_hw_adjtime() local
117 struct otx2_nic *pfvf = ptp->nic; in otx2_ptp_hw_settime() local
234 struct otx2_nic *pfvf = ptp->nic; in otx2_ptp_tc_adjtime() local
326 struct otx2_nic *pfvf = ptp->nic; in otx2_sync_tstamp() local
382 int otx2_ptp_init(struct otx2_nic *pfvf) in otx2_ptp_init()
487 void otx2_ptp_destroy(struct otx2_nic *pfvf) in otx2_ptp_destroy()
502 int otx2_ptp_clock_index(struct otx2_nic *pfvf) in otx2_ptp_clock_index()
511 int otx2_ptp_tstamp2time(struct otx2_nic *pfvf, u64 tstamp, u64 *tsns) in otx2_ptp_tstamp2time()
H A Dotx2_xsk.c17 int otx2_xsk_pool_alloc_buf(struct otx2_nic *pfvf, struct otx2_pool *pool, in otx2_xsk_pool_alloc_buf()
36 static int otx2_xsk_ctx_disable(struct otx2_nic *pfvf, u16 qidx, int aura_id) in otx2_xsk_ctx_disable()
91 static void otx2_clean_up_rq(struct otx2_nic *pfvf, int qidx) in otx2_clean_up_rq()
194 void otx2_attach_xsk_buff(struct otx2_nic *pfvf, struct otx2_snd_queue *sq, int qidx) in otx2_attach_xsk_buff()
200 static void otx2_xsk_sq_append_pkt(struct otx2_nic *pfvf, u64 iova, int len, in otx2_xsk_sq_append_pkt()
228 void otx2_zc_napi_handler(struct otx2_nic *pfvf, struct xsk_buff_pool *pool, in otx2_zc_napi_handler()
H A Dotx2_common.h175 struct otx2_nic *pfvf; member
629 static inline void otx2_setup_dev_hw_settings(struct otx2_nic *pfvf) in otx2_setup_dev_hw_settings() argument
781 __cn10k_aura_freeptr(struct otx2_nic * pfvf,u64 aura,u64 * ptrs,u64 num_ptrs) __cn10k_aura_freeptr() argument
815 struct otx2_nic *pfvf = dev; cn10k_aura_freeptr() local
826 otx2_aura_allocptr(struct otx2_nic * pfvf,int aura) otx2_aura_allocptr() argument
837 struct otx2_nic *pfvf = dev; otx2_aura_freeptr() local
843 otx2_get_pool_idx(struct otx2_nic * pfvf,int type,int idx) otx2_get_pool_idx() argument
938 otx2_dma_map_page(struct otx2_nic * pfvf,struct page * page,size_t offset,size_t size,enum dma_data_direction dir) otx2_dma_map_page() argument
947 otx2_dma_unmap_page(struct otx2_nic * pfvf,dma_addr_t addr,size_t size,enum dma_data_direction dir) otx2_dma_unmap_page() argument
955 otx2_get_smq_idx(struct otx2_nic * pfvf,u16 qidx) otx2_get_smq_idx() argument
975 otx2_get_total_tx_queues(struct otx2_nic * pfvf) otx2_get_total_tx_queues() argument
991 otx2_tc_flower_rule_cnt(struct otx2_nic * pfvf) otx2_tc_flower_rule_cnt() argument
1177 cn10k_mcs_init(struct otx2_nic * pfvf) cn10k_mcs_init() argument
1178 cn10k_mcs_free(struct otx2_nic * pfvf) cn10k_mcs_free() argument
1179 cn10k_handle_mcs_event(struct otx2_nic * pfvf,struct mcs_intr_info * event) cn10k_handle_mcs_event() argument
1185 otx2_qos_init(struct otx2_nic * pfvf,int qos_txqs) otx2_qos_init() argument
1194 otx2_shutdown_qos(struct otx2_nic * pfvf) otx2_shutdown_qos() argument
[all...]
H A Dcn10k.h13 static inline int mtu_to_dwrr_weight(struct otx2_nic *pfvf, int mtu) in mtu_to_dwrr_weight()
H A Dotx2_devlink.h13 struct otx2_nic *pfvf; member
H A Dotx2_pf.c1276 int otx2_reset_mac_stats(struct otx2_nic *pfvf) in otx2_reset_mac_stats() argument
1830 otx2_promisc_use_mce_list(struct otx2_nic * pfvf) otx2_promisc_use_mce_list() argument
1884 otx2_set_irq_coalesce(struct otx2_nic * pfvf) otx2_set_irq_coalesce() argument
1896 struct otx2_nic *pfvf; otx2_dim_work() local
2384 otx2_config_hw_rx_tstamp(struct otx2_nic * pfvf,bool enable) otx2_config_hw_rx_tstamp() argument
2416 otx2_config_hw_tx_tstamp(struct otx2_nic * pfvf,bool enable) otx2_config_hw_tx_tstamp() argument
2451 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_config_hwtstamp_get() local
2462 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_config_hwtstamp_set() local
[all...]
H A Dcn10k_ipsec.h251 otx2_sqe_add_sg_ipsec(struct otx2_nic *pfvf, struct otx2_snd_queue *sq, in otx2_sqe_add_sg_ipsec()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu.c341 static void rvu_update_rsrc_map(struct rvu *rvu, struct rvu_pfvf *pfvf, in rvu_update_rsrc_map() argument
550 struct rvu_pfvf *pfvf; rvu_scan_block() local
605 struct rvu_pfvf *pfvf; rvu_setup_msix_resources() local
722 struct rvu_pfvf *pfvf; rvu_free_hw_resources() local
769 struct rvu_pfvf *pfvf; rvu_setup_pfvf_macaddress() local
1253 rvu_get_rsrc_mapcount(struct rvu_pfvf * pfvf,int blkaddr) rvu_get_rsrc_mapcount() argument
1276 is_blktype_attached(struct rvu_pfvf * pfvf,int blktype) is_blktype_attached() argument
1298 struct rvu_pfvf *pfvf; is_pffunc_map_valid() local
1336 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); rvu_get_blkaddr_from_slot() local
1389 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); rvu_detach_block() local
1486 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); rvu_get_nix_blkaddr() local
1557 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); rvu_attach_block() local
1597 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); rvu_check_rsrc_availability() local
1825 rvu_get_msix_offset(struct rvu * rvu,struct rvu_pfvf * pfvf,int blkaddr,int lf) rvu_get_msix_offset() argument
1840 rvu_set_msix_offset(struct rvu * rvu,struct rvu_pfvf * pfvf,struct rvu_block * block,int lf) rvu_set_msix_offset() argument
1865 rvu_clear_msix_offset(struct rvu * rvu,struct rvu_pfvf * pfvf,struct rvu_block * block,int lf) rvu_clear_msix_offset() argument
1894 struct rvu_pfvf *pfvf; rvu_mbox_handler_msix_offset() local
2092 struct rvu_pfvf *pfvf; rvu_mbox_handler_set_vf_perm() local
3043 struct rvu_pfvf *pfvf = &rvu->pf[0]; rvu_afvf_msix_vectors_num_ok() local
[all...]
H A Drvu_switch.c13 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_switch_enable_lbk_link() local
27 struct rvu_pfvf *pfvf; in rvu_switch_install_rx_rule() local
55 struct rvu_pfvf *pfvf; in rvu_switch_install_tx_rule() local
H A Drvu_sdp.c56 struct rvu_pfvf *pfvf; in rvu_sdp_init() local
97 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_mbox_handler_set_sdp_chan_info() local
H A Drvu_npc.c64 void rvu_npc_set_pkind(struct rvu *rvu, int pkind, struct rvu_pfvf *pfvf) in rvu_npc_set_pkind()
129 struct rvu_pfvf *pfvf; in npc_get_ucast_mcam_index() local
394 struct rvu_pfvf *pfvf; in npc_fixup_vf_rule() local
605 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_install_ucast_entry() local
660 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_install_promisc_entry() local
766 struct rvu_pfvf *pfvf; in rvu_npc_install_bcast_match_entry() local
835 struct rvu_pfvf *pfvf; in rvu_npc_install_allmulti_entry() local
975 struct rvu_pfvf *pfvf, int mcam_index, int blkaddr, in npc_update_rx_action_with_alg_idx()
1008 struct rvu_pfvf *pfvf; in rvu_npc_update_flowkey_alg_idx() local
1080 struct rvu_pfvf *pfvf; in npc_enadis_default_mce_entry() local
[all …]
H A Drvu_cn10k.c115 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_update_lmtaddr() local
152 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_mbox_handler_lmtst_tbl_setup() local
256 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_reset_lmt_map_tbl() local
H A Drvu_npc_fs.c1132 static int npc_update_rx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, in npc_update_rx_entry()
1193 static int npc_update_tx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, in npc_update_tx_entry()
1238 int nixlf, struct rvu_pfvf *pfvf, in npc_install_flow()
1404 struct rvu_pfvf *pfvf; in rvu_mbox_handler_npc_install_flow() local
1602 struct rvu_pfvf *pfvf) in npc_update_dmac_value()
1633 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, target); in npc_mcam_enable_flows() local
H A Drvu_cgx.c111 struct rvu_pfvf *pfvf = &rvu->pf[pf]; in rvu_map_cgx_nix_block() local
685 struct rvu_pfvf *pfvf; in rvu_mbox_handler_cgx_mac_addr_set() local
775 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_get() local
825 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_cgx_ptp_rx_cfg() local
1128 struct rvu_pfvf *parent_pf, *pfvf; in rvu_cgx_start_stop_io() local
H A Drvu_npc_hash.c1565 struct rvu_pfvf *pfvf; in rvu_npc_exact_mac_addr_reset() local
1599 struct rvu_pfvf *pfvf; in rvu_npc_exact_mac_addr_update() local
1679 struct rvu_pfvf *pfvf; in rvu_npc_exact_mac_addr_add() local
1741 struct rvu_pfvf *pfvf; in rvu_npc_exact_mac_addr_set() local
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dsmt.h60 u16 pfvf; member
H A Dsmt.c209 static struct smt_entry *t4_smt_alloc_switching(struct adapter *adap, u16 pfvf, in t4_smt_alloc_switching()
/linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/
H A Dmbox_init.c391 int rvu_alloc_cint_qint_mem(struct rvu *rvu, struct rvu_pfvf *pfvf, in rvu_alloc_cint_qint_mem()

12