| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_common.c | 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() 113 void otx2_get_dev_stats(struct otx2_nic *pfvf) in otx2_get_dev_stats() 139 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_stats64() local 211 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_set_mac_address() local 367 void otx2_set_rss_key(struct otx2_nic *pfvf) in otx2_set_rss_key() 390 int otx2_rss_init(struct otx2_nic *pfvf) in otx2_rss_init() 859 void otx2_sqb_flush(struct otx2_nic *pfvf) in otx2_sqb_flush() 931 struct otx2_nic *pfvf = dev; in otx2_sq_aq_init() local 1164 struct otx2_nic *pfvf; in otx2_pool_refill_task() local [all …]
|
| H A D | qos.c | 136 static void __otx2_qos_txschq_cfg(struct otx2_nic *pfvf, in __otx2_qos_txschq_cfg() 259 static void otx2_qos_free_hw_cfg(struct otx2_nic *pfvf, in otx2_qos_free_hw_cfg() 406 otx2_qos_alloc_root(struct otx2_nic *pfvf) in otx2_qos_alloc_root() 503 otx2_qos_sw_create_leaf_node(struct otx2_nic *pfvf, in otx2_qos_sw_create_leaf_node() 567 otx2_sw_node_find(struct otx2_nic *pfvf, u32 classid) in otx2_sw_node_find() 1133 struct otx2_nic *pfvf, in otx2_qos_validate_dwrr_cfg() 1156 struct otx2_nic *pfvf, in otx2_qos_validate_configuration() 1186 struct otx2_nic *pfvf, in is_qos_node_dwrr() 1691 void otx2_clean_qos_queues(struct otx2_nic *pfvf) in otx2_clean_qos_queues() 1702 void otx2_qos_config_txschq(struct otx2_nic *pfvf) in otx2_qos_config_txschq() [all …]
|
| H A D | otx2_ethtool.c | 77 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_drvinfo() local 108 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_strings() local 186 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_ethtool_stats() local 241 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_sset_count() local 261 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_get_channels() local 274 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_set_channels() local 315 struct otx2_nic *pfvf = netdev_priv(netdev); in otx2_get_pauseparam() local 724 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_get_rxnfc() local 757 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_set_rxnfc() local 833 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_set_rxfh() local [all …]
|
| H A D | cn10k_macsec.c | 257 static int cn10k_mcs_write_rx_secy(struct otx2_nic *pfvf, in cn10k_mcs_write_rx_secy() 355 static int cn10k_mcs_write_sc_cam(struct otx2_nic *pfvf, in cn10k_mcs_write_sc_cam() 382 static int cn10k_mcs_write_keys(struct otx2_nic *pfvf, in cn10k_mcs_write_keys() 495 static int cn10k_mcs_write_tx_secy(struct otx2_nic *pfvf, in cn10k_mcs_write_tx_secy() 624 static int cn10k_mcs_link_tx_sa2sc(struct otx2_nic *pfvf, in cn10k_mcs_link_tx_sa2sc() 694 static int cn10k_write_tx_sa_pn(struct otx2_nic *pfvf, in cn10k_write_tx_sa_pn() 959 static void cn10k_mcs_delete_txsc(struct otx2_nic *pfvf, in cn10k_mcs_delete_txsc() 1015 static void cn10k_mcs_delete_rxsc(struct otx2_nic *pfvf, in cn10k_mcs_delete_rxsc() 1056 static int cn10k_mcs_secy_rx_cfg(struct otx2_nic *pfvf, in cn10k_mcs_secy_rx_cfg() 1766 int cn10k_mcs_init(struct otx2_nic *pfvf) in cn10k_mcs_init() [all …]
|
| H A 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() 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() 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() 402 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_dcbnl_ieee_getpfc() local 412 struct otx2_nic *pfvf = netdev_priv(dev); in otx2_dcbnl_ieee_setpfc() local [all …]
|
| H A D | otx2_devlink.c | 15 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 54 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_mcam_count_get() local 73 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_ucast_flt_cnt_set() local 90 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_ucast_flt_cnt_get() local 102 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_ucast_flt_cnt_validate() local 149 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_devlink_eswitch_mode_get() local 163 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_devlink_eswitch_mode_set() local 197 int otx2_register_dl(struct otx2_nic *pfvf) in otx2_register_dl() 232 void otx2_unregister_dl(struct otx2_nic *pfvf) in otx2_unregister_dl()
|
| H 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 112 struct otx2_nic *pfvf = dev; in cn10k_refill_pool_ptrs() local 146 struct otx2_nic *pfvf = dev; in cn10k_sqe_flush() local 168 int cn10k_free_all_ipolicers(struct otx2_nic *pfvf) in cn10k_free_all_ipolicers() 193 int cn10k_alloc_leaf_profile(struct otx2_nic *pfvf, u16 *leaf) in cn10k_alloc_leaf_profile() 231 int cn10k_alloc_matchall_ipolicer(struct otx2_nic *pfvf) in cn10k_alloc_matchall_ipolicer() 338 int cn10k_free_leaf_profile(struct otx2_nic *pfvf, u16 leaf) in cn10k_free_leaf_profile() 352 int cn10k_free_matchall_ipolicer(struct otx2_nic *pfvf) in cn10k_free_matchall_ipolicer() 370 int cn10k_set_ipolicer_rate(struct otx2_nic *pfvf, u16 profile, in cn10k_set_ipolicer_rate() [all …]
|
| H A D | otx2_txrx.c | 57 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() 168 static void otx2_set_rxtstamp(struct otx2_nic *pfvf, in otx2_set_rxtstamp() 224 static void otx2_set_rxhash(struct otx2_nic *pfvf, in otx2_set_rxhash() 330 static void otx2_rcv_pkt_handler(struct otx2_nic *pfvf, in otx2_rcv_pkt_handler() 389 static int otx2_rx_napi_handler(struct otx2_nic *pfvf, in otx2_rx_napi_handler() 434 struct otx2_nic *pfvf = dev; in otx2_refill_pool_ptrs() local 460 static int otx2_tx_napi_handler(struct otx2_nic *pfvf, in otx2_tx_napi_handler() 569 struct otx2_nic *pfvf; in otx2_napi_handler() local 1191 struct otx2_nic *pfvf = dev; in otx2_sq_append_skb() local [all …]
|
| H A D | otx2_flows.c | 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() 1060 static int otx2_add_flow_with_pfmac(struct otx2_nic *pfvf, in otx2_add_flow_with_pfmac() 1267 int otx2_remove_flow(struct otx2_nic *pfvf, u32 location) in otx2_remove_flow() 1318 void otx2_rss_ctx_flow_del(struct otx2_nic *pfvf, int ctx_id) in otx2_rss_ctx_flow_del() 1334 int otx2_destroy_ntuple_flows(struct otx2_nic *pfvf) in otx2_destroy_ntuple_flows() 1367 int otx2_destroy_mcam_flows(struct otx2_nic *pfvf) in otx2_destroy_mcam_flows() 1410 int otx2_install_rxvlan_offload_flow(struct otx2_nic *pfvf) in otx2_install_rxvlan_offload_flow() [all …]
|
| H A D | qos_sq.c | 19 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 D | otx2_ptp.c | 51 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 D | otx2_xsk.c | 16 int otx2_xsk_pool_alloc_buf(struct otx2_nic *pfvf, struct otx2_pool *pool, in otx2_xsk_pool_alloc_buf() 35 static int otx2_xsk_ctx_disable(struct otx2_nic *pfvf, u16 qidx, int aura_id) in otx2_xsk_ctx_disable() 90 static void otx2_clean_up_rq(struct otx2_nic *pfvf, int qidx) in otx2_clean_up_rq() 193 void otx2_attach_xsk_buff(struct otx2_nic *pfvf, struct otx2_snd_queue *sq, int qidx) in otx2_attach_xsk_buff() 199 void otx2_zc_napi_handler(struct otx2_nic *pfvf, struct xsk_buff_pool *pool, in otx2_zc_napi_handler()
|
| H A D | otx2_common.h | 169 struct otx2_nic *pfvf; member 787 struct otx2_nic *pfvf = dev; in cn10k_aura_freeptr() local 809 struct otx2_nic *pfvf = dev; in otx2_aura_freeptr() local 918 static inline dma_addr_t otx2_dma_map_page(struct otx2_nic *pfvf, in otx2_dma_map_page() 932 static inline void otx2_dma_unmap_page(struct otx2_nic *pfvf, in otx2_dma_unmap_page() 940 static inline u16 otx2_get_smq_idx(struct otx2_nic *pfvf, u16 qidx) in otx2_get_smq_idx() 960 static inline u16 otx2_get_total_tx_queues(struct otx2_nic *pfvf) in otx2_get_total_tx_queues() 976 static inline int otx2_tc_flower_rule_cnt(struct otx2_nic *pfvf) in otx2_tc_flower_rule_cnt() 1153 static inline void cn10k_mcs_free(struct otx2_nic *pfvf) {} in cn10k_mcs_free() 1154 static inline void cn10k_handle_mcs_event(struct otx2_nic *pfvf, in cn10k_handle_mcs_event() [all …]
|
| H A D | cn10k.h | 13 static inline int mtu_to_dwrr_weight(struct otx2_nic *pfvf, int mtu) in mtu_to_dwrr_weight()
|
| H A D | otx2_devlink.h | 13 struct otx2_nic *pfvf; member
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_npa.c | 70 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 D | rvu.c | 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 1295 struct rvu_pfvf *pfvf; in is_pffunc_map_valid() local 1333 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_get_blkaddr_from_slot() local 1386 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_detach_block() local 1481 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_get_nix_blkaddr() local 1847 struct rvu_pfvf *pfvf; in rvu_mbox_handler_msix_offset() local 2042 struct rvu_pfvf *pfvf; in rvu_mbox_handler_set_vf_perm() local [all …]
|
| H A D | rvu_switch.c | 13 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 D | rvu_sdp.c | 56 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 D | rvu_rep.c | 38 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, event->pcifunc); in rvu_rep_up_notify() local 237 struct rvu_pfvf *pfvf; in rvu_rep_install_rx_rule() local 278 struct rvu_pfvf *pfvf; in rvu_rep_install_tx_rule() local 414 struct rvu_pfvf *pfvf; in rvu_rep_pf_init() local
|
| H A D | rvu_nix.c | 156 struct rvu_pfvf *pfvf; in nix_get_struct_ptrs() local 587 struct rvu_pfvf *pfvf; in nix_bp_disable() local 652 struct rvu_pfvf *pfvf; in rvu_nix_get_bpid() local 733 struct rvu_pfvf *pfvf; in nix_bp_enable() local 1041 struct rvu_pfvf *pfvf; in rvu_nix_blk_aq_enq_inst() local 1499 struct rvu_pfvf *pfvf; in rvu_mbox_handler_nix_lf_alloc() local 1734 struct rvu_pfvf *pfvf; in rvu_mbox_handler_nix_lf_free() local 1780 struct rvu_pfvf *pfvf; in rvu_mbox_handler_nix_mark_format_cfg() local 3510 struct rvu_pfvf *pfvf; in nix_get_mce_list() local 3589 struct rvu_pfvf *pfvf; in nix_setup_mce_tables() local [all …]
|
| H A D | rvu_npc.c | 129 struct rvu_pfvf *pfvf; in npc_get_ucast_mcam_index() local 392 struct rvu_pfvf *pfvf; in npc_fixup_vf_rule() local 603 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_install_ucast_entry() local 658 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_install_promisc_entry() local 764 struct rvu_pfvf *pfvf; in rvu_npc_install_bcast_match_entry() local 851 struct rvu_pfvf *pfvf; in rvu_npc_install_allmulti_entry() local 1024 struct rvu_pfvf *pfvf; in rvu_npc_update_flowkey_alg_idx() local 1096 struct rvu_pfvf *pfvf; in npc_enadis_default_mce_entry() local 1206 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_disable_mcam_entries() local 3449 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_set_parse_mode() local [all …]
|
| H A D | rvu_cn10k.c | 115 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 D | rvu_npc_fs.c | 1132 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 D | rvu_debugfs.c | 823 struct rvu_pfvf *pfvf; in rvu_dbg_rvu_pf_cgx_map_display() local 894 static void print_npa_qsize(struct seq_file *m, struct rvu_pfvf *pfvf) in print_npa_qsize() 930 struct rvu_pfvf *pfvf; in rvu_dbg_qsize_display() local 1134 struct rvu_pfvf *pfvf; in rvu_dbg_npa_ctx_display() local 1217 struct rvu_pfvf *pfvf; in write_npa_ctx() local 1616 struct rvu_pfvf *pfvf; in rvu_dbg_nix_tm_tree_display() local 1659 struct rvu_pfvf *pfvf; in rvu_dbg_nix_tm_tree_write() local 1916 struct rvu_pfvf *pfvf; in rvu_dbg_nix_tm_topo_write() local 2215 struct rvu_pfvf *pfvf; in rvu_dbg_nix_queue_ctx_display() local 2298 struct rvu_pfvf *pfvf; in write_nix_queue_ctx() local [all …]
|