Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c710 ixgbe_set_vf_vlan(adapter, true, vfinfo->pf_vlan, vf); in ixgbe_vf_reset_event()
713 ixgbe_set_vmolr(hw, vf, !vfinfo->pf_vlan); in ixgbe_vf_reset_event()
716 if (!vfinfo->pf_vlan && !vfinfo->pf_qos && !num_tcs) { in ixgbe_vf_reset_event()
720 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan, in ixgbe_vf_reset_event()
723 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan, in ixgbe_vf_reset_event()
859 if (adapter->vfinfo[vf].pf_vlan) in ixgbe_vf_reset_msg()
951 if (adapter->vfinfo[vf].pf_vlan || tcs) { in ixgbe_set_vf_vlan_msg()
1063 else if (adapter->vfinfo[vf].pf_vlan || adapter->vfinfo[vf].pf_qos) in ixgbe_get_vf_queues()
1438 adapter->vfinfo[vf].pf_vlan = vlan; in ixgbe_enable_port_vlan()
1459 adapter->vfinfo[vf].pf_vlan, vf); in ixgbe_disable_port_vlan()
[all …]
Dixgbe_dcb_nl.c654 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan, in ixgbe_dcbnl_ieee_setapp()
699 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan, in ixgbe_dcbnl_ieee_delapp()
Dixgbe.h179 u16 pf_vlan; /* When set, guest VLAN config not allowed. */ member
/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c90 u16 pf_vlan, vlanprio; in hinic_vf_info_vlanprio() local
93 pf_vlan = nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].pf_vlan; in hinic_vf_info_vlanprio()
95 vlanprio = pf_vlan | pf_qos << HINIC_VLAN_PRIORITY_SHIFT; in hinic_vf_info_vlanprio()
232 err = hinic_set_vf_vlan(hwdev, true, vf_info->pf_vlan, in hinic_init_vf_config()
562 ivi->vlan = vfinfo->pf_vlan; in hinic_get_vf_config()
652 nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].pf_vlan = vlan; in hinic_add_vf_vlan()
666 nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].pf_vlan, in hinic_kill_vf_vlan()
673 nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].pf_vlan, in hinic_kill_vf_vlan()
676 nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].pf_vlan = 0; in hinic_kill_vf_vlan()
Dhinic_sriov.h38 u16 pf_vlan; member
/drivers/net/ethernet/intel/igb/
Digb_main.c7307 if (vlan != adapter->vf_data[vf].pf_vlan) in igb_enable_port_vlan()
7308 igb_set_vf_vlan(adapter, adapter->vf_data[vf].pf_vlan, in igb_enable_port_vlan()
7311 adapter->vf_data[vf].pf_vlan = vlan; in igb_enable_port_vlan()
7335 if (adapter->vf_data[vf].pf_vlan) in igb_disable_port_vlan()
7336 igb_set_vf_vlan(adapter, adapter->vf_data[vf].pf_vlan, in igb_disable_port_vlan()
7339 adapter->vf_data[vf].pf_vlan = 0; in igb_disable_port_vlan()
7367 if (adapter->vf_data[vf].pf_vlan) in igb_set_vf_vlan_msg()
7390 igb_set_vf_vlan(adapter, vf_data->pf_vlan, true, vf); in igb_vf_reset()
7391 igb_set_vmvir(adapter, vf_data->pf_vlan | in igb_vf_reset()
7393 igb_set_vmolr(adapter, vf, !vf_data->pf_vlan); in igb_vf_reset()
[all …]
Digb.h96 u16 pf_vlan; /* When set, guest VLAN config not allowed. */ member