/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_common.c | 18 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() 122 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_stats64() local 140 static int otx2_hw_set_mac_addr(struct otx2_nic *pfvf, u8 *mac) in otx2_hw_set_mac_addr() 159 static int otx2_hw_get_mac_addr(struct otx2_nic *pfvf, in otx2_hw_get_mac_addr() [all …]
|
D | cn10k_macsec.c | 90 static int cn10k_mcs_alloc_rsrc(struct otx2_nic *pfvf, enum mcs_direction dir, in cn10k_mcs_alloc_rsrc() 148 static void cn10k_mcs_free_rsrc(struct otx2_nic *pfvf, enum mcs_direction dir, in cn10k_mcs_free_rsrc() 179 static int cn10k_mcs_alloc_txsa(struct otx2_nic *pfvf, u16 *hw_sa_id) in cn10k_mcs_alloc_txsa() 184 static int cn10k_mcs_alloc_rxsa(struct otx2_nic *pfvf, u16 *hw_sa_id) in cn10k_mcs_alloc_rxsa() 189 static void cn10k_mcs_free_txsa(struct otx2_nic *pfvf, u16 hw_sa_id) in cn10k_mcs_free_txsa() 194 static void cn10k_mcs_free_rxsa(struct otx2_nic *pfvf, u16 hw_sa_id) in cn10k_mcs_free_rxsa() 199 static int cn10k_mcs_write_rx_secy(struct otx2_nic *pfvf, in cn10k_mcs_write_rx_secy() 236 static int cn10k_mcs_write_rx_flowid(struct otx2_nic *pfvf, in cn10k_mcs_write_rx_flowid() 275 static int cn10k_mcs_write_sc_cam(struct otx2_nic *pfvf, in cn10k_mcs_write_sc_cam() 302 static int cn10k_mcs_write_rx_sa_plcy(struct otx2_nic *pfvf, in cn10k_mcs_write_rx_sa_plcy() [all …]
|
D | otx2_ethtool.c | 77 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 144 static void otx2_get_qset_stats(struct otx2_nic *pfvf, in otx2_get_qset_stats() 174 static int otx2_get_phy_fec_stats(struct otx2_nic *pfvf) in otx2_get_phy_fec_stats() 195 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_ethtool_stats() local 250 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_sset_count() local 270 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_get_channels() local 283 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_set_channels() local 320 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_pauseparam() local [all …]
|
D | otx2_dcbnl.c | 10 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() 58 static int otx2_pfc_txschq_alloc_one(struct otx2_nic *pfvf, u8 prio) in otx2_pfc_txschq_alloc_one() 103 int otx2_pfc_txschq_alloc(struct otx2_nic *pfvf) in otx2_pfc_txschq_alloc() 126 static int otx2_pfc_txschq_stop_one(struct otx2_nic *pfvf, u8 prio) in otx2_pfc_txschq_stop_one() 146 static int otx2_pfc_update_sq_smq_mapping(struct otx2_nic *pfvf, int prio) in otx2_pfc_update_sq_smq_mapping() 204 int otx2_pfc_txschq_update(struct otx2_nic *pfvf) in otx2_pfc_txschq_update() 271 int otx2_pfc_txschq_stop(struct otx2_nic *pfvf) in otx2_pfc_txschq_stop() 293 int otx2_config_priority_flow_ctrl(struct otx2_nic *pfvf) in otx2_config_priority_flow_ctrl() 332 void otx2_update_bpid_in_rqctx(struct otx2_nic *pfvf, int vlan_prio, int qidx, in otx2_update_bpid_in_rqctx() [all …]
|
D | cn10k.c | 26 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 139 struct otx2_nic *pfvf = dev; in cn10k_sqe_flush() local 161 int cn10k_free_all_ipolicers(struct otx2_nic *pfvf) in cn10k_free_all_ipolicers() 186 int cn10k_alloc_leaf_profile(struct otx2_nic *pfvf, u16 *leaf) in cn10k_alloc_leaf_profile() 219 int cn10k_alloc_matchall_ipolicer(struct otx2_nic *pfvf) in cn10k_alloc_matchall_ipolicer() 299 int cn10k_map_unmap_rq_policer(struct otx2_nic *pfvf, int rq_idx, in cn10k_map_unmap_rq_policer() 326 int cn10k_free_leaf_profile(struct otx2_nic *pfvf, u16 leaf) in cn10k_free_leaf_profile() 340 int cn10k_free_matchall_ipolicer(struct otx2_nic *pfvf) in cn10k_free_matchall_ipolicer() [all …]
|
D | otx2_txrx.c | 33 static int otx2_nix_cq_op_status(struct otx2_nic *pfvf, in otx2_nix_cq_op_status() 81 static dma_addr_t otx2_dma_map_skb_frag(struct otx2_nic *pfvf, in otx2_dma_map_skb_frag() 102 static void otx2_dma_unmap_skb_frags(struct otx2_nic *pfvf, struct sg_list *sg) in otx2_dma_unmap_skb_frags() 113 static void otx2_xdp_snd_pkt_handler(struct otx2_nic *pfvf, in otx2_xdp_snd_pkt_handler() 131 static void otx2_snd_pkt_handler(struct otx2_nic *pfvf, in otx2_snd_pkt_handler() 174 static void otx2_set_rxtstamp(struct otx2_nic *pfvf, in otx2_set_rxtstamp() 192 static bool otx2_skb_add_frag(struct otx2_nic *pfvf, struct sk_buff *skb, in otx2_skb_add_frag() 233 static void otx2_set_rxhash(struct otx2_nic *pfvf, in otx2_set_rxhash() 255 static void otx2_free_rcv_seg(struct otx2_nic *pfvf, struct nix_cqe_rx_s *cqe, in otx2_free_rcv_seg() 275 static bool otx2_check_rcv_errors(struct otx2_nic *pfvf, in otx2_check_rcv_errors() [all …]
|
D | otx2_flows.c | 35 static void otx2_clear_ntuple_flow_info(struct otx2_nic *pfvf, struct otx2_flow_config *flow_cfg) in otx2_clear_ntuple_flow_info() 42 static int otx2_free_ntuple_mcam_entries(struct otx2_nic *pfvf) in otx2_free_ntuple_mcam_entries() 74 int otx2_alloc_mcam_entries(struct otx2_nic *pfvf, u16 count) in otx2_alloc_mcam_entries() 164 static int otx2_mcam_entry_init(struct otx2_nic *pfvf) in otx2_mcam_entry_init() 238 int otx2vf_mcam_flow_init(struct otx2_nic *pfvf) in otx2vf_mcam_flow_init() 424 static struct otx2_flow *otx2_find_flow(struct otx2_nic *pfvf, u32 location) in otx2_find_flow() 436 static void otx2_add_flow_to_list(struct otx2_nic *pfvf, struct otx2_flow *flow) in otx2_add_flow_to_list() 464 int otx2_get_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, in otx2_get_flow() 483 int otx2_get_all_flows(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, in otx2_get_all_flows() 890 static int otx2_is_flow_rule_dmacfilter(struct otx2_nic *pfvf, in otx2_is_flow_rule_dmacfilter() [all …]
|
D | otx2_devlink.c | 15 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() 132 void otx2_unregister_dl(struct otx2_nic *pfvf) in otx2_unregister_dl()
|
D | otx2_ptp.c | 129 struct otx2_nic *pfvf = ptp->nic; in otx2_get_ptpclock() local 140 struct otx2_nic *pfvf = ptp->nic; in otx2_ptp_adjtime() local 167 struct otx2_nic *pfvf = ptp->nic; in otx2_ptp_settime() local 225 struct otx2_nic *pfvf = ptp->nic; in otx2_sync_tstamp() local 268 int otx2_ptp_init(struct otx2_nic *pfvf) in otx2_ptp_init() 361 void otx2_ptp_destroy(struct otx2_nic *pfvf) in otx2_ptp_destroy() 376 int otx2_ptp_clock_index(struct otx2_nic *pfvf) in otx2_ptp_clock_index() 385 int otx2_ptp_tstamp2time(struct otx2_nic *pfvf, u64 tstamp, u64 *tsns) in otx2_ptp_tstamp2time()
|
D | otx2_common.h | 176 struct otx2_nic *pfvf; member 552 static inline void otx2_setup_dev_hw_settings(struct otx2_nic *pfvf) in otx2_setup_dev_hw_settings() 698 static inline void __cn10k_aura_freeptr(struct otx2_nic *pfvf, u64 aura, in __cn10k_aura_freeptr() 732 struct otx2_nic *pfvf = dev; in cn10k_aura_freeptr() local 743 static inline u64 otx2_aura_allocptr(struct otx2_nic *pfvf, int aura) in otx2_aura_allocptr() 755 struct otx2_nic *pfvf = dev; in otx2_aura_freeptr() local 761 static inline int otx2_get_pool_idx(struct otx2_nic *pfvf, int type, int idx) in otx2_get_pool_idx() 864 static inline dma_addr_t otx2_dma_map_page(struct otx2_nic *pfvf, in otx2_dma_map_page() 878 static inline void otx2_dma_unmap_page(struct otx2_nic *pfvf, in otx2_dma_unmap_page() 886 static inline u16 otx2_get_smq_idx(struct otx2_nic *pfvf, u16 qidx) in otx2_get_smq_idx() [all …]
|
D | cn10k.h | 13 static inline int mtu_to_dwrr_weight(struct otx2_nic *pfvf, int mtu) in mtu_to_dwrr_weight()
|
D | otx2_devlink.h | 13 struct otx2_nic *pfvf; member
|
D | otx2_dmac_flt.c | 89 static int otx2_dmacflt_do_remove(struct otx2_nic *pfvf, const u8 *mac, in otx2_dmacflt_do_remove()
|
D | otx2_pf.c | 1667 struct otx2_nic *pfvf; in otx2_dim_work() local 2048 static int otx2_config_hw_rx_tstamp(struct otx2_nic *pfvf, bool enable) in otx2_config_hw_rx_tstamp() 2080 static int otx2_config_hw_tx_tstamp(struct otx2_nic *pfvf, bool enable) in otx2_config_hw_tx_tstamp() 2114 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_config_hwtstamp() local 2179 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_ioctl() local
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npa.c | 61 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
|
D | rvu.c | 341 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 1236 u16 rvu_get_rsrc_mapcount(struct rvu_pfvf *pfvf, int blkaddr) in rvu_get_rsrc_mapcount() 1259 static bool is_blktype_attached(struct rvu_pfvf *pfvf, int blktype) in is_blktype_attached() 1281 struct rvu_pfvf *pfvf; in is_pffunc_map_valid() local 1319 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_get_blkaddr_from_slot() local 1372 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_detach_block() local [all …]
|
D | rvu_nix.c | 101 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in is_nixlf_attached() local 126 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_get_nixlf() local 147 struct rvu_pfvf *pfvf; in nix_get_struct_ptrs() local 295 struct rvu_pfvf *parent_pf, *pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_interface_init() local 446 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_interface_deinit() local 472 struct rvu_pfvf *pfvf; in rvu_mbox_handler_nix_bp_disable() local 500 struct rvu_pfvf *pfvf; in rvu_nix_get_bpid() local 574 struct rvu_pfvf *pfvf; in rvu_mbox_handler_nix_bp_enable() local 721 static void nix_ctx_free(struct rvu *rvu, struct rvu_pfvf *pfvf) in nix_ctx_free() 751 struct rvu_pfvf *pfvf, int nixlf, in nixlf_rss_ctx_init() [all …]
|
D | rvu_sdp.c | 52 struct rvu_pfvf *pfvf; in rvu_sdp_init() local 85 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, req->hdr.pcifunc); in rvu_mbox_handler_set_sdp_chan_info() local
|
D | rvu_cn10k.c | 98 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
|
D | rvu_switch.c | 16 struct rvu_pfvf *pfvf; in rvu_switch_install_rx_rule() local 44 struct rvu_pfvf *pfvf; in rvu_switch_install_tx_rule() local
|
D | rvu_npc.c | 86 void rvu_npc_set_pkind(struct rvu *rvu, int pkind, struct rvu_pfvf *pfvf) in rvu_npc_set_pkind() 151 struct rvu_pfvf *pfvf; in npc_get_ucast_mcam_index() local 408 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 654 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_install_promisc_entry() local 757 struct rvu_pfvf *pfvf; in rvu_npc_install_bcast_match_entry() local 836 struct rvu_pfvf *pfvf; in rvu_npc_install_allmulti_entry() local 972 struct rvu_pfvf *pfvf; in rvu_npc_update_flowkey_alg_idx() local 1043 struct rvu_pfvf *pfvf; in npc_enadis_default_mce_entry() local 1153 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_disable_mcam_entries() local [all …]
|
D | rvu_npc_fs.c | 973 static void npc_update_rx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, in npc_update_rx_entry() 1012 static void npc_update_tx_entry(struct rvu *rvu, struct rvu_pfvf *pfvf, in npc_update_tx_entry() 1049 int nixlf, struct rvu_pfvf *pfvf, in npc_install_flow() 1204 struct rvu_pfvf *pfvf; in rvu_mbox_handler_npc_install_flow() local 1363 struct rvu_pfvf *pfvf) in npc_update_dmac_value() 1394 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, target); in npc_mcam_enable_flows() local
|
D | rvu_debugfs.c | 847 struct rvu_pfvf *pfvf; in rvu_dbg_rvu_pf_cgx_map_display() local 915 static void print_npa_qsize(struct seq_file *m, struct rvu_pfvf *pfvf) in print_npa_qsize() 952 struct rvu_pfvf *pfvf; in rvu_dbg_qsize_display() local 1165 struct rvu_pfvf *pfvf; in rvu_dbg_npa_ctx_display() local 1243 struct rvu_pfvf *pfvf; in write_npa_ctx() local 1861 struct rvu_pfvf *pfvf; in rvu_dbg_nix_queue_ctx_display() local 1944 struct rvu_pfvf *pfvf; in write_nix_queue_ctx() local 2113 static void print_nix_qsize(struct seq_file *filp, struct rvu_pfvf *pfvf) in print_nix_qsize()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
D | smt.h | 60 u16 pfvf; member
|
D | smt.c | 209 static struct smt_entry *t4_smt_alloc_switching(struct adapter *adap, u16 pfvf, in t4_smt_alloc_switching()
|