Searched refs:pf_vlan (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.c | 711 ixgbe_set_vf_vlan(adapter, true, vfinfo->pf_vlan, vf); in ixgbe_vf_reset_event() 714 ixgbe_set_vmolr(hw, vf, !vfinfo->pf_vlan); in ixgbe_vf_reset_event() 717 if (!vfinfo->pf_vlan && !vfinfo->pf_qos && !num_tcs) { in ixgbe_vf_reset_event() 721 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan, in ixgbe_vf_reset_event() 724 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan, in ixgbe_vf_reset_event() 906 if (adapter->vfinfo[vf].pf_vlan) in ixgbe_vf_reset_msg() 978 if (adapter->vfinfo[vf].pf_vlan || tcs) { in ixgbe_set_vf_vlan_msg() 1090 else if (adapter->vfinfo[vf].pf_vlan || adapter->vfinfo[vf].pf_qos) in ixgbe_get_vf_queues() 1491 adapter->vfinfo[vf].pf_vlan = vlan; in ixgbe_enable_port_vlan() 1512 adapter->vfinfo[vf].pf_vlan, vf); in ixgbe_disable_port_vlan() [all …]
|
D | ixgbe_dcb_nl.c | 652 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan, in ixgbe_dcbnl_ieee_setapp() 697 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan, in ixgbe_dcbnl_ieee_delapp()
|
D | ixgbe.h | 218 u16 pf_vlan; /* When set, guest VLAN config not allowed. */ member
|
/Linux-v6.6/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.c | 92 u16 pf_vlan, vlanprio; in hinic_vf_info_vlanprio() local 95 pf_vlan = nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].pf_vlan; in hinic_vf_info_vlanprio() 97 vlanprio = pf_vlan | pf_qos << HINIC_VLAN_PRIORITY_SHIFT; in hinic_vf_info_vlanprio() 234 err = hinic_set_vf_vlan(hwdev, true, vf_info->pf_vlan, in hinic_init_vf_config() 582 ivi->vlan = vfinfo->pf_vlan; in hinic_get_vf_config() 672 nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].pf_vlan = vlan; in hinic_add_vf_vlan() 686 nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].pf_vlan, in hinic_kill_vf_vlan() 693 nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].pf_vlan, in hinic_kill_vf_vlan() 696 nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].pf_vlan = 0; in hinic_kill_vf_vlan()
|
D | hinic_sriov.h | 38 u16 pf_vlan; member
|
/Linux-v6.6/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 7503 if (vlan != adapter->vf_data[vf].pf_vlan) in igb_enable_port_vlan() 7504 igb_set_vf_vlan(adapter, adapter->vf_data[vf].pf_vlan, in igb_enable_port_vlan() 7507 adapter->vf_data[vf].pf_vlan = vlan; in igb_enable_port_vlan() 7531 if (adapter->vf_data[vf].pf_vlan) in igb_disable_port_vlan() 7532 igb_set_vf_vlan(adapter, adapter->vf_data[vf].pf_vlan, in igb_disable_port_vlan() 7535 adapter->vf_data[vf].pf_vlan = 0; in igb_disable_port_vlan() 7563 if (adapter->vf_data[vf].pf_vlan) in igb_set_vf_vlan_msg() 7586 igb_set_vf_vlan(adapter, vf_data->pf_vlan, true, vf); in igb_vf_reset() 7587 igb_set_vmvir(adapter, vf_data->pf_vlan | in igb_vf_reset() 7589 igb_set_vmolr(adapter, vf, !vf_data->pf_vlan); in igb_vf_reset() [all …]
|
D | igb.h | 96 u16 pf_vlan; /* When set, guest VLAN config not allowed. */ member
|