[Intel-wired-lan] [V3: next PATCH S22 10/12] i40e: clean whole mac filter list

Bowers, AndrewX andrewx.bowers at intel.com
Mon Nov 30 19:20:15 UTC 2015


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Deepthi Kavalur
> Sent: Thursday, November 19, 2015 11:34 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [V3: next PATCH S22 10/12] i40e: clean whole mac
> filter list
> 
> From: Shannon Nelson <shannon.nelson at intel.com>
> 
> Clean the whole mac filter list when resetting after an intermediate add or
> delete push to the firmware.  The code had evolved from using a list from
> the stack to a heap allocation, but the memset() didn't follow the change
> correctly.  This now cleans the whole list rather that just part of the first
> element.
> 
> Reported-by: Rasmus Villemoes <linux at rasmusvillemoes.dk>
> Signed-off-by: Shannon Nelson <shannon.nelson at intel.com>
> Change-ID: I4cd03d5a103b7407dd8556a3a231e800f2d6f2d5
> ---
> Testing Hints :
> Compile and run the driver with basic ping tests. Also add and remove
> additional address filters and make sure they work as expected.
> 
>  drivers/net/ethernet/intel/i40e/i40e_main.c | 18 ++++++++++--------
>  1 file changed, 10 insertions(+), 8 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Patch code changes correctly applied, adding/removing MAC filters works properly.


More information about the Intel-wired-lan mailing list