Home
last modified time | relevance | path

Searched refs:nix_hw (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c25 struct nix_hw *nix_hw, int blkaddr);
26 static void nix_ipolicer_freemem(struct rvu *rvu, struct nix_hw *nix_hw);
28 struct nix_hw *nix_hw, u16 pcifunc);
30 static void nix_clear_ratelimit_aggr(struct rvu *rvu, struct nix_hw *nix_hw,
145 struct nix_hw **nix_hw, int *blkaddr) in nix_get_struct_ptrs() argument
154 *nix_hw = get_nix_hw(rvu->hw, *blkaddr); in nix_get_struct_ptrs()
155 if (!*nix_hw) in nix_get_struct_ptrs()
179 struct nix_hw *get_nix_hw(struct rvu_hwinfo *hw, int blkaddr) in get_nix_hw()
274 struct nix_hw *nix_hw; in is_valid_txschq() local
277 nix_hw = get_nix_hw(rvu->hw, blkaddr); in is_valid_txschq()
[all …]
Drvu_debugfs.c1398 struct nix_hw *nix_hw; in ndc_cache_stats() local
1405 nix_hw = s->private; in ndc_cache_stats()
1406 rvu = nix_hw->rvu; in ndc_cache_stats()
1451 struct nix_hw *nix_hw; in ndc_blk_hits_miss_stats() local
1459 nix_hw = s->private; in ndc_blk_hits_miss_stats()
1460 rvu = nix_hw->rvu; in ndc_blk_hits_miss_stats()
1479 struct nix_hw *nix_hw = filp->private; in rvu_dbg_nix_ndc_rx_cache_display() local
1483 blkaddr = (nix_hw->blkaddr == BLKADDR_NIX1 ? in rvu_dbg_nix_ndc_rx_cache_display()
1485 ndc_idx = (nix_hw->blkaddr == BLKADDR_NIX1 ? NIX1_RX : NIX0_RX); in rvu_dbg_nix_ndc_rx_cache_display()
1494 struct nix_hw *nix_hw = filp->private; in rvu_dbg_nix_ndc_tx_cache_display() local
[all …]
Drvu.h337 struct nix_hw { struct
398 struct nix_hw *nix;
822 int rvu_nix_reserve_mark_format(struct rvu *rvu, struct nix_hw *nix_hw,
833 struct nix_hw *get_nix_hw(struct rvu_hwinfo *hw, int blkaddr);
837 struct nix_hw **nix_hw, int *blkaddr);
840 int nix_aq_context_read(struct rvu *rvu, struct nix_hw *nix_hw,
939 void rvu_nix_block_cn10k_init(struct rvu *rvu, struct nix_hw *nix_hw);
Drvu_switch.c14 struct nix_hw *nix_hw; in rvu_switch_enable_lbk_link() local
16 nix_hw = get_nix_hw(rvu->hw, pfvf->nix_blkaddr); in rvu_switch_enable_lbk_link()
19 &nix_hw->txsch[NIX_TXSCH_LVL_TL2], enable); in rvu_switch_enable_lbk_link()
Drvu_cn10k.c545 void rvu_nix_block_cn10k_init(struct rvu *rvu, struct nix_hw *nix_hw) in rvu_nix_block_cn10k_init() argument
547 int blkaddr = nix_hw->blkaddr; in rvu_nix_block_cn10k_init()
Drvu.c1905 struct nix_hw *nix_hw; in rvu_mbox_handler_free_rsrc_cnt() local
1946 nix_hw = get_nix_hw(hw, BLKADDR_NIX0); in rvu_mbox_handler_free_rsrc_cnt()
1947 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()
1951 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4]; in rvu_mbox_handler_free_rsrc_cnt()
1955 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL3]; in rvu_mbox_handler_free_rsrc_cnt()
1959 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL2]; in rvu_mbox_handler_free_rsrc_cnt()
1966 nix_hw = get_nix_hw(hw, BLKADDR_NIX1); in rvu_mbox_handler_free_rsrc_cnt()
1967 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()
1971 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4]; in rvu_mbox_handler_free_rsrc_cnt()
1975 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL3]; in rvu_mbox_handler_free_rsrc_cnt()
[all …]
Drvu_devlink.c1377 struct nix_hw *nix_hw; in rvu_af_dl_dwrr_mtu_validate() local
1392 nix_hw = get_nix_hw(rvu->hw, BLKADDR_NIX0); in rvu_af_dl_dwrr_mtu_validate()
1393 if (!nix_hw) in rvu_af_dl_dwrr_mtu_validate()
1396 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_af_dl_dwrr_mtu_validate()