[Intel-wired-lan] [net] i40e: fix the calculation of VFs mac addresses

Bowers, AndrewX andrewx.bowers at intel.com
Thu Nov 9 22:38:12 UTC 2017


> -----Original Message-----
> From: Kirsher, Jeffrey T
> Sent: Tuesday, November 7, 2017 12:06 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Zijie Pan <zijie.pan at 6wind.com>; Singhai, Anjali
> <anjali.singhai at intel.com>; Bowers, AndrewX
> <andrewx.bowers at intel.com>; Nicolas Dichtel <nicolas.dichtel at 6wind.com>
> Subject: [net] i40e: fix the calculation of VFs mac addresses
> 
> From: Zijie Pan <zijie.pan at 6wind.com>
> 
> num_mac should be increased only after the call to i40e_add_mac_filter().
> 
> Fixes: 5f527ba962e2 ("i40e: Limit the number of MAC and VLAN addresses
> that can be added for VFs")
> CC: Anjali Singhai Jain <anjali.singhai at intel.com>
> CC: Andrew Bowers <andrewx.bowers at intel.com>
> Signed-off-by: Zijie Pan <zijie.pan at 6wind.com>
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel at 6wind.com>
> Reviewed-by: Tushar Dave <tushar.n.dave at oracle.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 21 +++++++++++--------
> --
>  1 file changed, 11 insertions(+), 10 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list