Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/ice/
H A Dice_vf_lib.h112 struct ice_vlan port_vlan_info; /* Port VLAN ID, QoS, and TPID */ member
154 return vf->port_vlan_info.vid; in ice_vf_get_port_vlan_id()
159 return vf->port_vlan_info.prio; in ice_vf_get_port_vlan_prio()
169 return vf->port_vlan_info.tpid; in ice_vf_get_port_vlan_tpid()
H A Dice_vsi_vlan_lib.c275 u16 port_vlan_info; in ice_vsi_set_inner_port_vlan() local
283 port_vlan_info = vlan->vid | (vlan->prio << VLAN_PRIO_SHIFT); in ice_vsi_set_inner_port_vlan()
285 return __ice_vsi_set_inner_port_vlan(vsi, port_vlan_info); in ice_vsi_set_inner_port_vlan()
747 u16 port_vlan_info; in ice_vsi_set_outer_port_vlan() local
752 port_vlan_info = vlan->vid | (vlan->prio << VLAN_PRIO_SHIFT); in ice_vsi_set_outer_port_vlan()
754 return __ice_vsi_set_outer_port_vlan(vsi, port_vlan_info, vlan->tpid); in ice_vsi_set_outer_port_vlan()
H A Dice_vf_lib.c329 err = vlan_ops->set_port_vlan(vsi, &vf->port_vlan_info); in ice_vf_rebuild_host_vlan_cfg()
336 err = vlan_ops->add_vlan(vsi, &vf->port_vlan_info); in ice_vf_rebuild_host_vlan_cfg()
H A Dice_sriov.c1856 vf->port_vlan_info = ICE_VLAN(local_vlan_proto, vlan_id, qos); in ice_set_vf_port_vlan()