1. 26 9月, 2021 2 次提交
  2. 02 9月, 2021 1 次提交
  3. 26 7月, 2021 15 次提交
  4. 16 7月, 2021 3 次提交
  5. 15 7月, 2021 4 次提交
  6. 03 6月, 2021 1 次提交
  7. 30 9月, 2020 2 次提交
  8. 18 9月, 2020 5 次提交
  9. 09 9月, 2020 3 次提交
  10. 22 7月, 2020 1 次提交
    • Y
      net: hns3: fix for not calculating TX BD send size correctly · 48ae74c9
      Yunsheng Lin 提交于
      With GRO and fraglist support, the SKB can be aggregated to
      a total size of 65535, and when that SKB is forwarded through
      a bridge, the size of the SKB may be pushed to exceed the size
      of 65535 when br_dev_queue_push_xmit() is called.
      
      The max send size of BD supported by the HW is 65535, when a SKB
      with a headlen of over 65535 is sent to the driver, the driver
      needs to use multi BD to send the linear data, and the send size
      of the last BD is calculated incorrectly by the driver who is
      using '&' operation, which causes a TX error.
      
      Use '%' operation to fix this problem.
      
      Fixes: 3fe13ed9 ("net: hns3: avoid mult + div op in critical data path")
      Signed-off-by: NYunsheng Lin <linyunsheng@huawei.com>
      Signed-off-by: NHuazhong Tan <tanhuazhong@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      48ae74c9
  11. 19 6月, 2020 1 次提交
  12. 29 5月, 2020 1 次提交
  13. 15 5月, 2020 1 次提交