Lines Matching refs:prof_idx
705 static bool ice_is_gtp_u_profile(u16 prof_idx) in ice_is_gtp_u_profile() argument
707 return (prof_idx >= ICE_PROFID_IPV6_GTPU_TEID && in ice_is_gtp_u_profile()
708 prof_idx <= ICE_PROFID_IPV6_GTPU_IPV6_TCP_INNER) || in ice_is_gtp_u_profile()
709 prof_idx == ICE_PROFID_IPV4_GTPU_TEID; in ice_is_gtp_u_profile()
712 static bool ice_is_gtp_c_profile(u16 prof_idx) in ice_is_gtp_c_profile() argument
714 switch (prof_idx) { in ice_is_gtp_c_profile()
725 static bool ice_is_pfcp_profile(u16 prof_idx) in ice_is_pfcp_profile() argument
727 return prof_idx >= ICE_PROFID_IPV4_PFCP_NODE && in ice_is_pfcp_profile()
728 prof_idx <= ICE_PROFID_IPV6_PFCP_SESSION; in ice_is_pfcp_profile()
738 struct ice_fv *fv, u32 prof_idx) in ice_get_sw_prof_type() argument
742 if (ice_is_gtp_c_profile(prof_idx)) in ice_get_sw_prof_type()
745 if (ice_is_gtp_u_profile(prof_idx)) in ice_get_sw_prof_type()
748 if (ice_is_pfcp_profile(prof_idx)) in ice_get_sw_prof_type()