]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: fix deleting mac filters
authorAlan Brady <alan.brady@intel.com>
Wed, 7 Sep 2016 01:05:07 +0000 (18:05 -0700)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:39:31 +0000 (19:39 -0500)
commit9f6a43d070331367249de74fc126b2e0e6635097
tree20dd2b8205640eb8712a739e867aefada184cc87
parentfae8a67b7e13609365dcf1244da335900382be1d
i40e: fix deleting mac filters

Orabug: 24568124

There exists a bug in which deleting a mac filter does not actually
occur.  The driver reports that the filter has been deleted with no
error.  The problem occurs because the wrong cmd_flag is passed to the
firmware when deleting the filter.  The firmware reports an error back
to the driver but it is expressly ignored.

This fixes the bug by using the correct flag when deleting a filter.
Without this patch, deleted filters remain in firmware and function as
if they had not been deleted.

Change-ID: I5f22b874f3b83f457702f18f0d5602ca21ac40c3
Signed-off-by: Alan Brady <alan.brady@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit a6cb91464b5b09c0ff749e4b01048f93ce450275)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c