Searched refs:prof_idx (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_nix.c | 5172 int layer, int prof_idx) in nix_init_policer_context() argument 5179 aq_req.qidx = (prof_idx & 0x3FFF) | (layer << 14); in nix_init_policer_context() 5188 layer, prof_idx); in nix_init_policer_context() 5197 int err, layer, prof_idx; in nix_setup_ipolicers() local 5247 for (prof_idx = 0; in nix_setup_ipolicers() 5248 prof_idx < ipolicer->band_prof.max; prof_idx++) { in nix_setup_ipolicers() 5250 ipolicer->pfvf_map[prof_idx] = 0x00; in nix_setup_ipolicers() 5258 layer, prof_idx); in nix_setup_ipolicers() 5307 int layer, hi_layer, prof_idx; in nix_verify_bandprof() local 5311 prof_idx = req->qidx & 0x3FFF; in nix_verify_bandprof() [all …]
|
H A D | mbox.h | 1277 u16 prof_idx[BAND_PROF_NUM_LAYERS][MAX_BANDPROF_PER_PFFUNC]; member 1284 u16 prof_idx[BAND_PROF_NUM_LAYERS][MAX_BANDPROF_PER_PFFUNC]; member
|
H A D | rvu_debugfs.c | 2238 int layer, prof_idx, idx, rc; in rvu_dbg_nix_band_prof_ctx_display() local 2261 prof_idx = (idx & 0x3FFF) | (layer << 14); in rvu_dbg_nix_band_prof_ctx_display() 2264 prof_idx); in rvu_dbg_nix_band_prof_ctx_display()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ddp.c | 704 static bool ice_is_gtp_u_profile(u16 prof_idx) in ice_is_gtp_u_profile() argument 706 return (prof_idx >= ICE_PROFID_IPV6_GTPU_TEID && in ice_is_gtp_u_profile() 707 prof_idx <= ICE_PROFID_IPV6_GTPU_IPV6_TCP_INNER) || in ice_is_gtp_u_profile() 708 prof_idx == ICE_PROFID_IPV4_GTPU_TEID; in ice_is_gtp_u_profile() 711 static bool ice_is_gtp_c_profile(u16 prof_idx) in ice_is_gtp_c_profile() argument 713 switch (prof_idx) { in ice_is_gtp_c_profile() 731 struct ice_fv *fv, u32 prof_idx) in ice_get_sw_prof_type() argument 735 if (ice_is_gtp_c_profile(prof_idx)) in ice_get_sw_prof_type() 738 if (ice_is_gtp_u_profile(prof_idx)) in ice_get_sw_prof_type()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | cn10k.c | 216 *leaf = rsp->prof_idx[BAND_PROF_LEAF_LAYER][0]; in cn10k_alloc_leaf_profile() 342 req->prof_idx[BAND_PROF_LEAF_LAYER][0] = leaf; in cn10k_free_leaf_profile()
|