Home
last modified time | relevance | path

Searched refs:nixlf (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c77 if (!pfvf->nixlf || blkaddr < 0) in is_nixlf_attached()
170 static int nix_interface_init(struct rvu *rvu, u16 pcifunc, int type, int nixlf) in nix_interface_init() argument
206 rvu_npc_install_promisc_entry(rvu, pcifunc, nixlf, in nix_interface_init()
214 rvu_npc_install_ucast_entry(rvu, pcifunc, nixlf, in nix_interface_init()
227 nixlf, pfvf->rx_chan_base); in nix_interface_init()
234 static void nix_interface_deinit(struct rvu *rvu, u16 pcifunc, u8 nixlf) in nix_interface_deinit() argument
252 rvu_npc_disable_mcam_entries(rvu, pcifunc, nixlf); in nix_interface_deinit()
384 struct rvu_pfvf *pfvf, int nixlf, in nixlf_rss_ctx_init()
399 rvu_write64(rvu, blkaddr, NIX_AF_LFX_RSS_BASE(nixlf), in nixlf_rss_ctx_init()
403 rvu_write64(rvu, blkaddr, NIX_AF_LFX_RSS_CFG(nixlf), in nixlf_rss_ctx_init()
[all …]
Drvu.h107 bool nixlf; /* Only one NIXLF per RVU_FUNC */ member
456 int nixlf, u64 chan, u8 *mac_addr);
458 int nixlf, u64 chan, bool allmulti);
459 void rvu_npc_disable_promisc_entry(struct rvu *rvu, u16 pcifunc, int nixlf);
460 void rvu_npc_enable_promisc_entry(struct rvu *rvu, u16 pcifunc, int nixlf);
462 int nixlf, u64 chan);
463 int rvu_npc_update_rxvlan(struct rvu *rvu, u16 pcifunc, int nixlf);
464 void rvu_npc_disable_mcam_entries(struct rvu *rvu, u16 pcifunc, int nixlf);
465 void rvu_npc_disable_default_entries(struct rvu *rvu, u16 pcifunc, int nixlf);
466 void rvu_npc_enable_default_entries(struct rvu *rvu, u16 pcifunc, int nixlf);
[all …]
Drvu_npc.c65 u16 pcifunc, int nixlf, int type) in npc_get_nixlf_mcam_index() argument
84 return (mcam->nixlf_offset + (nixlf * RSVD_MCAM_ENTRIES_PER_NIXLF)); in npc_get_nixlf_mcam_index()
309 int nixlf, u64 chan, u8 *mac_addr) in rvu_npc_install_ucast_entry() argument
330 nixlf, NIXLF_UCAST_ENTRY); in rvu_npc_install_ucast_entry()
369 int nixlf, u64 chan, bool allmulti) in rvu_npc_install_promisc_entry() argument
385 nixlf, NIXLF_PROMISC_ENTRY); in rvu_npc_install_promisc_entry()
397 nixlf, NIXLF_UCAST_ENTRY); in rvu_npc_install_promisc_entry()
418 int nixlf, bool enable) in npc_enadis_promisc_entry() argument
432 nixlf, NIXLF_PROMISC_ENTRY); in npc_enadis_promisc_entry()
436 void rvu_npc_disable_promisc_entry(struct rvu *rvu, u16 pcifunc, int nixlf) in rvu_npc_disable_promisc_entry() argument
[all …]
Drvu.c291 pfvf->nixlf = attach ? true : false; in rvu_update_rsrc_map()
292 num_lfs = pfvf->nixlf; in rvu_update_rsrc_map()
895 return pfvf->nixlf ? 1 : 0; in rvu_get_rsrc_mapcount()
1008 else if ((blkid == BLKADDR_NIX0) && !detach->nixlf) in rvu_detach_rsrcs()
1093 if (req->nixlf && !rvu_get_rsrc_mapcount(pfvf, BLKTYPE_NIX)) { in rvu_check_rsrc_availability()
1098 } else if (req->nixlf) { in rvu_check_rsrc_availability()
1196 if (attach->nixlf) in rvu_mbox_handler_attach_resources()
Dmbox.h263 u8 nixlf:1; member
279 u8 nixlf:1; member