Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_vf_lib.h104 struct ice_vlan port_vlan_info; /* Port VLAN ID, QoS, and TPID */ member
145 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()
Dice_vsi_vlan_lib.c249 u16 port_vlan_info; in ice_vsi_set_inner_port_vlan() local
257 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() local
704 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()
Dice_vf_lib.c935 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()
Dice_sriov.c1725 vf->port_vlan_info = ICE_VLAN(local_vlan_proto, vlan_id, qos); in ice_set_vf_port_vlan()