Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c708 ixgbe_set_vf_vlan(adapter, true, vfinfo->pf_vlan, vf); in ixgbe_vf_reset_event()
711 ixgbe_set_vmolr(hw, vf, !vfinfo->pf_vlan); in ixgbe_vf_reset_event()
714 if (!vfinfo->pf_vlan && !vfinfo->pf_qos && !num_tcs) { in ixgbe_vf_reset_event()
718 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan, in ixgbe_vf_reset_event()
721 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan, in ixgbe_vf_reset_event()
903 if (adapter->vfinfo[vf].pf_vlan) in ixgbe_vf_reset_msg()
975 if (adapter->vfinfo[vf].pf_vlan || tcs) { in ixgbe_set_vf_vlan_msg()
1086 else if (adapter->vfinfo[vf].pf_vlan || adapter->vfinfo[vf].pf_qos) in ixgbe_get_vf_queues()
1487 adapter->vfinfo[vf].pf_vlan = vlan; in ixgbe_enable_port_vlan()
1508 adapter->vfinfo[vf].pf_vlan, vf); in ixgbe_disable_port_vlan()
[all …]
Dixgbe_dcb_nl.c652 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()
Dixgbe.h218 u16 pf_vlan; /* When set, guest VLAN config not allowed. */ member
/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c92 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()
Dhinic_sriov.h38 u16 pf_vlan; member
/linux-6.12.1/drivers/net/ethernet/intel/igb/
Digb_main.c7480 if (vlan != adapter->vf_data[vf].pf_vlan) in igb_enable_port_vlan()
7481 igb_set_vf_vlan(adapter, adapter->vf_data[vf].pf_vlan, in igb_enable_port_vlan()
7484 adapter->vf_data[vf].pf_vlan = vlan; in igb_enable_port_vlan()
7508 if (adapter->vf_data[vf].pf_vlan) in igb_disable_port_vlan()
7509 igb_set_vf_vlan(adapter, adapter->vf_data[vf].pf_vlan, in igb_disable_port_vlan()
7512 adapter->vf_data[vf].pf_vlan = 0; in igb_disable_port_vlan()
7540 if (adapter->vf_data[vf].pf_vlan) in igb_set_vf_vlan_msg()
7563 igb_set_vf_vlan(adapter, vf_data->pf_vlan, true, vf); in igb_vf_reset()
7564 igb_set_vmvir(adapter, vf_data->pf_vlan | in igb_vf_reset()
7566 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