[Intel-wired-lan] [PATCH S45 11/15] ice: allow host to clear administratively set VF MAC
Bowers, AndrewX
andrewx.bowers at intel.com
Thu May 28 21:43:25 UTC 2020
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Tony Nguyen
> Sent: Friday, May 15, 2020 5:51 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S45 11/15] ice: allow host to clear
> administratively set VF MAC
>
> From: Brett Creeley <brett.creeley at intel.com>
>
> Currently a user is not allowed to clear a VF's administratively set MAC on the
> PF. Fix this by allowing an all zero MAC address via "ip link set ${pf_eth} vf
> ${vf_id} mac 00:00:00:00:00:00".
>
> An example use case for this would be issuing a "virsh shutdown"
> command on a VM. The call to iproute mentioned above is part of this flow.
> Without this change the driver incorrectly rejects clearing the VF's
> administratively set MAC and prints unhelpful log messages.
>
> Also, improve the comments surrounding this change.
>
> Signed-off-by: Brett Creeley <brett.creeley at intel.com>
> ---
> .../net/ethernet/intel/ice/ice_virtchnl_pf.c | 22 ++++++++++++-------
> 1 file changed, 14 insertions(+), 8 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list