| /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_nix.c | 85 u16 pcifunc; member 109 bool is_nixlf_attached(struct rvu *rvu, u16 pcifunc) in is_nixlf_attached() 134 int nix_get_nixlf(struct rvu *rvu, u16 pcifunc, int *nixlf, int *nix_blkaddr) in nix_get_nixlf() 154 int nix_get_struct_ptrs(struct rvu *rvu, u16 pcifunc, in nix_get_struct_ptrs() 303 int lvl, u16 pcifunc, u16 schq) in is_valid_txschq() 340 static int nix_interface_init(struct rvu *rvu, u16 pcifunc, int type, int nixlf, in nix_interface_init() 491 static void nix_interface_deinit(struct rvu *rvu, u16 pcifunc, u8 nixlf) in nix_interface_deinit() 559 void rvu_nix_flr_free_bpids(struct rvu *rvu, u16 pcifunc) in rvu_nix_flr_free_bpids() 599 u16 pcifunc = req->hdr.pcifunc; in nix_bp_disable() local 747 u16 pcifunc = req->hdr.pcifunc; in nix_bp_enable() local [all …]
|
| 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.c | 226 int rvu_get_lf(struct rvu *rvu, struct rvu_block *block, u16 pcifunc, u16 slot) in rvu_get_lf() 254 int rvu_get_blkaddr(struct rvu *rvu, int blktype, u16 pcifunc) in rvu_get_blkaddr() 343 struct rvu_block *block, u16 pcifunc, in rvu_update_rsrc_map() 416 int rvu_get_hwvf(struct rvu *rvu, int pcifunc) in rvu_get_hwvf() 430 struct rvu_pfvf *rvu_get_pfvf(struct rvu *rvu, int pcifunc) in rvu_get_pfvf() 439 bool is_pf_func_valid(struct rvu *rvu, u16 pcifunc) in is_pf_func_valid() 1321 bool is_pffunc_map_valid(struct rvu *rvu, u16 pcifunc, int blktype) in is_pffunc_map_valid() 1338 int pcifunc, int slot) in rvu_lookup_rsrc() 1358 int rvu_get_blkaddr_from_slot(struct rvu *rvu, int blktype, u16 pcifunc, in rvu_get_blkaddr_from_slot() 1412 static void rvu_detach_block(struct rvu *rvu, int pcifunc, int blktype) in rvu_detach_block() [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_debugfs.c | 649 static void get_lf_str_list(const struct rvu_block *block, int pcifunc, in get_lf_str_list() 687 u16 pcifunc; in get_max_column_width() local 720 int index, pf, vf, pcifunc; in rvu_dbg_rsrc_attach_status() local 793 u16 pcifunc; in rvu_dbg_rvu_pf_cgx_map_display() local 909 u16 *pcifunc) in rvu_dbg_is_valid_lf() 962 u16 pcifunc; in rvu_dbg_qsize_display() local 1004 u16 pcifunc; in rvu_dbg_qsize_write() local 1177 u16 pcifunc; in rvu_dbg_npa_ctx_display() local 1258 u16 pcifunc; in write_npa_ctx() local 1659 u16 pcifunc; in rvu_dbg_nix_tm_tree_display() local [all …]
|
| 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() argument 565 int mcs_alloc_ctrlpktrule(struct rsrc_bmap *rsrc, u16 *pf_map, u16 offset, u16 pcifunc) in mcs_alloc_ctrlpktrule() argument 584 u16 pcifunc = req->hdr.pcifunc; in mcs_free_ctrlpktrule() local 700 mcs_free_rsrc(struct rsrc_bmap * rsrc,u16 * pf_map,int rsrc_id,u16 pcifunc) mcs_free_rsrc() argument 712 mcs_free_all_rsrc(struct mcs * mcs,int dir,u16 pcifunc) mcs_free_all_rsrc() argument 760 mcs_alloc_rsrc(struct rsrc_bmap * rsrc,u16 * pf_map,u16 pcifunc) mcs_alloc_rsrc() argument 772 mcs_alloc_all_rsrc(struct mcs * mcs,u8 * flow_id,u8 * secy_id,u8 * sc_id,u8 * sa1_id,u8 * sa2_id,u16 pcifunc,int dir) mcs_alloc_all_rsrc() argument [all...] |
| 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
|