drivers/net/ethernet/marvell/octeontx2/af/rvu.c
1999
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
2040
nix_hw = get_nix_hw(hw, BLKADDR_NIX0);
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
2041
txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ];
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
2045
txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4];
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
2049
txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL3];
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
2053
txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL2];
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
2060
nix_hw = get_nix_hw(hw, BLKADDR_NIX1);
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
2061
txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ];
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
2065
txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4];
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
2069
txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL3];
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
2073
txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL2];
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
1018
int rvu_nix_reserve_mark_format(struct rvu *rvu, struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
1029
struct nix_hw *get_nix_hw(struct rvu_hwinfo *hw, int blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
1033
struct nix_hw **nix_hw, int *blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
1036
int nix_aq_context_read(struct rvu *rvu, struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
1162
void rvu_nix_block_cn10k_init(struct rvu *rvu, struct nix_hw *nix_hw);
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
463
struct nix_hw *nix;
drivers/net/ethernet/marvell/octeontx2/af/rvu_cn10k.c
568
void rvu_nix_block_cn10k_init(struct rvu *rvu, struct nix_hw *nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_cn10k.c
570
int blkaddr = nix_hw->blkaddr;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1440
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1447
nix_hw = s->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1448
rvu = nix_hw->rvu;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1493
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1501
nix_hw = s->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1502
rvu = nix_hw->rvu;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1521
struct nix_hw *nix_hw = filp->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1525
blkaddr = (nix_hw->blkaddr == BLKADDR_NIX1 ?
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1527
ndc_idx = (nix_hw->blkaddr == BLKADDR_NIX1 ? NIX1_RX : NIX0_RX);
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1536
struct nix_hw *nix_hw = filp->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1540
blkaddr = (nix_hw->blkaddr == BLKADDR_NIX1 ?
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1542
ndc_idx = (nix_hw->blkaddr == BLKADDR_NIX1 ? NIX1_TX : NIX0_TX);
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1560
struct nix_hw *nix_hw = filp->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1564
blkaddr = (nix_hw->blkaddr == BLKADDR_NIX1 ?
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1575
struct nix_hw *nix_hw = filp->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1579
blkaddr = (nix_hw->blkaddr == BLKADDR_NIX1 ?
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1654
struct nix_hw *nix_hw = m->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1655
struct rvu *rvu = nix_hw->rvu;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1663
blkaddr = nix_hw->blkaddr;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1686
struct nix_hw *nix_hw = m->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1687
struct rvu *rvu = nix_hw->rvu;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1696
if (!rvu_dbg_is_valid_lf(rvu, nix_hw->blkaddr, nixlf, &pcifunc))
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1731
struct nix_hw *nix_hw = m->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1732
struct rvu *rvu = nix_hw->rvu;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1742
if (!rvu_dbg_is_valid_lf(rvu, nix_hw->blkaddr, nixlf, &pcifunc))
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1759
struct nix_hw *nix_hw = m->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1760
struct rvu *rvu = nix_hw->rvu;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1765
blkaddr = nix_hw->blkaddr;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1955
struct nix_hw *nix_hw = m->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1956
struct rvu *rvu = nix_hw->rvu;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1964
if (!rvu_dbg_is_valid_lf(rvu, nix_hw->blkaddr, nixlf, &pcifunc))
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1974
txsch = &nix_hw->txsch[lvl];
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1988
struct nix_hw *nix_hw = m->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1989
struct rvu *rvu = nix_hw->rvu;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
1999
if (!rvu_dbg_is_valid_lf(rvu, nix_hw->blkaddr, nixlf, &pcifunc))
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2018
struct nix_hw *nix_hw = m->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2019
struct rvu *rvu = nix_hw->rvu;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2173
struct nix_hw *nix_hw = m->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2174
struct rvu *rvu = nix_hw->rvu;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2242
struct nix_hw *nix_hw = m->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2243
struct rvu *rvu = nix_hw->rvu;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2297
struct nix_hw *nix_hw = filp->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2298
struct rvu *rvu = nix_hw->rvu;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2330
if (!rvu_dbg_is_valid_lf(rvu, nix_hw->blkaddr, nixlf, &pcifunc))
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2385
struct nix_hw *nix_hw = m->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2390
if (!rvu_dbg_is_valid_lf(rvu, nix_hw->blkaddr, nixlf, &pcifunc))
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2450
struct nix_hw *nix_hw = m->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2451
struct rvu *rvu = nix_hw->rvu;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2666
struct nix_hw *nix_hw = m->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2669
struct rvu *rvu = nix_hw->rvu;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2676
if (!nix_hw->ipolicer)
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2688
ipolicer = &nix_hw->ipolicer[layer];
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2695
rc = nix_aq_context_read(rvu, nix_hw, &aq_req, &aq_rsp,
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2723
struct nix_hw *nix_hw = m->private;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2729
if (!nix_hw->ipolicer)
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2740
ipolicer = &nix_hw->ipolicer[layer];
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2754
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2761
nix_hw = &rvu->hw->nix[0];
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2765
nix_hw = &rvu->hw->nix[1];
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2768
debugfs_create_file("tm_tree", 0600, rvu->rvu_dbg.nix, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2770
debugfs_create_file("tm_topo", 0600, rvu->rvu_dbg.nix, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2772
debugfs_create_file("sq_ctx", 0600, rvu->rvu_dbg.nix, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2774
debugfs_create_file("rq_ctx", 0600, rvu->rvu_dbg.nix, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2776
debugfs_create_file("cq_ctx", 0600, rvu->rvu_dbg.nix, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2778
debugfs_create_file("ndc_tx_cache", 0600, rvu->rvu_dbg.nix, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2780
debugfs_create_file("ndc_rx_cache", 0600, rvu->rvu_dbg.nix, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2782
debugfs_create_file("ndc_tx_hits_miss", 0600, rvu->rvu_dbg.nix, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2784
debugfs_create_file("ndc_rx_hits_miss", 0600, rvu->rvu_dbg.nix, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2788
debugfs_create_file("ingress_policer_ctx", 0600, rvu->rvu_dbg.nix, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
2790
debugfs_create_file("ingress_policer_rsrc", 0600, rvu->rvu_dbg.nix, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c
1190
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c
1205
nix_hw = get_nix_hw(rvu->hw, BLKADDR_NIX0);
drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c
1206
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c
1209
txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
1044
static int rvu_nix_blk_aq_enq_inst(struct rvu *rvu, struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
1060
blkaddr = nix_hw->blkaddr;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
1105
if (!nix_hw->mcast.mce_ctx ||
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
1117
nix_hw, pcifunc))
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
1281
static int rvu_nix_verify_aq_ctx(struct rvu *rvu, struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
1291
rc = nix_aq_context_read(rvu, nix_hw, &aq_req, &aq_rsp,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
1341
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
1349
nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
1350
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
1354
err = rvu_nix_blk_aq_enq_inst(rvu, nix_hw, req, rsp);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
1361
err = rvu_nix_verify_aq_ctx(rvu, nix_hw, req, NIX_AQ_CTYPE_CQ);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
155
struct nix_hw **nix_hw, int *blkaddr)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
164
*nix_hw = get_nix_hw(rvu->hw, *blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
165
if (!*nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
1832
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
1842
nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
1843
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
1851
rc = rvu_nix_reserve_mark_format(rvu, nix_hw, blkaddr, cfg);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
204
struct nix_hw *get_nix_hw(struct rvu_hwinfo *hw, int blkaddr)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2142
struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2150
txsch = &nix_hw->txsch[lvl];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2283
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2292
nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2293
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2302
rc = nix_check_txschq_alloc_req(rvu, lvl, pcifunc, nix_hw, req);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2309
txsch = &nix_hw->txsch[lvl];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2420
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2424
nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2425
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2429
txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL2];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2579
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2586
nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2587
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2597
txsch = &nix_hw->txsch[lvl];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2617
txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL1];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2627
txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2642
txsch = &nix_hw->txsch[lvl];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2667
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2675
nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2676
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2685
txsch = &nix_hw->txsch[lvl];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
27
struct nix_hw *nix_hw, int blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
28
static void nix_ipolicer_freemem(struct rvu *rvu, struct nix_hw *nix_hw);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2817
static void nix_tl1_default_cfg(struct rvu *rvu, struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2824
pfvf_map = nix_hw->txsch[NIX_TXSCH_LVL_TL1].pfvf_map;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2850
static int nix_txschq_cfg_read(struct rvu *rvu, struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2910
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2923
nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2924
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2928
return nix_txschq_cfg_read(rvu, nix_hw, blkaddr, req, rsp);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2930
txsch = &nix_hw->txsch[req->lvl];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
2937
nix_tl1_default_cfg(rvu, nix_hw, pcifunc, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
299
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
30
struct nix_hw *nix_hw, u16 pcifunc);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
302
nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
303
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3033
struct nix_hw *nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3036
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3039
vlan = &nix_hw->txvlan;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3057
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
306
txsch = &nix_hw->txsch[lvl];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3064
nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3065
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3068
vlan = &nix_hw->txvlan;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3082
struct nix_hw *nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3087
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3090
vlan = &nix_hw->txvlan;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3115
struct nix_hw *nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3122
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3125
vlan = &nix_hw->txvlan;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3151
struct nix_hw *nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3155
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3158
vlan = &nix_hw->txvlan;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
32
static void nix_clear_ratelimit_aggr(struct rvu *rvu, struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3222
static int nix_blk_setup_mce(struct rvu *rvu, struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3244
err = rvu_nix_blk_aq_enq_inst(rvu, nix_hw, &aq_req, NULL);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3275
struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3296
err = nix_blk_setup_mce(rvu, nix_hw, idx - 1, NIX_AQ_INSTOP_WRITE,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3310
err = nix_blk_setup_mce(rvu, nix_hw, idx, NIX_AQ_INSTOP_WRITE,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3325
struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3349
rvu_write64(rvu, nix_hw->blkaddr,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3363
rvu_write64(rvu, nix_hw->blkaddr,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3372
struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3403
return nix_update_ingress_mce_list_hw(rvu, nix_hw, elem);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3405
nix_update_egress_mce_list_hw(rvu, nix_hw, elem);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3410
struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3439
return nix_update_ingress_mce_list_hw(rvu, nix_hw, elem);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3441
nix_update_egress_mce_list_hw(rvu, nix_hw, elem);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3503
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3520
err = nix_get_struct_ptrs(rvu, pcifunc, &nix_hw, &blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3524
mcast = &nix_hw->mcast;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3547
err = nix_blk_setup_mce(rvu, nix_hw, idx, NIX_AQ_INSTOP_WRITE,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3634
static void nix_setup_mcast_grp(struct nix_hw *nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3636
struct nix_mcast_grp *mcast_grp = &nix_hw->mcast_grp;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3644
static int nix_setup_mce_tables(struct rvu *rvu, struct nix_hw *nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3646
struct nix_mcast *mcast = &nix_hw->mcast;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3664
if (pfvf->nix_blkaddr != nix_hw->blkaddr)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3688
err = nix_blk_setup_mce(rvu, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3696
err = nix_blk_setup_mce(rvu, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3704
err = nix_blk_setup_mce(rvu, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3715
static int nix_setup_mcast(struct rvu *rvu, struct nix_hw *nix_hw, int blkaddr)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3717
struct nix_mcast *mcast = &nix_hw->mcast;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3776
nix_setup_mcast_grp(nix_hw);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3778
return nix_setup_mce_tables(rvu, nix_hw);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3781
static int nix_setup_txvlan(struct rvu *rvu, struct nix_hw *nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3783
struct nix_txvlan *vlan = &nix_hw->txvlan;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3806
static int nix_setup_txschq(struct rvu *rvu, struct nix_hw *nix_hw, int blkaddr)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3816
txsch = &nix_hw->txsch[lvl];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3869
int rvu_nix_reserve_mark_format(struct rvu *rvu, struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3874
for (fmt_idx = 0; fmt_idx < nix_hw->mark_format.in_use; fmt_idx++) {
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3875
if (nix_hw->mark_format.cfg[fmt_idx] == cfg)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3878
if (fmt_idx >= nix_hw->mark_format.total)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3882
nix_hw->mark_format.cfg[fmt_idx] = cfg;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3883
nix_hw->mark_format.in_use++;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3887
static int nix_af_mark_format_setup(struct rvu *rvu, struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3905
nix_hw->mark_format.total = (u8)total;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3906
nix_hw->mark_format.cfg = devm_kcalloc(rvu->dev, total, sizeof(u32),
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3908
if (!nix_hw->mark_format.cfg)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
3911
rc = rvu_nix_reserve_mark_format(rvu, nix_hw, blkaddr, cfgs[i]);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4011
static int get_flowkey_alg_idx(struct nix_hw *nix_hw, u32 flow_cfg)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4016
for (i = 0; i < nix_hw->flowkey.in_use; i++)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4017
if (nix_hw->flowkey.flowkey[i] == flow_cfg)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4358
struct nix_hw *hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4394
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4401
nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4402
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4405
alg_idx = get_flowkey_alg_idx(nix_hw, req->flowkey_cfg);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4665
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4675
nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4676
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4769
struct nix_hw *nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4809
nix_hw->cc_mcs_cnt = is_mcs_bypass(0) ? 0 : 2;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4835
cfg |= FIELD_PREP(NIX_AF_LINKX_MCS_CNT_MASK, nix_hw->cc_mcs_cnt);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4838
nix_hw->tx_credits[link] = tx_credits;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4848
nix_hw->tx_credits[link] = tx_credits;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4967
static int rvu_nix_block_init(struct rvu *rvu, struct nix_hw *nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
4971
int blkaddr = nix_hw->blkaddr;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5031
rvu_nix_block_cn10k_init(rvu, nix_hw);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5034
err = nix_setup_txschq(rvu, nix_hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5038
err = nix_setup_ipolicers(rvu, nix_hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5042
err = nix_af_mark_format_setup(rvu, nix_hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5046
err = nix_setup_mcast(rvu, nix_hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5050
err = nix_setup_txvlan(rvu, nix_hw);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5054
err = nix_setup_bpids(rvu, nix_hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5059
nix_setup_lso(rvu, nix_hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
508
static int nix_setup_bpids(struct rvu *rvu, struct nix_hw *hw, int blkaddr)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5137
nix_hw->tx_credits = kcalloc(hw->cgx_links + hw->lbk_links,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5139
if (!nix_hw->tx_credits)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5143
nix_link_config(rvu, blkaddr, nix_hw);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5154
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5158
hw->nix = devm_kcalloc(rvu->dev, MAX_NIX_BLKS, sizeof(struct nix_hw),
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5165
nix_hw = &hw->nix[i];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5166
nix_hw->rvu = rvu;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5167
nix_hw->blkaddr = blkaddr;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5168
err = rvu_nix_block_init(rvu, nix_hw);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5184
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5190
nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5191
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5195
txsch = &nix_hw->txsch[lvl];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5199
kfree(nix_hw->tx_credits);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5201
nix_ipolicer_freemem(rvu, nix_hw);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5203
vlan = &nix_hw->txvlan;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5207
mcast = &nix_hw->mcast;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5258
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5262
nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5263
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5266
mcast_grp = &nix_hw->mcast_grp;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5286
nix_update_ingress_mce_list_hw(rvu, nix_hw, elem);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5288
nix_update_egress_mce_list_hw(rvu, nix_hw, elem);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5494
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5504
nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5505
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5509
for (idx = 0; idx < nix_hw->lso.in_use; idx++) {
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5521
if (idx < nix_hw->lso.in_use) {
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5527
if (nix_hw->lso.in_use == nix_hw->lso.total)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5530
rsp->lso_format_idx = nix_hw->lso.in_use++;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
554
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
560
err = nix_get_struct_ptrs(rvu, pcifunc, &nix_hw, &blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
564
bp = &nix_hw->bp;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5743
static int nix_init_policer_context(struct rvu *rvu, struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5756
rc = rvu_nix_blk_aq_enq_inst(rvu, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5765
struct nix_hw *nix_hw, int blkaddr)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5779
nix_hw->ipolicer = devm_kcalloc(rvu->dev, BAND_PROF_NUM_LAYERS,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5781
if (!nix_hw->ipolicer)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5787
ipolicer = &nix_hw->ipolicer[layer];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5829
err = nix_init_policer_context(rvu, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5857
static void nix_ipolicer_freemem(struct rvu *rvu, struct nix_hw *nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5866
ipolicer = &nix_hw->ipolicer[layer];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5878
struct nix_hw *nix_hw, u16 pcifunc)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5887
ipolicer = &nix_hw->ipolicer[layer];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5914
ipolicer = &nix_hw->ipolicer[hi_layer];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5931
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5936
err = nix_get_struct_ptrs(rvu, pcifunc, &nix_hw, &blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5947
ipolicer = &nix_hw->ipolicer[layer];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
595
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5969
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5974
err = nix_get_struct_ptrs(rvu, pcifunc, &nix_hw, &blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5983
ipolicer = &nix_hw->ipolicer[layer];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
5992
nix_clear_ratelimit_aggr(rvu, nix_hw, prof_idx);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6010
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6018
err = nix_get_struct_ptrs(rvu, pcifunc, &nix_hw, &blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6030
ipolicer = &nix_hw->ipolicer[layer];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6042
nix_clear_ratelimit_aggr(rvu, nix_hw, prof_idx);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6053
int nix_aq_context_read(struct rvu *rvu, struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6064
return rvu_nix_blk_aq_enq_inst(rvu, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6070
struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6088
return rvu_nix_blk_aq_enq_inst(rvu, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6102
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6108
rc = nix_get_struct_ptrs(rvu, pcifunc, &nix_hw, &blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6113
rc = nix_aq_context_read(rvu, nix_hw, &aq_req, &aq_rsp, pcifunc,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
612
err = nix_get_struct_ptrs(rvu, pcifunc, &nix_hw, &blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6129
ipolicer = &nix_hw->ipolicer[BAND_PROF_LEAF_LAYER];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6149
rc = nix_aq_context_read(rvu, nix_hw, &aq_req, &aq_rsp, 0x00,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6158
ipolicer = &nix_hw->ipolicer[BAND_PROF_MID_LAYER];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
616
bp = &nix_hw->bp;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6169
rc = nix_ipolicer_map_leaf_midprofs(rvu, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6201
rc = nix_aq_context_read(rvu, nix_hw, &aq_req, &aq_rsp, 0x00,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6221
rc = rvu_nix_blk_aq_enq_inst(rvu, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6231
rc = nix_ipolicer_map_leaf_midprofs(rvu, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6245
rc = nix_ipolicer_map_leaf_midprofs(rvu, nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6265
static void nix_clear_ratelimit_aggr(struct rvu *rvu, struct nix_hw *nix_hw,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6276
rc = nix_aq_context_read(rvu, nix_hw, &aq_req, &aq_rsp, 0x00,
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6292
ipolicer = &nix_hw->ipolicer[BAND_PROF_MID_LAYER];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6306
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6312
err = nix_get_struct_ptrs(rvu, req->hdr.pcifunc, &nix_hw, &blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6322
ipolicer = &nix_hw->ipolicer[layer];
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6357
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6361
nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6362
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6365
mcast_grp = &nix_hw->mcast_grp;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6384
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6388
nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6389
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6392
mcast_grp = &nix_hw->mcast_grp;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6437
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6441
nix_hw = get_nix_hw(rvu->hw, blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6442
if (!nix_hw)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6445
mcast_grp = &nix_hw->mcast_grp;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6463
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6466
err = nix_get_struct_ptrs(rvu, req->hdr.pcifunc, &nix_hw, &blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6470
mcast_grp = &nix_hw->mcast_grp;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6501
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6503
err = nix_get_struct_ptrs(rvu, req->hdr.pcifunc, &nix_hw, &blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6507
mcast_grp = &nix_hw->mcast_grp;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6530
mcast = &nix_hw->mcast;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6566
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6572
err = nix_get_struct_ptrs(rvu, req->hdr.pcifunc, &nix_hw, &blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6576
mcast_grp = &nix_hw->mcast_grp;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
660
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6607
mcast = &nix_hw->mcast;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6631
ret = nix_add_mce_list_entry(rvu, nix_hw, elem, req);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
6657
ret = nix_del_mce_list_entry(rvu, nix_hw, elem, req);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
666
err = nix_get_struct_ptrs(rvu, req->hdr.pcifunc, &nix_hw, &blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
670
bp = &nix_hw->bp;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
861
static void nix_setup_lso(struct rvu *rvu, struct nix_hw *nix_hw, int blkaddr)
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
867
nix_hw->lso.total = cfg;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
891
nix_hw->lso.in_use++;
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
904
nix_hw->lso.in_use++;
drivers/net/ethernet/marvell/octeontx2/af/rvu_switch.c
14
struct nix_hw *nix_hw;
drivers/net/ethernet/marvell/octeontx2/af/rvu_switch.c
16
nix_hw = get_nix_hw(rvu->hw, pfvf->nix_blkaddr);
drivers/net/ethernet/marvell/octeontx2/af/rvu_switch.c
19
&nix_hw->txsch[NIX_TXSCH_LVL_TL2], enable);