| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_rep.c | 112 int rvu_rep_notify_pfvf_state(struct rvu *rvu, u16 pcifunc, bool enable) in rvu_rep_notify_pfvf_state() 151 u16 pcifunc = req->pcifunc; in rvu_mbox_handler_nix_lf_stats() local 184 static u16 rvu_rep_get_vlan_id(struct rvu *rvu, u16 pcifunc) in rvu_rep_get_vlan_id() 194 static int rvu_rep_tx_vlan_cfg(struct rvu *rvu, u16 pcifunc, in rvu_rep_tx_vlan_cfg() 218 static int rvu_rep_rx_vlan_cfg(struct rvu *rvu, u16 pcifunc) in rvu_rep_rx_vlan_cfg() 234 static int rvu_rep_install_rx_rule(struct rvu *rvu, u16 pcifunc, in rvu_rep_install_rx_rule() 275 static int rvu_rep_install_tx_rule(struct rvu *rvu, u16 pcifunc, u16 entry, in rvu_rep_install_tx_rule() 319 u16 pcifunc, entry = 0; in rvu_rep_install_mcam_rules() local 387 void rvu_rep_update_rules(struct rvu *rvu, u16 pcifunc, bool ena) in rvu_rep_update_rules() 414 u16 pcifunc = rvu->rep_pcifunc; in rvu_rep_pf_init() local [all …]
|
| H A D | rvu_switch.c | 11 void rvu_switch_enable_lbk_link(struct rvu *rvu, u16 pcifunc, bool enable) in rvu_switch_enable_lbk_link() 22 static int rvu_switch_install_rx_rule(struct rvu *rvu, u16 pcifunc, in rvu_switch_install_rx_rule() 51 static int rvu_switch_install_tx_rule(struct rvu *rvu, u16 pcifunc, u16 entry) in rvu_switch_install_tx_rule() 88 u16 pcifunc, entry = 0; in rvu_switch_install_rules() local 226 u16 pcifunc; in rvu_switch_disable() local 272 void rvu_switch_update_rules(struct rvu *rvu, u16 pcifunc, bool ena) in rvu_switch_update_rules()
|
| H A D | rvu_nix.c | 84 u16 pcifunc; member 108 bool is_nixlf_attached(struct rvu *rvu, u16 pcifunc) in is_nixlf_attached() 133 int nix_get_nixlf(struct rvu *rvu, u16 pcifunc, int *nixlf, int *nix_blkaddr) in nix_get_nixlf() 153 int nix_get_struct_ptrs(struct rvu *rvu, u16 pcifunc, in nix_get_struct_ptrs() 294 int lvl, u16 pcifunc, u16 schq) in is_valid_txschq() 331 static int nix_interface_init(struct rvu *rvu, u16 pcifunc, int type, int nixlf, in nix_interface_init() 482 static void nix_interface_deinit(struct rvu *rvu, u16 pcifunc, u8 nixlf) in nix_interface_deinit() 545 void rvu_nix_flr_free_bpids(struct rvu *rvu, u16 pcifunc) in rvu_nix_flr_free_bpids() 585 u16 pcifunc = req->hdr.pcifunc; in nix_bp_disable() local 733 u16 pcifunc = req->hdr.pcifunc; in nix_bp_enable() local [all …]
|
| H A D | rvu_npc.c | 97 int npc_config_ts_kpuaction(struct rvu *rvu, int pf, u16 pcifunc, bool enable) in npc_config_ts_kpuaction() 125 static int npc_get_ucast_mcam_index(struct npc_mcam *mcam, u16 pcifunc, in npc_get_ucast_mcam_index() 151 u16 pcifunc, int nixlf, int type) in npc_get_nixlf_mcam_index() 704 void rvu_npc_install_ucast_entry(struct rvu *rvu, u16 pcifunc, in rvu_npc_install_ucast_entry() 768 void rvu_npc_install_promisc_entry(struct rvu *rvu, u16 pcifunc, in rvu_npc_install_promisc_entry() 881 void rvu_npc_enable_promisc_entry(struct rvu *rvu, u16 pcifunc, in rvu_npc_enable_promisc_entry() 907 void rvu_npc_install_bcast_match_entry(struct rvu *rvu, u16 pcifunc, in rvu_npc_install_bcast_match_entry() 978 void rvu_npc_install_allmulti_entry(struct rvu *rvu, u16 pcifunc, int nixlf, in rvu_npc_install_allmulti_entry() 1082 void rvu_npc_enable_allmulti_entry(struct rvu *rvu, u16 pcifunc, int nixlf, in rvu_npc_enable_allmulti_entry() 1108 int blkaddr, u16 pcifunc, u64 rx_action) in npc_update_vf_flow_entry() [all …]
|
| H A D | rvu_sdp.c | 20 bool is_sdp_pfvf(struct rvu *rvu, u16 pcifunc) in is_sdp_pfvf() 37 bool is_sdp_pf(struct rvu *rvu, u16 pcifunc) in is_sdp_pf() 44 bool is_sdp_vf(struct rvu *rvu, u16 pcifunc) in is_sdp_vf()
|
| H A D | mcs_rvu_if.c | 92 u16 pcifunc = event->pcifunc; in mcs_add_intr_wq_entry() local 183 u16 pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_mcs_intr_cfg() local 242 u16 pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_mcs_clear_stats() local 460 int rvu_mcs_flr_handler(struct rvu *rvu, u16 pcifunc) in rvu_mcs_flr_handler() 633 u16 pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_mcs_free_resources() local 683 u16 pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_mcs_alloc_resources() local 765 u16 pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_mcs_alloc_ctrl_pkt_rule() local
|
| H A D | rvu_cgx.c | 457 inline bool is_cgx_config_permitted(struct rvu *rvu, u16 pcifunc) in is_cgx_config_permitted() 485 int rvu_cgx_config_rxtx(struct rvu *rvu, u16 pcifunc, bool start) in rvu_cgx_config_rxtx() 502 int rvu_cgx_tx_enable(struct rvu *rvu, u16 pcifunc, bool enable) in rvu_cgx_tx_enable() 527 void rvu_cgx_disable_dmac_entries(struct rvu *rvu, u16 pcifunc) in rvu_cgx_disable_dmac_entries() 787 u16 pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_cgx_promisc_enable() local 823 static int rvu_cgx_ptp_rx_cfg(struct rvu *rvu, u16 pcifunc, bool enable) in rvu_cgx_ptp_rx_cfg() 874 static int rvu_cgx_config_linkevents(struct rvu *rvu, u16 pcifunc, bool en) in rvu_cgx_config_linkevents() 971 static int rvu_cgx_config_intlbk(struct rvu *rvu, u16 pcifunc, bool en) in rvu_cgx_config_intlbk() 1001 int rvu_cgx_cfg_pause_frm(struct rvu *rvu, u16 pcifunc, u8 tx_pause, u8 rx_pause) in rvu_cgx_cfg_pause_frm() 1089 u16 pcifunc; in rvu_cgx_nix_cuml_stats() local [all …]
|
| H A D | rvu_cn10k.c | 67 static u32 rvu_get_lmtst_tbl_index(struct rvu *rvu, u16 pcifunc) in rvu_get_lmtst_tbl_index() 73 static int rvu_get_lmtaddr(struct rvu *rvu, u16 pcifunc, in rvu_get_lmtaddr() 113 static int rvu_update_lmtaddr(struct rvu *rvu, u16 pcifunc, u64 lmt_addr) in rvu_update_lmtaddr() 254 void rvu_reset_lmt_map_tbl(struct rvu *rvu, u16 pcifunc) in rvu_reset_lmt_map_tbl()
|
| H A D | rvu_cpt.c | 409 static bool is_cpt_pf(struct rvu *rvu, u16 pcifunc) in is_cpt_pf() 421 static bool is_cpt_vf(struct rvu *rvu, u16 pcifunc) in is_cpt_vf() 448 u16 pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_cpt_lf_alloc() local 516 u16 pcifunc = req->hdr.pcifunc; in cpt_lf_free() local 663 u16 pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_cpt_inline_ipsec_cfg() local 953 u16 pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_cpt_lf_reset() local 1121 int rvu_cpt_lf_teardown(struct rvu *rvu, u16 pcifunc, int blkaddr, int lf, int slot) in rvu_cpt_lf_teardown() 1230 int rvu_cpt_ctx_flush(struct rvu *rvu, u16 pcifunc) in rvu_cpt_ctx_flush()
|
| H A D | mcs.c | 292 int mcs_clear_all_stats(struct mcs *mcs, u16 pcifunc, int dir) in mcs_clear_all_stats() 565 int mcs_alloc_ctrlpktrule(struct rsrc_bmap *rsrc, u16 *pf_map, u16 offset, u16 pcifunc) in mcs_alloc_ctrlpktrule() 584 u16 pcifunc = req->hdr.pcifunc; in mcs_free_ctrlpktrule() local 700 int mcs_free_rsrc(struct rsrc_bmap *rsrc, u16 *pf_map, int rsrc_id, u16 pcifunc) in mcs_free_rsrc() 712 int mcs_free_all_rsrc(struct mcs *mcs, int dir, u16 pcifunc) in mcs_free_all_rsrc() 760 int mcs_alloc_rsrc(struct rsrc_bmap *rsrc, u16 *pf_map, u16 pcifunc) in mcs_alloc_rsrc() 772 u8 *sc_id, u8 *sa1_id, u8 *sa2_id, u16 pcifunc, int dir) in mcs_alloc_all_rsrc()
|
| H A D | rvu_npc_fs.c | 1247 static void rvu_mcam_remove_counter_from_rule(struct rvu *rvu, u16 pcifunc, in rvu_mcam_remove_counter_from_rule() 1263 static void rvu_mcam_add_counter_to_rule(struct rvu *rvu, u16 pcifunc, in rvu_mcam_add_counter_to_rule() 1650 rvu_npc_free_entry_for_flow_install(struct rvu *rvu, u16 pcifunc, in rvu_npc_free_entry_for_flow_install() 1899 u16 pcifunc) in npc_delete_flow() 1925 u16 pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_npc_delete_flow() local
|
| H A D | mbox.c | 518 otx2_reply_invalid_msg(struct otx2_mbox *mbox, int devid, u16 pcifunc, u16 id) in otx2_reply_invalid_msg()
|
| H A D | mcs.h | 88 u16 pcifunc; member
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/ |
| H A D | npc.c | 40 #define NPC_DFT_RULE_ID_MK(pcifunc, id) \ argument 408 static int npc_vidx_maps_add_entry(struct rvu *rvu, u16 mcam_idx, int pcifunc, in npc_vidx_maps_add_entry() 1349 u16 pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_npc_cn20k_mcam_write_entry() local 1392 u16 pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_npc_cn20k_mcam_read_entry() local 1482 static int rvu_npc_get_base_steer_rule_type(struct rvu *rvu, u16 pcifunc) in rvu_npc_get_base_steer_rule_type() 1496 u16 pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_npc_cn20k_read_base_steer_rule() local 2386 int pcifunc, idx; in npc_del_from_pf_maps() local 2419 npc_add_to_pf_maps(struct rvu *rvu, u16 mcam_idx, int pcifunc) in npc_add_to_pf_maps() 3174 int npc_cn20k_ref_idx_alloc(struct rvu *rvu, int pcifunc, int key_type, in npc_cn20k_ref_idx_alloc() 3431 u16 pcifunc; in npc_pcifunc_map_create() local [all …]
|
| H A D | debugfs.c | 152 u16 ptr[4], pcifunc; in npc_mcam_default_show() local
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | rep.h | 43 u16 pcifunc; member
|
| H A D | rep.c | 267 static int rvu_rep_get_repid(struct otx2_nic *priv, u16 pcifunc) in rvu_rep_get_repid() 653 u16 pcifunc; in rvu_rep_create() local
|