Searched refs:vc_vlan (Results 1 – 1 of 1) sorted by relevance
2909 static bool ice_vc_is_valid_vlan(struct virtchnl_vlan *vc_vlan) in ice_vc_is_valid_vlan() argument2911 if (!vc_vlan->tci || !vc_vlan->tpid) in ice_vc_is_valid_vlan()2975 static struct ice_vlan ice_vc_to_vlan(struct virtchnl_vlan *vc_vlan) in ice_vc_to_vlan() argument2979 vlan.prio = (vc_vlan->tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in ice_vc_to_vlan()2980 vlan.vid = vc_vlan->tci & VLAN_VID_MASK; in ice_vc_to_vlan()2981 vlan.tpid = vc_vlan->tpid; in ice_vc_to_vlan()3022 struct virtchnl_vlan *vc_vlan; in ice_vc_del_vlans() local3024 vc_vlan = &vlan_fltr->outer; in ice_vc_del_vlans()3025 if (ice_vc_is_valid_vlan(vc_vlan)) { in ice_vc_del_vlans()3026 struct ice_vlan vlan = ice_vc_to_vlan(vc_vlan); in ice_vc_del_vlans()[all …]