Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_vf_lib.h105 struct ice_vlan port_vlan_info; /* Port VLAN ID, QoS, and TPID */ member
147 return vf->port_vlan_info.vid; in ice_vf_get_port_vlan_id()
152 return vf->port_vlan_info.prio; in ice_vf_get_port_vlan_prio()
162 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()
750 u16 port_vlan_info; in ice_vsi_set_outer_port_vlan() local
755 port_vlan_info = vlan->vid | (vlan->prio << VLAN_PRIO_SHIFT); in ice_vsi_set_outer_port_vlan()
757 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.c321 err = vlan_ops->set_port_vlan(vsi, &vf->port_vlan_info); in ice_vf_rebuild_host_vlan_cfg()
328 err = vlan_ops->add_vlan(vsi, &vf->port_vlan_info); in ice_vf_rebuild_host_vlan_cfg()
H A Dice_sriov.c1632 vf->port_vlan_info = ICE_VLAN(local_vlan_proto, vlan_id, qos); in ice_set_vf_port_vlan()