• Michael Chan's avatar
    bnxt_en: Process the NQ under NAPI continuous polling. · 389a877a
    Michael Chan authored
    When we are in continuous NAPI polling mode, the current code in
    bnxt_poll_p5() will only process the completion rings and will not
    process the NQ until interrupt is re-enabled.  Tis logic works and
    will not cause RX or TX starvation, but async events in the NQ may
    be delayed for the duration of continuous NAPI polling.  These
    async events may be firmware or VF events.
    
    Continue to handle the NQ after we are done polling the completion
    rings.  This actually simplies the code in bnxt_poll_p5().
    
    Acknowledge the NQ so these async events will not overflow.
    Signed-off-by: default avatarMichael Chan <michael.chan@broadcom.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    389a877a
bnxt.c 319 KB