nix_hw 209 drivers/net/ethernet/marvell/octeontx2/af/rvu.h struct nix_hw *nix0; nix_hw 395 drivers/net/ethernet/marvell/octeontx2/af/rvu.h int rvu_nix_reserve_mark_format(struct rvu *rvu, struct nix_hw *nix_hw, nix_hw 113 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c static inline struct nix_hw *get_nix_hw(struct rvu_hwinfo *hw, int blkaddr) nix_hw 142 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_hw *nix_hw; nix_hw 145 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw = get_nix_hw(rvu->hw, blkaddr); nix_hw 146 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!nix_hw) nix_hw 149 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[lvl]; nix_hw 308 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c static void nix_setup_lso(struct rvu *rvu, struct nix_hw *nix_hw, int blkaddr) nix_hw 314 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw->lso.total = cfg; nix_hw 338 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw->lso.in_use++; nix_hw 351 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw->lso.in_use++; nix_hw 976 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_hw *nix_hw; nix_hw 986 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw = get_nix_hw(rvu->hw, blkaddr); nix_hw 987 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!nix_hw) nix_hw 995 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c rc = rvu_nix_reserve_mark_format(rvu, nix_hw, blkaddr, cfg); nix_hw 1069 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_hw *nix_hw; nix_hw 1076 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw = get_nix_hw(rvu->hw, blkaddr); nix_hw 1077 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!nix_hw) nix_hw 1081 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL1]; nix_hw 1139 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_hw *nix_hw; nix_hw 1149 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw = get_nix_hw(rvu->hw, blkaddr); nix_hw 1150 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!nix_hw) nix_hw 1155 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[lvl]; nix_hw 1187 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[lvl]; nix_hw 1244 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_hw *nix_hw; nix_hw 1251 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw = get_nix_hw(rvu->hw, blkaddr); nix_hw 1252 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!nix_hw) nix_hw 1265 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[lvl]; nix_hw 1274 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; nix_hw 1300 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[lvl]; nix_hw 1326 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_hw *nix_hw; nix_hw 1334 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw = get_nix_hw(rvu->hw, blkaddr); nix_hw 1335 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!nix_hw) nix_hw 1344 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[lvl]; nix_hw 1440 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_hw *nix_hw; nix_hw 1448 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw = get_nix_hw(rvu->hw, blkaddr); nix_hw 1449 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!nix_hw) nix_hw 1452 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c pfvf_map = nix_hw->txsch[NIX_TXSCH_LVL_TL1].pfvf_map; nix_hw 1498 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_hw *nix_hw; nix_hw 1511 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw = get_nix_hw(rvu->hw, blkaddr); nix_hw 1512 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!nix_hw) nix_hw 1519 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[req->lvl]; nix_hw 1698 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_hw *nix_hw; nix_hw 1710 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw = get_nix_hw(rvu->hw, blkaddr); nix_hw 1711 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!nix_hw) nix_hw 1714 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c mcast = &nix_hw->mcast; nix_hw 1763 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c static int nix_setup_bcast_tables(struct rvu *rvu, struct nix_hw *nix_hw) nix_hw 1765 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_mcast *mcast = &nix_hw->mcast; nix_hw 1805 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c static int nix_setup_mcast(struct rvu *rvu, struct nix_hw *nix_hw, int blkaddr) nix_hw 1807 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_mcast *mcast = &nix_hw->mcast; nix_hw 1846 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c return nix_setup_bcast_tables(rvu, nix_hw); nix_hw 1849 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c static int nix_setup_txschq(struct rvu *rvu, struct nix_hw *nix_hw, int blkaddr) nix_hw 1859 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[lvl]; nix_hw 1896 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c int rvu_nix_reserve_mark_format(struct rvu *rvu, struct nix_hw *nix_hw, nix_hw 1901 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c for (fmt_idx = 0; fmt_idx < nix_hw->mark_format.in_use; fmt_idx++) { nix_hw 1902 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (nix_hw->mark_format.cfg[fmt_idx] == cfg) nix_hw 1905 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (fmt_idx >= nix_hw->mark_format.total) nix_hw 1909 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw->mark_format.cfg[fmt_idx] = cfg; nix_hw 1910 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw->mark_format.in_use++; nix_hw 1914 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c static int nix_af_mark_format_setup(struct rvu *rvu, struct nix_hw *nix_hw, nix_hw 1932 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw->mark_format.total = (u8)total; nix_hw 1933 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw->mark_format.cfg = devm_kcalloc(rvu->dev, total, sizeof(u32), nix_hw 1935 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!nix_hw->mark_format.cfg) nix_hw 1938 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c rc = rvu_nix_reserve_mark_format(rvu, nix_hw, blkaddr, cfgs[i]); nix_hw 1978 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c static int get_flowkey_alg_idx(struct nix_hw *nix_hw, u32 flow_cfg) nix_hw 1983 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c for (i = 0; i < nix_hw->flowkey.in_use; i++) nix_hw 1984 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (nix_hw->flowkey.flowkey[i] == flow_cfg) nix_hw 2124 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_hw *hw; nix_hw 2161 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_hw *nix_hw; nix_hw 2171 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw = get_nix_hw(rvu->hw, blkaddr); nix_hw 2172 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!nix_hw) nix_hw 2175 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c alg_idx = get_flowkey_alg_idx(nix_hw, req->flowkey_cfg); nix_hw 2376 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_hw *nix_hw; nix_hw 2383 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw = get_nix_hw(rvu->hw, blkaddr); nix_hw 2384 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!nix_hw) nix_hw 2398 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; nix_hw 2738 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c sizeof(struct nix_hw), GFP_KERNEL); nix_hw 2801 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_hw *nix_hw; nix_hw 2812 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw = get_nix_hw(rvu->hw, blkaddr); nix_hw 2813 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!nix_hw) nix_hw 2817 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[lvl]; nix_hw 2821 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c mcast = &nix_hw->mcast; nix_hw 2915 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_hw *nix_hw; nix_hw 2925 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c nix_hw = get_nix_hw(rvu->hw, blkaddr); nix_hw 2926 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!nix_hw) nix_hw 2930 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c for (idx = 0; idx < nix_hw->lso.in_use; idx++) { nix_hw 2942 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (idx < nix_hw->lso.in_use) { nix_hw 2948 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (nix_hw->lso.in_use == nix_hw->lso.total) nix_hw 2951 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c rsp->lso_format_idx = nix_hw->lso.in_use++;