• Jesse Brandeburg's avatar
    i40e: fix un-necessary Tx hangs · d91649f5
    Jesse Brandeburg authored
    When the driver was polling with interrupts disabled the hardware
    will occasionally not write back descriptors.  This patch causes
    the driver to detect this situation and force an interrupt to
    fire which will flush the stuck descriptor.  Does not conflict
    with napi because if we are already polling the napi_schedule is
    ignored.  Additionally the extra interrupts are rate limited, so
    don't cause a burden to the CPU.
    
    Change-ID: Iba4616d2a71288672a5f08e4512e2704b97335e8
    Signed-off-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    d91649f5
i40e_txrx.h 9.94 KB