Home
last modified time | relevance | path

Searched refs:pf2cgxlmac_map (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_cgx.c96 rvu->pf2cgxlmac_map = devm_kmalloc(rvu->dev, size, GFP_KERNEL); in rvu_map_cgx_lmac_pf()
97 if (!rvu->pf2cgxlmac_map) in rvu_map_cgx_lmac_pf()
101 memset(rvu->pf2cgxlmac_map, 0xFF, size); in rvu_map_cgx_lmac_pf()
116 rvu->pf2cgxlmac_map[pf] = cgxlmac_id_to_bmap(cgx, lmac); in rvu_map_cgx_lmac_pf()
375 rvu_get_cgx_lmac_id(rvu->pf2cgxlmac_map[pf], &cgx_id, &lmac_id); in rvu_cgx_enadis_rx_bp()
393 rvu_get_cgx_lmac_id(rvu->pf2cgxlmac_map[pf], &cgx_id, &lmac_id); in rvu_cgx_config_rxtx()
426 rvu_get_cgx_lmac_id(rvu->pf2cgxlmac_map[pf], &cgx_idx, &lmac); in rvu_mbox_handler_cgx_stats()
460 rvu_get_cgx_lmac_id(rvu->pf2cgxlmac_map[pf], &cgx_id, &lmac_id); in rvu_mbox_handler_cgx_mac_addr_set()
479 rvu_get_cgx_lmac_id(rvu->pf2cgxlmac_map[pf], &cgx_id, &lmac_id); in rvu_mbox_handler_cgx_mac_addr_get()
499 rvu_get_cgx_lmac_id(rvu->pf2cgxlmac_map[pf], &cgx_id, &lmac_id); in rvu_mbox_handler_cgx_promisc_enable()
[all …]
Drvu.h339 u8 *pf2cgxlmac_map; /* pf to cgx_lmac map */ member
Drvu_nix.c200 pfvf->cgx_lmac = rvu->pf2cgxlmac_map[pf]; in nix_interface_init()
1313 rvu_get_cgx_lmac_id(rvu->pf2cgxlmac_map[pf], &cgx_id, &lmac_id); in nix_get_tx_link()
1574 rvu_get_cgx_lmac_id(rvu->pf2cgxlmac_map[pf], &cgx_id, &lmac_id); in nix_smq_flush()
2857 rvu_get_cgx_lmac_id(rvu->pf2cgxlmac_map[pf], &cgx, &lmac); in rvu_mbox_handler_nix_set_hw_frs()