Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c4887 int layer, int prof_idx) in nix_init_policer_context() argument
4894 aq_req.qidx = (prof_idx & 0x3FFF) | (layer << 14); in nix_init_policer_context()
4903 layer, prof_idx); in nix_init_policer_context()
4912 int err, layer, prof_idx; in nix_setup_ipolicers() local
4962 for (prof_idx = 0; in nix_setup_ipolicers()
4963 prof_idx < ipolicer->band_prof.max; prof_idx++) { in nix_setup_ipolicers()
4965 ipolicer->pfvf_map[prof_idx] = 0x00; in nix_setup_ipolicers()
4973 layer, prof_idx); in nix_setup_ipolicers()
5022 int layer, hi_layer, prof_idx; in nix_verify_bandprof() local
5026 prof_idx = req->qidx & 0x3FFF; in nix_verify_bandprof()
[all …]
Dmbox.h1249 u16 prof_idx[BAND_PROF_NUM_LAYERS][MAX_BANDPROF_PER_PFFUNC]; member
1256 u16 prof_idx[BAND_PROF_NUM_LAYERS][MAX_BANDPROF_PER_PFFUNC]; member
Drvu_debugfs.c2235 int layer, prof_idx, idx, rc; in rvu_dbg_nix_band_prof_ctx_display() local
2258 prof_idx = (idx & 0x3FFF) | (layer << 14); in rvu_dbg_nix_band_prof_ctx_display()
2261 prof_idx); in rvu_dbg_nix_band_prof_ctx_display()
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dcn10k.c209 *leaf = rsp->prof_idx[BAND_PROF_LEAF_LAYER][0]; in cn10k_alloc_leaf_profile()
335 req->prof_idx[BAND_PROF_LEAF_LAYER][0] = leaf; in cn10k_free_leaf_profile()
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_flex_pipe.c1808 static bool ice_is_gtp_u_profile(u16 prof_idx) in ice_is_gtp_u_profile() argument
1810 return (prof_idx >= ICE_PROFID_IPV6_GTPU_TEID && in ice_is_gtp_u_profile()
1811 prof_idx <= ICE_PROFID_IPV6_GTPU_IPV6_TCP_INNER) || in ice_is_gtp_u_profile()
1812 prof_idx == ICE_PROFID_IPV4_GTPU_TEID; in ice_is_gtp_u_profile()
1815 static bool ice_is_gtp_c_profile(u16 prof_idx) in ice_is_gtp_c_profile() argument
1817 switch (prof_idx) { in ice_is_gtp_c_profile()
1835 ice_get_sw_prof_type(struct ice_hw *hw, struct ice_fv *fv, u32 prof_idx) in ice_get_sw_prof_type() argument
1839 if (ice_is_gtp_c_profile(prof_idx)) in ice_get_sw_prof_type()
1842 if (ice_is_gtp_u_profile(prof_idx)) in ice_get_sw_prof_type()