• A
    i40e: fix deleting mac filters · a6cb9146
    Alan Brady 提交于
    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: NAlan Brady <alan.brady@intel.com>
    Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
    Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
    a6cb9146
i40e_main.c 318.2 KB