• Alan Brady's avatar
    i40e: fix disable overflow promiscuous mode · a410c821
    Alan Brady authored
    There exists a bug in which the driver is unable to exit overflow
    promiscuous mode after having added "too many" mac filters.  It is
    expected that after triggering overflow promiscuous, removing the
    failed/extra filters should then disable overflow promiscuous mode.
    
    The bug exists because we were intentionally skipping the sync_vsi_filter
    path in cases where we were removing failed filters since they shouldn't
    have been added to the firmware in the first place, however we still
    need to go through the sync_vsi_filter code path to determine whether or
    not it is ok to exit overflow promiscuous mode.  This patch fixes the
    bug by making sure we go through the sync_vsi_filter path in cases of
    failed filters.
    
    Change-ID: I634d249ca3e5fa50729553137c295e73e7722143
    Signed-off-by: default avatarAlan Brady <alan.brady@intel.com>
    Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    a410c821
i40e_main.c 328 KB