Home
last modified time | relevance | path

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

/linux-6.1.9/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()
262 struct nix_hw *nix_hw; in is_valid_txschq() local
265 nix_hw = get_nix_hw(rvu->hw, blkaddr); in is_valid_txschq()
[all …]
Drvu_debugfs.c1395 struct nix_hw *nix_hw; in ndc_cache_stats() local
1402 nix_hw = s->private; in ndc_cache_stats()
1403 rvu = nix_hw->rvu; in ndc_cache_stats()
1448 struct nix_hw *nix_hw; in ndc_blk_hits_miss_stats() local
1455 nix_hw = s->private; in ndc_blk_hits_miss_stats()
1456 rvu = nix_hw->rvu; in ndc_blk_hits_miss_stats()
1474 struct nix_hw *nix_hw = filp->private; in rvu_dbg_nix_ndc_rx_cache_display() local
1478 blkaddr = (nix_hw->blkaddr == BLKADDR_NIX1 ? in rvu_dbg_nix_ndc_rx_cache_display()
1480 ndc_idx = (nix_hw->blkaddr == BLKADDR_NIX1 ? NIX1_RX : NIX0_RX); in rvu_dbg_nix_ndc_rx_cache_display()
1489 struct nix_hw *nix_hw = filp->private; in rvu_dbg_nix_ndc_tx_cache_display() local
[all …]
Drvu.h316 struct nix_hw { struct
376 struct nix_hw *nix;
759 int rvu_nix_reserve_mark_format(struct rvu *rvu, struct nix_hw *nix_hw,
770 struct nix_hw *get_nix_hw(struct rvu_hwinfo *hw, int blkaddr);
774 struct nix_hw **nix_hw, int *blkaddr);
777 int nix_aq_context_read(struct rvu *rvu, struct nix_hw *nix_hw,
Drvu.c1897 struct nix_hw *nix_hw; in rvu_mbox_handler_free_rsrc_cnt() local
1938 nix_hw = get_nix_hw(hw, BLKADDR_NIX0); in rvu_mbox_handler_free_rsrc_cnt()
1939 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()
1943 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4]; in rvu_mbox_handler_free_rsrc_cnt()
1947 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL3]; in rvu_mbox_handler_free_rsrc_cnt()
1951 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL2]; in rvu_mbox_handler_free_rsrc_cnt()
1958 nix_hw = get_nix_hw(hw, BLKADDR_NIX1); in rvu_mbox_handler_free_rsrc_cnt()
1959 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()
1963 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4]; in rvu_mbox_handler_free_rsrc_cnt()
1967 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()