| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_rep.c | 120 int rvu_rep_notify_pfvf_state(struct rvu *rvu, u16 pcifunc, bool enable) in rvu_rep_notify_pfvf_state() 159 u16 pcifunc = req->pcifunc; in rvu_mbox_handler_nix_lf_stats() local 192 static u16 rvu_rep_get_vlan_id(struct rvu *rvu, u16 pcifunc) in rvu_rep_get_vlan_id() 202 static int rvu_rep_tx_vlan_cfg(struct rvu *rvu, u16 pcifunc, in rvu_rep_tx_vlan_cfg() 226 static int rvu_rep_rx_vlan_cfg(struct rvu *rvu, u16 pcifunc) in rvu_rep_rx_vlan_cfg() 242 static int rvu_rep_install_rx_rule(struct rvu *rvu, u16 pcifunc, in rvu_rep_install_rx_rule() 283 static int rvu_rep_install_tx_rule(struct rvu *rvu, u16 pcifunc, u16 entry, in rvu_rep_install_tx_rule() 327 u16 pcifunc, entry = 0; in rvu_rep_install_mcam_rules() local 395 void rvu_rep_update_rules(struct rvu *rvu, u16 pcifunc, bool ena) in rvu_rep_update_rules() 422 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_npc.c | 98 int npc_config_ts_kpuaction(struct rvu *rvu, int pf, u16 pcifunc, bool enable) in npc_config_ts_kpuaction() 126 static int npc_get_ucast_mcam_index(struct npc_mcam *mcam, u16 pcifunc, in npc_get_ucast_mcam_index() 152 u16 pcifunc, int nixlf, int type) in npc_get_nixlf_mcam_index() 718 void rvu_npc_install_ucast_entry(struct rvu *rvu, u16 pcifunc, in rvu_npc_install_ucast_entry() 782 void rvu_npc_install_promisc_entry(struct rvu *rvu, u16 pcifunc, in rvu_npc_install_promisc_entry() 891 void rvu_npc_enable_promisc_entry(struct rvu *rvu, u16 pcifunc, in rvu_npc_enable_promisc_entry() 917 void rvu_npc_install_bcast_match_entry(struct rvu *rvu, u16 pcifunc, in rvu_npc_install_bcast_match_entry() 988 void rvu_npc_install_allmulti_entry(struct rvu *rvu, u16 pcifunc, int nixlf, in rvu_npc_install_allmulti_entry() 1083 void rvu_npc_enable_allmulti_entry(struct rvu *rvu, u16 pcifunc, int nixlf, in rvu_npc_enable_allmulti_entry() 1109 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 | 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 | 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_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() 263 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 | 1252 static void rvu_mcam_remove_counter_from_rule(struct rvu *rvu, u16 pcifunc, in rvu_mcam_remove_counter_from_rule() 1268 static void rvu_mcam_add_counter_to_rule(struct rvu *rvu, u16 pcifunc, in rvu_mcam_add_counter_to_rule() 1655 rvu_npc_free_entry_for_flow_install(struct rvu *rvu, u16 pcifunc, in rvu_npc_free_entry_for_flow_install() 1914 u16 pcifunc) in npc_delete_flow() 1940 u16 pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_npc_delete_flow() local
|
| H A D | rvu.h | 167 u32 pcifunc; member 886 static inline bool is_lbk_vf(struct rvu *rvu, u16 pcifunc) in is_lbk_vf() 892 static inline bool is_vf(u16 pcifunc) in is_vf() 898 static inline bool is_pffunc_af(u16 pcifunc) in is_pffunc_af() 952 static inline bool is_rep_dev(struct rvu *rvu, u16 pcifunc) in is_rep_dev() 960 static inline int rvu_get_pf(struct pci_dev *pdev, u16 pcifunc) in rvu_get_pf() 983 static inline bool is_cgx_vf(struct rvu *rvu, u16 pcifunc) in is_cgx_vf()
|
| 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
|
| H A D | mbox.h | 102 u16 pcifunc; /* Who's sending this msg */ member 1414 u16 pcifunc[NIX_MCE_ENTRY_MAX]; member 1515 u16 pcifunc; member 1521 u16 pcifunc; member 1805 u16 pcifunc; member
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/ |
| H A D | npc.c | 38 #define NPC_DFT_RULE_ID_MK(pcifunc, id) \ argument 406 static int npc_vidx_maps_add_entry(struct rvu *rvu, u16 mcam_idx, int pcifunc, in npc_vidx_maps_add_entry() 1369 u16 pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_npc_cn20k_mcam_write_entry() local 1412 u16 pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_npc_cn20k_mcam_read_entry() local 1502 static int rvu_npc_get_base_steer_rule_type(struct rvu *rvu, u16 pcifunc) in rvu_npc_get_base_steer_rule_type() 1516 u16 pcifunc = req->hdr.pcifunc; in rvu_mbox_handler_npc_cn20k_read_base_steer_rule() local 2409 int pcifunc, idx; in npc_del_from_pf_maps() local 2442 npc_add_to_pf_maps(struct rvu *rvu, u16 mcam_idx, int pcifunc) in npc_add_to_pf_maps() 3197 int npc_cn20k_ref_idx_alloc(struct rvu *rvu, int pcifunc, int key_type, in npc_cn20k_ref_idx_alloc() 3474 u16 pcifunc; in npc_pcifunc_map_create() local [all …]
|
| /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() 654 u16 pcifunc; in rvu_rep_create() local
|