Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A 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()
112 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_strings() local
150 static void otx2_get_qset_stats(struct otx2_nic *pfvf, in otx2_get_qset_stats()
180 static int otx2_get_phy_fec_stats(struct otx2_nic *pfvf) in otx2_get_phy_fec_stats()
201 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_ethtool_stats() local
256 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_sset_count() local
276 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_get_channels() local
289 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_set_channels() local
330 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_pauseparam() local
[all …]
H A Dcn10k_macsec.c49 static int cn10k_ecb_aes_encrypt(struct otx2_nic *pfvf, u8 *sak, in cn10k_ecb_aes_encrypt()
141 static int cn10k_mcs_alloc_rsrc(struct otx2_nic *pfvf, enum mcs_direction dir, in cn10k_mcs_alloc_rsrc()
199 static void cn10k_mcs_free_rsrc(struct otx2_nic *pfvf, enum mcs_direction dir, in cn10k_mcs_free_rsrc()
239 static int cn10k_mcs_alloc_txsa(struct otx2_nic *pfvf, u16 *hw_sa_id) in cn10k_mcs_alloc_txsa()
244 static int cn10k_mcs_alloc_rxsa(struct otx2_nic *pfvf, u16 *hw_sa_id) in cn10k_mcs_alloc_rxsa()
249 static void cn10k_mcs_free_txsa(struct otx2_nic *pfvf, u16 hw_sa_id) in cn10k_mcs_free_txsa()
254 static void cn10k_mcs_free_rxsa(struct otx2_nic *pfvf, u16 hw_sa_id) in cn10k_mcs_free_rxsa()
259 static int cn10k_mcs_write_rx_secy(struct otx2_nic *pfvf, in cn10k_mcs_write_rx_secy()
311 static int cn10k_mcs_write_rx_flowid(struct otx2_nic *pfvf, in cn10k_mcs_write_rx_flowid()
357 static int cn10k_mcs_write_sc_cam(struct otx2_nic *pfvf, in cn10k_mcs_write_sc_cam()
[all …]
H A Dotx2_dcbnl.c10 static int otx2_check_pfc_config(struct otx2_nic *pfvf) in otx2_check_pfc_config()
28 int otx2_pfc_txschq_config(struct otx2_nic *pfvf) in otx2_pfc_txschq_config()
59 static int otx2_pfc_txschq_alloc_one(struct otx2_nic *pfvf, u8 prio) in otx2_pfc_txschq_alloc_one()
104 int otx2_pfc_txschq_alloc(struct otx2_nic *pfvf) in otx2_pfc_txschq_alloc()
128 static int otx2_pfc_txschq_stop_one(struct otx2_nic *pfvf, u8 prio) in otx2_pfc_txschq_stop_one()
141 static int otx2_pfc_update_sq_smq_mapping(struct otx2_nic *pfvf, int prio) in otx2_pfc_update_sq_smq_mapping()
199 int otx2_pfc_txschq_update(struct otx2_nic *pfvf) in otx2_pfc_txschq_update()
267 int otx2_pfc_txschq_stop(struct otx2_nic *pfvf) in otx2_pfc_txschq_stop()
290 int otx2_config_priority_flow_ctrl(struct otx2_nic *pfvf) in otx2_config_priority_flow_ctrl()
330 void otx2_update_bpid_in_rqctx(struct otx2_nic *pfvf, int vlan_prio, int qidx, in otx2_update_bpid_in_rqctx()
[all …]
H A 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
112 struct otx2_nic *pfvf = dev; in cn10k_refill_pool_ptrs() local
141 struct otx2_nic *pfvf = dev; in cn10k_sqe_flush() local
163 int cn10k_free_all_ipolicers(struct otx2_nic *pfvf) in cn10k_free_all_ipolicers()
188 int cn10k_alloc_leaf_profile(struct otx2_nic *pfvf, u16 *leaf) in cn10k_alloc_leaf_profile()
221 int cn10k_alloc_matchall_ipolicer(struct otx2_nic *pfvf) in cn10k_alloc_matchall_ipolicer()
301 int cn10k_map_unmap_rq_policer(struct otx2_nic *pfvf, int rq_idx, in cn10k_map_unmap_rq_policer()
328 int cn10k_free_leaf_profile(struct otx2_nic *pfvf, u16 leaf) in cn10k_free_leaf_profile()
342 int cn10k_free_matchall_ipolicer(struct otx2_nic *pfvf) in cn10k_free_matchall_ipolicer()
[all …]
H A Dotx2_txrx.c35 static int otx2_nix_cq_op_status(struct otx2_nic *pfvf, in otx2_nix_cq_op_status()
83 static dma_addr_t otx2_dma_map_skb_frag(struct otx2_nic *pfvf, in otx2_dma_map_skb_frag()
104 static void otx2_dma_unmap_skb_frags(struct otx2_nic *pfvf, struct sg_list *sg) in otx2_dma_unmap_skb_frags()
115 static void otx2_xdp_snd_pkt_handler(struct otx2_nic *pfvf, in otx2_xdp_snd_pkt_handler()
133 static void otx2_snd_pkt_handler(struct otx2_nic *pfvf, in otx2_snd_pkt_handler()
176 static void otx2_set_rxtstamp(struct otx2_nic *pfvf, in otx2_set_rxtstamp()
194 static bool otx2_skb_add_frag(struct otx2_nic *pfvf, struct sk_buff *skb, in otx2_skb_add_frag()
232 static void otx2_set_rxhash(struct otx2_nic *pfvf, in otx2_set_rxhash()
254 static void otx2_free_rcv_seg(struct otx2_nic *pfvf, struct nix_cqe_rx_s *cqe, in otx2_free_rcv_seg()
274 static bool otx2_check_rcv_errors(struct otx2_nic *pfvf, in otx2_check_rcv_errors()
[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()
72 int otx2_alloc_mcam_entries(struct otx2_nic *pfvf, u16 count) in otx2_alloc_mcam_entries()
162 int otx2_mcam_entry_init(struct otx2_nic *pfvf) in otx2_mcam_entry_init()
261 int otx2vf_mcam_flow_init(struct otx2_nic *pfvf) in otx2vf_mcam_flow_init()
451 static struct otx2_flow *otx2_find_flow(struct otx2_nic *pfvf, u32 location) in otx2_find_flow()
463 static void otx2_add_flow_to_list(struct otx2_nic *pfvf, struct otx2_flow *flow) in otx2_add_flow_to_list()
491 int otx2_get_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, in otx2_get_flow()
510 int otx2_get_all_flows(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, in otx2_get_all_flows()
942 static int otx2_is_flow_rule_dmacfilter(struct otx2_nic *pfvf, in otx2_is_flow_rule_dmacfilter()
[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()
165 static int otx2_qos_ctx_disable(struct otx2_nic *pfvf, u16 qidx, int aura_id) in otx2_qos_ctx_disable()
220 int otx2_qos_get_qid(struct otx2_nic *pfvf) in otx2_qos_get_qid()
230 void otx2_qos_free_qid(struct otx2_nic *pfvf, int qidx) in otx2_qos_free_qid()
235 int otx2_qos_enable_sq(struct otx2_nic *pfvf, int qidx) in otx2_qos_enable_sq()
259 void otx2_qos_disable_sq(struct otx2_nic *pfvf, int qidx) in otx2_qos_disable_sq()
H A Dotx2_devlink.c15 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_mcam_count_validate() local
39 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
72 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_ucast_flt_cnt_set() local
89 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_ucast_flt_cnt_get() local
101 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_ucast_flt_cnt_validate() local
147 int otx2_register_dl(struct otx2_nic *pfvf) in otx2_register_dl()
182 void otx2_unregister_dl(struct otx2_nic *pfvf) in otx2_unregister_dl()
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_common.h181 struct otx2_nic *pfvf; member
579 static inline void otx2_setup_dev_hw_settings(struct otx2_nic *pfvf) in otx2_setup_dev_hw_settings()
726 static inline void __cn10k_aura_freeptr(struct otx2_nic *pfvf, u64 aura, in __cn10k_aura_freeptr()
760 struct otx2_nic *pfvf = dev; in cn10k_aura_freeptr() local
771 static inline u64 otx2_aura_allocptr(struct otx2_nic *pfvf, int aura) in otx2_aura_allocptr()
782 struct otx2_nic *pfvf = dev; in otx2_aura_freeptr() local
788 static inline int otx2_get_pool_idx(struct otx2_nic *pfvf, int type, int idx) in otx2_get_pool_idx()
891 static inline dma_addr_t otx2_dma_map_page(struct otx2_nic *pfvf, in otx2_dma_map_page()
905 static inline void otx2_dma_unmap_page(struct otx2_nic *pfvf, in otx2_dma_unmap_page()
913 static inline u16 otx2_get_smq_idx(struct otx2_nic *pfvf, u16 qidx) in otx2_get_smq_idx()
[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.c1149 int otx2_reset_mac_stats(struct otx2_nic *pfvf) in otx2_reset_mac_stats()
1692 static bool otx2_promisc_use_mce_list(struct otx2_nic *pfvf) in otx2_promisc_use_mce_list()
1746 static void otx2_set_irq_coalesce(struct otx2_nic *pfvf) in otx2_set_irq_coalesce()
1758 struct otx2_nic *pfvf; in otx2_dim_work() local
2219 static int otx2_config_hw_rx_tstamp(struct otx2_nic *pfvf, bool enable) in otx2_config_hw_rx_tstamp()
2251 static int otx2_config_hw_tx_tstamp(struct otx2_nic *pfvf, bool enable) in otx2_config_hw_tx_tstamp()
2285 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_config_hwtstamp() local
2350 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_ioctl() local
H A Dotx2_dmac_flt.c89 static int otx2_dmacflt_do_remove(struct otx2_nic *pfvf, const u8 *mac, in otx2_dmacflt_do_remove()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npa.c70 struct rvu_pfvf *pfvf; in rvu_npa_aq_enq_inst() local
212 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in npa_lf_hwctx_disable() local
309 static void npa_ctx_free(struct rvu *rvu, struct rvu_pfvf *pfvf) in npa_ctx_free()
335 struct rvu_pfvf *pfvf; in rvu_mbox_handler_npa_lf_alloc() local
441 struct rvu_pfvf *pfvf; in rvu_mbox_handler_npa_lf_free() local
543 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npa_lf_teardown() local
H A Drvu.c341 static void rvu_update_rsrc_map(struct rvu *rvu, struct rvu_pfvf *pfvf, in rvu_update_rsrc_map()
555 struct rvu_pfvf *pfvf; in rvu_scan_block() local
610 struct rvu_pfvf *pfvf; in rvu_setup_msix_resources() local
727 struct rvu_pfvf *pfvf; in rvu_free_hw_resources() local
769 struct rvu_pfvf *pfvf; in rvu_setup_pfvf_macaddress() local
1249 u16 rvu_get_rsrc_mapcount(struct rvu_pfvf *pfvf, int blkaddr) in rvu_get_rsrc_mapcount()
1272 static bool is_blktype_attached(struct rvu_pfvf *pfvf, int blktype) in is_blktype_attached()
1294 struct rvu_pfvf *pfvf; in is_pffunc_map_valid() local
1332 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_get_blkaddr_from_slot() local
1385 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_detach_block() 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_nix.c109 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in is_nixlf_attached() local
134 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_get_nixlf() local
155 struct rvu_pfvf *pfvf; in nix_get_struct_ptrs() local
330 struct rvu_pfvf *parent_pf, *pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_interface_init() local
481 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_interface_deinit() local
577 struct rvu_pfvf *pfvf; in rvu_mbox_handler_nix_bp_disable() local
620 struct rvu_pfvf *pfvf; in rvu_nix_get_bpid() local
700 struct rvu_pfvf *pfvf; in rvu_mbox_handler_nix_bp_enable() local
847 static void nix_ctx_free(struct rvu *rvu, struct rvu_pfvf *pfvf) in nix_ctx_free()
877 struct rvu_pfvf *pfvf, int nixlf, in nixlf_rss_ctx_init()
[all …]
H A Drvu_cn10k.c101 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_update_lmtaddr() local
138 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_mbox_handler_lmtst_tbl_setup() local
242 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_reset_lmt_map_tbl() local
H A Drvu_npc_fs.c1150 static int npc_update_rx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, in npc_update_rx_entry()
1211 static int npc_update_tx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, in npc_update_tx_entry()
1256 int nixlf, struct rvu_pfvf *pfvf, in npc_install_flow()
1421 struct rvu_pfvf *pfvf; in rvu_mbox_handler_npc_install_flow() local
1614 struct rvu_pfvf *pfvf) in npc_update_dmac_value()
1645 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, target); in npc_mcam_enable_flows() local
H A Drvu_debugfs.c845 struct rvu_pfvf *pfvf; in rvu_dbg_rvu_pf_cgx_map_display() local
916 static void print_npa_qsize(struct seq_file *m, struct rvu_pfvf *pfvf) in print_npa_qsize()
953 struct rvu_pfvf *pfvf; in rvu_dbg_qsize_display() local
1164 struct rvu_pfvf *pfvf; in rvu_dbg_npa_ctx_display() local
1247 struct rvu_pfvf *pfvf; in write_npa_ctx() local
1646 struct rvu_pfvf *pfvf; in rvu_dbg_nix_tm_tree_display() local
1689 struct rvu_pfvf *pfvf; in rvu_dbg_nix_tm_tree_write() local
1946 struct rvu_pfvf *pfvf; in rvu_dbg_nix_tm_topo_write() local
2245 struct rvu_pfvf *pfvf; in rvu_dbg_nix_queue_ctx_display() local
2328 struct rvu_pfvf *pfvf; in write_nix_queue_ctx() local
[all …]
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()

12