Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.c18 struct otx2_nic *pfvf, int qidx) in otx2_nix_rq_op_stats()
31 struct otx2_nic *pfvf, int qidx) in otx2_nix_sq_op_stats()
43 void otx2_update_lmac_stats(struct otx2_nic *pfvf) in otx2_update_lmac_stats()
61 void otx2_update_lmac_fec_stats(struct otx2_nic *pfvf) in otx2_update_lmac_fec_stats()
74 int otx2_update_rq_stats(struct otx2_nic *pfvf, int qidx) in otx2_update_rq_stats()
85 int otx2_update_sq_stats(struct otx2_nic *pfvf, int qidx) in otx2_update_sq_stats()
96 void otx2_get_dev_stats(struct otx2_nic *pfvf) in otx2_get_dev_stats()
127 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_stats64() local
145 static int otx2_hw_set_mac_addr(struct otx2_nic *pfvf, u8 *mac) in otx2_hw_set_mac_addr()
164 static int otx2_hw_get_mac_addr(struct otx2_nic *pfvf, in otx2_hw_get_mac_addr()
[all …]
Dotx2_ethtool.c77 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_drvinfo() local
83 static void otx2_get_qset_strings(struct otx2_nic *pfvf, u8 **data, int qset) in otx2_get_qset_strings()
106 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_strings() local
142 static void otx2_get_qset_stats(struct otx2_nic *pfvf, in otx2_get_qset_stats()
172 static int otx2_get_phy_fec_stats(struct otx2_nic *pfvf) in otx2_get_phy_fec_stats()
193 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_ethtool_stats() local
244 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_sset_count() local
263 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_get_channels() local
276 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_set_channels() local
313 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_pauseparam() local
[all …]
Dcn10k.c26 int cn10k_lmtst_init(struct otx2_nic *pfvf) in cn10k_lmtst_init()
78 struct otx2_nic *pfvf = dev; in cn10k_sq_aq_init() local
113 struct otx2_nic *pfvf = dev; in cn10k_refill_pool_ptrs() local
140 struct otx2_nic *pfvf = dev; in cn10k_sqe_flush() local
162 int cn10k_free_all_ipolicers(struct otx2_nic *pfvf) in cn10k_free_all_ipolicers()
187 int cn10k_alloc_leaf_profile(struct otx2_nic *pfvf, u16 *leaf) in cn10k_alloc_leaf_profile()
220 int cn10k_alloc_matchall_ipolicer(struct otx2_nic *pfvf) in cn10k_alloc_matchall_ipolicer()
300 int cn10k_map_unmap_rq_policer(struct otx2_nic *pfvf, int rq_idx, in cn10k_map_unmap_rq_policer()
327 int cn10k_free_leaf_profile(struct otx2_nic *pfvf, u16 leaf) in cn10k_free_leaf_profile()
341 int cn10k_free_matchall_ipolicer(struct otx2_nic *pfvf) in cn10k_free_matchall_ipolicer()
[all …]
Dotx2_txrx.c44 static dma_addr_t otx2_dma_map_skb_frag(struct otx2_nic *pfvf, in otx2_dma_map_skb_frag()
65 static void otx2_dma_unmap_skb_frags(struct otx2_nic *pfvf, struct sg_list *sg) in otx2_dma_unmap_skb_frags()
76 static void otx2_snd_pkt_handler(struct otx2_nic *pfvf, in otx2_snd_pkt_handler()
118 static void otx2_set_rxtstamp(struct otx2_nic *pfvf, in otx2_set_rxtstamp()
135 static void otx2_skb_add_frag(struct otx2_nic *pfvf, struct sk_buff *skb, in otx2_skb_add_frag()
164 static void otx2_set_rxhash(struct otx2_nic *pfvf, in otx2_set_rxhash()
186 static void otx2_free_rcv_seg(struct otx2_nic *pfvf, struct nix_cqe_rx_s *cqe, in otx2_free_rcv_seg()
206 static bool otx2_check_rcv_errors(struct otx2_nic *pfvf, in otx2_check_rcv_errors()
270 static void otx2_rcv_pkt_handler(struct otx2_nic *pfvf, in otx2_rcv_pkt_handler()
314 static int otx2_rx_napi_handler(struct otx2_nic *pfvf, in otx2_rx_napi_handler()
[all …]
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()
72 int otx2_alloc_mcam_entries(struct otx2_nic *pfvf, u16 count) in otx2_alloc_mcam_entries()
162 static int otx2_mcam_entry_init(struct otx2_nic *pfvf) in otx2_mcam_entry_init()
233 int otx2vf_mcam_flow_init(struct otx2_nic *pfvf) in otx2vf_mcam_flow_init()
407 static struct otx2_flow *otx2_find_flow(struct otx2_nic *pfvf, u32 location) in otx2_find_flow()
419 static void otx2_add_flow_to_list(struct otx2_nic *pfvf, struct otx2_flow *flow) in otx2_add_flow_to_list()
447 int otx2_get_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, in otx2_get_flow()
466 int otx2_get_all_flows(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, in otx2_get_all_flows()
873 static int otx2_is_flow_rule_dmacfilter(struct otx2_nic *pfvf, in otx2_is_flow_rule_dmacfilter()
[all …]
Dotx2_ptp.c62 struct otx2_nic *pfvf = ptp->nic; in otx2_ptp_adjtime() local
76 struct otx2_nic *pfvf = ptp->nic; in otx2_ptp_gettime() local
93 struct otx2_nic *pfvf = ptp->nic; in otx2_ptp_settime() local
111 int otx2_ptp_init(struct otx2_nic *pfvf) in otx2_ptp_init()
180 void otx2_ptp_destroy(struct otx2_nic *pfvf) in otx2_ptp_destroy()
192 int otx2_ptp_clock_index(struct otx2_nic *pfvf) in otx2_ptp_clock_index()
200 int otx2_ptp_tstamp2time(struct otx2_nic *pfvf, u64 tstamp, u64 *tsns) in otx2_ptp_tstamp2time()
Dotx2_devlink.c15 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_mcam_count_validate() local
38 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_mcam_count_set() local
53 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_mcam_count_get() local
86 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_devlink_info_get() local
98 int otx2_register_dl(struct otx2_nic *pfvf) in otx2_register_dl()
141 void otx2_unregister_dl(struct otx2_nic *pfvf) in otx2_unregister_dl()
Dcn10k.h13 static inline int mtu_to_dwrr_weight(struct otx2_nic *pfvf, int mtu) in mtu_to_dwrr_weight()
Dotx2_devlink.h13 struct otx2_nic *pfvf; member
Dotx2_common.h162 struct otx2_nic *pfvf; member
427 static inline void otx2_setup_dev_hw_settings(struct otx2_nic *pfvf) in otx2_setup_dev_hw_settings()
568 static inline void __cn10k_aura_freeptr(struct otx2_nic *pfvf, u64 aura, in __cn10k_aura_freeptr()
601 struct otx2_nic *pfvf = dev; in cn10k_aura_freeptr() local
610 static inline u64 otx2_aura_allocptr(struct otx2_nic *pfvf, int aura) in otx2_aura_allocptr()
622 struct otx2_nic *pfvf = dev; in otx2_aura_freeptr() local
628 static inline int otx2_get_pool_idx(struct otx2_nic *pfvf, int type, int idx) in otx2_get_pool_idx()
730 static inline dma_addr_t otx2_dma_map_page(struct otx2_nic *pfvf, in otx2_dma_map_page()
744 static inline void otx2_dma_unmap_page(struct otx2_nic *pfvf, in otx2_dma_unmap_page()
Dotx2_dmac_flt.c73 static int otx2_dmacflt_do_remove(struct otx2_nic *pfvf, const u8 *mac, in otx2_dmacflt_do_remove()
Dotx2_pf.c1906 static int otx2_config_hw_rx_tstamp(struct otx2_nic *pfvf, bool enable) in otx2_config_hw_rx_tstamp()
1938 static int otx2_config_hw_tx_tstamp(struct otx2_nic *pfvf, bool enable) in otx2_config_hw_tx_tstamp()
1972 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_config_hwtstamp() local
2029 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_ioctl() local
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npa.c61 struct rvu_pfvf *pfvf; in rvu_npa_aq_enq_inst() local
203 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in npa_lf_hwctx_disable() local
300 static void npa_ctx_free(struct rvu *rvu, struct rvu_pfvf *pfvf) in npa_ctx_free()
326 struct rvu_pfvf *pfvf; in rvu_mbox_handler_npa_lf_alloc() local
432 struct rvu_pfvf *pfvf; in rvu_mbox_handler_npa_lf_free() local
534 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npa_lf_teardown() local
Drvu.c336 static void rvu_update_rsrc_map(struct rvu *rvu, struct rvu_pfvf *pfvf, in rvu_update_rsrc_map()
547 struct rvu_pfvf *pfvf; in rvu_scan_block() local
602 struct rvu_pfvf *pfvf; in rvu_setup_msix_resources() local
719 struct rvu_pfvf *pfvf; in rvu_free_hw_resources() local
761 struct rvu_pfvf *pfvf; in rvu_setup_pfvf_macaddress() local
1210 u16 rvu_get_rsrc_mapcount(struct rvu_pfvf *pfvf, int blkaddr) in rvu_get_rsrc_mapcount()
1233 static bool is_blktype_attached(struct rvu_pfvf *pfvf, int blktype) in is_blktype_attached()
1255 struct rvu_pfvf *pfvf; in is_pffunc_map_valid() local
1292 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_detach_block() local
1387 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_get_nix_blkaddr() local
[all …]
Drvu_sdp.c52 struct rvu_pfvf *pfvf; in rvu_sdp_init() local
82 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_mbox_handler_set_sdp_chan_info() local
Drvu_nix.c99 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in is_nixlf_attached() local
124 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_get_nixlf() local
145 struct rvu_pfvf *pfvf; in nix_get_struct_ptrs() local
293 struct rvu_pfvf *parent_pf, *pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_interface_init() local
452 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_interface_deinit() local
478 struct rvu_pfvf *pfvf; in rvu_mbox_handler_nix_bp_disable() local
506 struct rvu_pfvf *pfvf; in rvu_nix_get_bpid() local
580 struct rvu_pfvf *pfvf; in rvu_mbox_handler_nix_bp_enable() local
727 static void nix_ctx_free(struct rvu *rvu, struct rvu_pfvf *pfvf) in nix_ctx_free()
757 struct rvu_pfvf *pfvf, int nixlf, in nixlf_rss_ctx_init()
[all …]
Drvu_switch.c16 struct rvu_pfvf *pfvf; in rvu_switch_install_rx_rule() local
44 struct rvu_pfvf *pfvf; in rvu_switch_install_tx_rule() local
Drvu_cn10k.c98 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_update_lmtaddr() local
135 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_mbox_handler_lmtst_tbl_setup() local
239 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_reset_lmt_map_tbl() local
Drvu_npc.c85 void rvu_npc_set_pkind(struct rvu *rvu, int pkind, struct rvu_pfvf *pfvf) in rvu_npc_set_pkind()
150 struct rvu_pfvf *pfvf; in npc_get_ucast_mcam_index() local
406 struct rvu_pfvf *pfvf; in npc_fixup_vf_rule() local
597 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_install_ucast_entry() local
647 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_install_promisc_entry() local
750 struct rvu_pfvf *pfvf; in rvu_npc_install_bcast_match_entry() local
829 struct rvu_pfvf *pfvf; in rvu_npc_install_allmulti_entry() local
956 struct rvu_pfvf *pfvf; in rvu_npc_update_flowkey_alg_idx() local
1027 struct rvu_pfvf *pfvf; in npc_enadis_default_mce_entry() local
1103 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_disable_mcam_entries() local
[all …]
Drvu_npc_fs.c936 static void npc_update_rx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, in npc_update_rx_entry()
975 static void npc_update_tx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, in npc_update_tx_entry()
1012 int nixlf, struct rvu_pfvf *pfvf, in npc_install_flow()
1158 struct rvu_pfvf *pfvf; in rvu_mbox_handler_npc_install_flow() local
1317 struct rvu_pfvf *pfvf) in npc_update_dmac_value()
1348 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, target); in npc_mcam_enable_flows() local
Drvu_debugfs.c408 struct rvu_pfvf *pfvf; in rvu_dbg_rvu_pf_cgx_map_display() local
474 static void print_npa_qsize(struct seq_file *m, struct rvu_pfvf *pfvf) in print_npa_qsize()
511 struct rvu_pfvf *pfvf; in rvu_dbg_qsize_display() local
724 struct rvu_pfvf *pfvf; in rvu_dbg_npa_ctx_display() local
802 struct rvu_pfvf *pfvf; in write_npa_ctx() local
1418 struct rvu_pfvf *pfvf; in rvu_dbg_nix_queue_ctx_display() local
1501 struct rvu_pfvf *pfvf; in write_nix_queue_ctx() local
1670 static void print_nix_qsize(struct seq_file *filp, struct rvu_pfvf *pfvf) in print_nix_qsize()
Drvu_cpt.c205 struct rvu_pfvf *pfvf; in is_valid_offset() local
Drvu_cgx.c108 struct rvu_pfvf *pfvf = &rvu->pf[pf]; in rvu_map_cgx_nix_block() local
941 struct rvu_pfvf *parent_pf, *pfvf; in rvu_cgx_start_stop_io() local
/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb4/
Dsmt.h60 u16 pfvf; member
Dsmt.c209 static struct smt_entry *t4_smt_alloc_switching(struct adapter *adap, u16 pfvf, in t4_smt_alloc_switching()

12