Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_virtchnl.c3025 static bool ice_vc_is_valid_vlan(struct virtchnl_vlan *vc_vlan) in ice_vc_is_valid_vlan() argument
3027 if (!vc_vlan->tci || !vc_vlan->tpid) in ice_vc_is_valid_vlan()
3091 static struct ice_vlan ice_vc_to_vlan(struct virtchnl_vlan *vc_vlan) in ice_vc_to_vlan() argument
3095 vlan.prio = FIELD_GET(VLAN_PRIO_MASK, vc_vlan->tci); in ice_vc_to_vlan()
3096 vlan.vid = vc_vlan->tci & VLAN_VID_MASK; in ice_vc_to_vlan()
3097 vlan.tpid = vc_vlan->tpid; in ice_vc_to_vlan()
3138 struct virtchnl_vlan *vc_vlan; in ice_vc_del_vlans() local
3140 vc_vlan = &vlan_fltr->outer; in ice_vc_del_vlans()
3141 if (ice_vc_is_valid_vlan(vc_vlan)) { in ice_vc_del_vlans()
3142 struct ice_vlan vlan = ice_vc_to_vlan(vc_vlan); in ice_vc_del_vlans()
[all …]