Searched refs:port_vlan_info (Results 1 – 4 of 4) sorted by relevance
104 struct ice_vlan port_vlan_info; /* Port VLAN ID, QoS, and TPID */ member145 return vf->port_vlan_info.vid; in ice_vf_get_port_vlan_id()150 return vf->port_vlan_info.prio; in ice_vf_get_port_vlan_prio()160 return vf->port_vlan_info.tpid; in ice_vf_get_port_vlan_tpid()
249 u16 port_vlan_info; in ice_vsi_set_inner_port_vlan() local257 port_vlan_info = vlan->vid | (vlan->prio << VLAN_PRIO_SHIFT); in ice_vsi_set_inner_port_vlan()259 return __ice_vsi_set_inner_port_vlan(vsi, port_vlan_info); in ice_vsi_set_inner_port_vlan()699 u16 port_vlan_info; in ice_vsi_set_outer_port_vlan() local704 port_vlan_info = vlan->vid | (vlan->prio << VLAN_PRIO_SHIFT); in ice_vsi_set_outer_port_vlan()706 return __ice_vsi_set_outer_port_vlan(vsi, port_vlan_info, vlan->tpid); in ice_vsi_set_outer_port_vlan()
935 err = vlan_ops->set_port_vlan(vsi, &vf->port_vlan_info); in ice_vf_rebuild_host_vlan_cfg()942 err = vlan_ops->add_vlan(vsi, &vf->port_vlan_info); in ice_vf_rebuild_host_vlan_cfg()
1725 vf->port_vlan_info = ICE_VLAN(local_vlan_proto, vlan_id, qos); in ice_set_vf_port_vlan()