1. 19 2月, 2022 1 次提交
  2. 25 1月, 2022 1 次提交
    • B
      ionic: Cleanups in the Tx hotpath code · 238a0f7c
      Brett Creeley 提交于
      Buffer DMA mapping happens in ionic_tx_map_skb() and this function is
      called from ionic_tx() and ionic_tx_tso(). If ionic_tx_map_skb()
      succeeds, but a failure is encountered later in ionic_tx() or
      ionic_tx_tso() we aren't unmapping the buffers. This can be fixed in
      ionic_tx() by changing functions it calls to return void because they
      always return 0. For ionic_tx_tso(), there's an actual possibility that
      we leave the buffers mapped, so fix this by introducing the helper
      function ionic_tx_desc_unmap_bufs(). This function is also re-used
      in ionic_tx_clean().
      
      Fixes: 0f3154e6 ("ionic: Add Tx and Rx handling")
      Signed-off-by: NBrett Creeley <brett@pensando.io>
      Signed-off-by: NShannon Nelson <snelson@pensando.io>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      238a0f7c
  3. 02 10月, 2021 1 次提交
  4. 28 7月, 2021 1 次提交
  5. 24 7月, 2021 3 次提交
  6. 09 4月, 2021 2 次提交
  7. 03 4月, 2021 2 次提交
  8. 31 3月, 2021 1 次提交
  9. 18 3月, 2021 1 次提交
  10. 16 3月, 2021 4 次提交
  11. 11 3月, 2021 5 次提交
  12. 20 1月, 2021 1 次提交
  13. 22 12月, 2020 1 次提交
  14. 15 11月, 2020 1 次提交
  15. 24 10月, 2020 3 次提交
  16. 17 9月, 2020 1 次提交
  17. 03 9月, 2020 3 次提交
  18. 01 9月, 2020 1 次提交
  19. 28 8月, 2020 2 次提交
  20. 04 8月, 2020 3 次提交
  21. 21 7月, 2020 1 次提交
    • S
      ionic: use mutex to protect queue operations · 0925e9db
      Shannon Nelson 提交于
      The ionic_wait_on_bit_lock() was a open-coded mutex knock-off
      used only for protecting the queue reset operations, and there
      was no reason not to use the real thing.  We can use the lock
      more correctly and to better protect the queue stop and start
      operations from cross threading.  We can also remove a useless
      and expensive bit operation from the Rx path.
      
      This fixes a case found where the link_status_check from a link
      flap could run into an MTU change and cause a crash.
      
      Fixes: beead698 ("ionic: Add the basic NDO callbacks for netdev support")
      Signed-off-by: NShannon Nelson <snelson@pensando.io>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0925e9db
  22. 13 5月, 2020 1 次提交