Home
last modified time | relevance | path

Searched refs:pf_set_mac (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.c219 if (vf_info->pf_set_mac) { in hinic_init_vf_config()
353 if (vf_info->pf_set_mac && !(vf_info->trust) && in hinic_set_vf_mac_msg_handler()
387 if (vf_info->pf_set_mac && is_valid_ether_addr(mac_in->mac) && in hinic_del_vf_mac_msg_handler()
623 if (vf_info->pf_set_mac && in hinic_set_vf_mac()
627 vf_info->pf_set_mac = true; in hinic_set_vf_mac()
633 vf_info->pf_set_mac = false; in hinic_set_vf_mac()
713 if (!vf_info->pf_set_mac) in hinic_update_mac_vlan()
1133 if (vf_infos->pf_set_mac) in hinic_clear_vf_infos()
H A Dhinic_sriov.h37 bool pf_set_mac; member
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.h83 bool pf_set_mac; /* The VMM admin set the VF MAC address */ member
H A Di40e_virtchnl_pf.c2215 if (!(vf->driver_caps & VIRTCHNL_VF_OFFLOAD_USO) && !vf->pf_set_mac) { in i40e_vc_get_vf_resources_msg()
2859 if (vf->pf_set_mac && !vf->trusted) in i40e_can_vf_change_mac()
4467 vf->pf_set_mac = false; in i40e_ndo_set_vf_mac()
4470 vf->pf_set_mac = true; in i40e_ndo_set_vf_mac()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_vf_lib.h122 u8 pf_set_mac:1; /* VF MAC address set by VMM admin */ member
H A Dice_sriov.c1473 vf->pf_set_mac = false; in __ice_set_vf_mac()
1478 vf->pf_set_mac = true; in __ice_set_vf_mac()
H A Dice_virtchnl.c2156 if (vf->pf_set_mac && !ice_is_vf_trusted(vf)) in ice_can_vf_change_mac()
4184 if (vf->pf_set_mac) { in ice_vc_repr_add_mac()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c930 if (!is_zero_ether_addr(vf_mac) && adapter->vfinfo[vf].pf_set_mac) { in ixgbe_vf_reset_msg()
957 if (adapter->vfinfo[vf].pf_set_mac && !adapter->vfinfo[vf].trusted && in ixgbe_set_vf_mac_addr()
998 if (adapter->vfinfo[vf].pf_set_mac && !adapter->vfinfo[vf].trusted && in ixgbe_set_vf_macvlan_msg()
1434 adapter->vfinfo[vf].pf_set_mac = true; in ixgbe_ndo_set_vf_mac()
1455 adapter->vfinfo[vf].pf_set_mac = false; in ixgbe_ndo_set_vf_mac()
H A Dixgbe.h217 bool pf_set_mac; member
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4.h1060 bool pf_set_mac; member