/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A 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() 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 199 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_set_mac_address() local 342 void otx2_set_rss_key(struct otx2_nic *pfvf) in otx2_set_rss_key() 365 int otx2_rss_init(struct otx2_nic *pfvf) in otx2_rss_init() 712 void otx2_sqb_flush(struct otx2_nic *pfvf) in otx2_sqb_flush() 784 struct otx2_nic *pfvf = dev; in otx2_sq_aq_init() local 955 struct otx2_nic *pfvf; in otx2_pool_refill_task() local [all …]
|
A D | otx2_ethtool.c | 77 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_drvinfo() local 106 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_strings() local 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 654 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_get_rxnfc() local 687 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_set_rxnfc() local 761 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_set_rxfh_context() local [all …]
|
A D | otx2_txrx.c | 27 static int otx2_nix_cq_op_status(struct otx2_nic *pfvf, in otx2_nix_cq_op_status() 125 static void otx2_snd_pkt_handler(struct otx2_nic *pfvf, in otx2_snd_pkt_handler() 167 static void otx2_set_rxtstamp(struct otx2_nic *pfvf, in otx2_set_rxtstamp() 225 static void otx2_set_rxhash(struct otx2_nic *pfvf, in otx2_set_rxhash() 331 static void otx2_rcv_pkt_handler(struct otx2_nic *pfvf, in otx2_rcv_pkt_handler() 379 static int otx2_rx_napi_handler(struct otx2_nic *pfvf, in otx2_rx_napi_handler() 421 struct otx2_nic *pfvf = dev; in otx2_refill_pool_ptrs() local 432 static int otx2_tx_napi_handler(struct otx2_nic *pfvf, in otx2_tx_napi_handler() 492 struct otx2_nic *pfvf; in otx2_napi_handler() local 725 static int otx2_dma_map_tso_skb(struct otx2_nic *pfvf, in otx2_dma_map_tso_skb() [all …]
|
A 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 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() 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() 359 int cn10k_set_ipolicer_rate(struct otx2_nic *pfvf, u16 profile, in cn10k_set_ipolicer_rate() [all …]
|
A D | otx2_flows.c | 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() 958 static int otx2_add_flow_with_pfmac(struct otx2_nic *pfvf, in otx2_add_flow_with_pfmac() 1146 int otx2_remove_flow(struct otx2_nic *pfvf, u32 location) in otx2_remove_flow() 1190 void otx2_rss_ctx_flow_del(struct otx2_nic *pfvf, int ctx_id) in otx2_rss_ctx_flow_del() 1206 int otx2_destroy_ntuple_flows(struct otx2_nic *pfvf) in otx2_destroy_ntuple_flows() 1239 int otx2_destroy_mcam_flows(struct otx2_nic *pfvf) in otx2_destroy_mcam_flows() 1281 int otx2_install_rxvlan_offload_flow(struct otx2_nic *pfvf) in otx2_install_rxvlan_offload_flow() [all …]
|
A 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()
|
A D | otx2_ptp.c | 108 struct otx2_nic *pfvf = ptp->nic; in otx2_ptp_adjtime() local 122 struct otx2_nic *pfvf = ptp->nic; in otx2_ptp_gettime() local 139 struct otx2_nic *pfvf = ptp->nic; in otx2_ptp_settime() local 221 int otx2_ptp_init(struct otx2_nic *pfvf) in otx2_ptp_init() 304 void otx2_ptp_destroy(struct otx2_nic *pfvf) in otx2_ptp_destroy() 317 int otx2_ptp_clock_index(struct otx2_nic *pfvf) in otx2_ptp_clock_index() 326 int otx2_ptp_tstamp2time(struct otx2_nic *pfvf, u64 tstamp, u64 *tsns) in otx2_ptp_tstamp2time()
|
A D | cn10k.h | 13 static inline int mtu_to_dwrr_weight(struct otx2_nic *pfvf, int mtu) in mtu_to_dwrr_weight()
|
A D | otx2_devlink.h | 13 struct otx2_nic *pfvf; member
|
A D | otx2_common.h | 162 struct otx2_nic *pfvf; member 438 static inline void otx2_setup_dev_hw_settings(struct otx2_nic *pfvf) in otx2_setup_dev_hw_settings() 580 static inline void __cn10k_aura_freeptr(struct otx2_nic *pfvf, u64 aura, in __cn10k_aura_freeptr() 613 struct otx2_nic *pfvf = dev; in cn10k_aura_freeptr() local 622 static inline u64 otx2_aura_allocptr(struct otx2_nic *pfvf, int aura) in otx2_aura_allocptr() 634 struct otx2_nic *pfvf = dev; in otx2_aura_freeptr() local 640 static inline int otx2_get_pool_idx(struct otx2_nic *pfvf, int type, int idx) in otx2_get_pool_idx() 742 static inline dma_addr_t otx2_dma_map_page(struct otx2_nic *pfvf, in otx2_dma_map_page() 756 static inline void otx2_dma_unmap_page(struct otx2_nic *pfvf, in otx2_dma_unmap_page()
|
A D | otx2_dmac_flt.c | 73 static int otx2_dmacflt_do_remove(struct otx2_nic *pfvf, const u8 *mac, in otx2_dmacflt_do_remove()
|
A D | otx2_pf.c | 1930 static int otx2_config_hw_rx_tstamp(struct otx2_nic *pfvf, bool enable) in otx2_config_hw_rx_tstamp() 1962 static int otx2_config_hw_tx_tstamp(struct otx2_nic *pfvf, bool enable) in otx2_config_hw_tx_tstamp() 1996 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_config_hwtstamp() local 2054 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_ioctl() local
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
A 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
|
A D | rvu.c | 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 1261 struct rvu_pfvf *pfvf; in is_pffunc_map_valid() local 1299 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_get_blkaddr_from_slot() local 1352 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_detach_block() local 1447 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_get_nix_blkaddr() local 1813 struct rvu_pfvf *pfvf; in rvu_mbox_handler_msix_offset() local 2000 struct rvu_pfvf *pfvf; in rvu_mbox_handler_set_vf_perm() local [all …]
|
A D | rvu_sdp.c | 52 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
|
A D | rvu_nix.c | 146 struct rvu_pfvf *pfvf; in nix_get_struct_ptrs() local 479 struct rvu_pfvf *pfvf; in rvu_mbox_handler_nix_bp_disable() local 507 struct rvu_pfvf *pfvf; in rvu_nix_get_bpid() local 581 struct rvu_pfvf *pfvf; in rvu_mbox_handler_nix_bp_enable() local 840 struct rvu_pfvf *pfvf; in rvu_nix_blk_aq_enq_inst() local 1296 struct rvu_pfvf *pfvf; in rvu_mbox_handler_nix_lf_alloc() local 1525 struct rvu_pfvf *pfvf; in rvu_mbox_handler_nix_lf_free() local 1567 struct rvu_pfvf *pfvf; in rvu_mbox_handler_nix_mark_format_cfg() local 2883 struct rvu_pfvf *pfvf; in nix_get_mce_list() local 2952 struct rvu_pfvf *pfvf; in nix_setup_mce_tables() local [all …]
|
A 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
|
A 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
|
A D | rvu_npc.c | 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 3206 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_set_parse_mode() local [all …]
|
A D | rvu_npc_fs.c | 936 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() 1161 struct rvu_pfvf *pfvf; in rvu_mbox_handler_npc_install_flow() local 1320 struct rvu_pfvf *pfvf) in npc_update_dmac_value() 1351 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, target); in npc_mcam_enable_flows() local
|
A D | rvu_debugfs.c | 501 struct rvu_pfvf *pfvf; in rvu_dbg_rvu_pf_cgx_map_display() local 567 static void print_npa_qsize(struct seq_file *m, struct rvu_pfvf *pfvf) in print_npa_qsize() 604 struct rvu_pfvf *pfvf; in rvu_dbg_qsize_display() local 817 struct rvu_pfvf *pfvf; in rvu_dbg_npa_ctx_display() local 895 struct rvu_pfvf *pfvf; in write_npa_ctx() local 1511 struct rvu_pfvf *pfvf; in rvu_dbg_nix_queue_ctx_display() local 1594 struct rvu_pfvf *pfvf; in write_nix_queue_ctx() local 1763 static void print_nix_qsize(struct seq_file *filp, struct rvu_pfvf *pfvf) in print_nix_qsize()
|
A D | rvu_cgx.c | 108 struct rvu_pfvf *pfvf = &rvu->pf[pf]; in rvu_map_cgx_nix_block() local 696 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_cgx_ptp_rx_cfg() local 948 struct rvu_pfvf *parent_pf, *pfvf; in rvu_cgx_start_stop_io() local
|
A D | rvu_cpt.c | 579 struct rvu_pfvf *pfvf; in is_valid_offset() local
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | smt.h | 60 u16 pfvf; member
|
A D | smt.c | 209 static struct smt_entry *t4_smt_alloc_switching(struct adapter *adap, u16 pfvf, in t4_smt_alloc_switching()
|