1. 27 10月, 2017 3 次提交
  2. 21 10月, 2017 3 次提交
  3. 15 10月, 2017 4 次提交
  4. 27 9月, 2017 1 次提交
  5. 22 9月, 2017 1 次提交
  6. 29 8月, 2017 7 次提交
  7. 24 8月, 2017 2 次提交
  8. 08 8月, 2017 4 次提交
  9. 26 7月, 2017 2 次提交
  10. 25 7月, 2017 9 次提交
  11. 12 7月, 2017 3 次提交
  12. 24 6月, 2017 1 次提交
    • M
      bnxt_en: Fix netpoll handling. · 2270bc5d
      Michael Chan 提交于
      To handle netpoll properly, the driver must only handle TX packets
      during NAPI.  Handling RX events cause warnings and errors in
      netpoll mode. The ndo_poll_controller() method should call
      napi_schedule() directly so that a NAPI weight of zero will be used
      during netpoll mode.
      
      The bnxt_en driver supports 2 ring modes: combined, and separate rx/tx.
      In separate rx/tx mode, the ndo_poll_controller() method will only
      process the tx rings.  In combined mode, the rx and tx completion
      entries are mixed in the completion ring and we need to drop the rx
      entries and recycle the rx buffers.
      
      Add a function bnxt_force_rx_discard() to handle this in netpoll mode
      when we see rx entries in combined ring mode.
      Reported-by: NCalvin Owens <calvinowens@fb.com>
      Signed-off-by: NMichael Chan <michael.chan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2270bc5d