[Intel-wired-lan] [PATCH] ixgbe: Add error checking to setting VF MAC
Bowers, AndrewX
andrewx.bowers at intel.com
Tue May 2 19:22:36 UTC 2017
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Friday, April 28, 2017 12:42 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH] ixgbe: Add error checking to setting VF
> MAC
>
> Currently, when setting a VF MAC address there are no error checks to
> ensure that the MAC filter was successfully added. This patch adds additional
> error checks, reporting, and propagation of errors. It also will not set the
> MAC address unless adding the MAC filter was successful.
>
> With these changes, setting the mac address to zeros can no longer call
> ixgbe_set_vf_mac() as adding a zero MAC address filter is not valid.
> Instead directly delete the filter and, if successful, clear the MAC address.
>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen at intel.com>
> ---
> drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 54
> +++++++++++++++++++-------
> 1 file changed, 41 insertions(+), 13 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list