1. 06 8月, 2018 5 次提交
  2. 08 5月, 2018 1 次提交
  3. 28 4月, 2018 3 次提交
  4. 20 4月, 2018 1 次提交
  5. 12 4月, 2018 1 次提交
  6. 01 4月, 2018 4 次提交
  7. 11 1月, 2018 1 次提交
  8. 02 12月, 2017 1 次提交
  9. 28 11月, 2017 1 次提交
  10. 03 11月, 2017 1 次提交
  11. 27 10月, 2017 4 次提交
  12. 15 10月, 2017 2 次提交
  13. 29 8月, 2017 1 次提交
    • M
      bnxt_en: Improve tx ring reservation logic. · 98fdbe73
      Michael Chan 提交于
      When the number of TX rings is changed (e.g. ethtool -L, enabling XDP TX
      rings, etc), the current code tries to reserve the new number of TX rings
      before closing and re-opening the NIC.  If we are unable to reserve the
      new TX rings, we abort the operation and keep the current TX rings.
      
      The problem is that the firmware will disable the current TX rings even
      when it cannot reserve the new set of TX rings.  We fix it as follows:
      
      1. Instead of reserving the new set of TX rings, just ask the firmware
      to check if the new set of TX rings is available.  There is a flag in
      the firmware message to do that.  If not available, abort and the
      current TX rings will not be disabled.
      
      2. Do the actual TX ring reservation in the path that opens the NIC.
      We keep the number of TX rings currently successfully reserved.  If the
      number of TX rings is different than the reserved TX rings, we call
      firmware and reserve again.
      Signed-off-by: NMichael Chan <michael.chan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      98fdbe73
  14. 26 7月, 2017 1 次提交
  15. 25 7月, 2017 2 次提交
  16. 12 7月, 2017 1 次提交
    • M
      bnxt_en: Fix bug in ethtool -L. · 3b6b34df
      Michael Chan 提交于
      When changing channels from combined to rx/tx or vice versa, the code
      uses the wrong "sh" parameter to determine if we are reserving rings
      for shared or non-shared mode.  It should be using the ethtool requested
      "sh" parameter instead of the current "sh" parameter.
      
      Fix it by passing the "sh" parameter to bnxt_reserve_rings().  For
      ethtool, we will pass in the requested "sh" parameter.
      
      Fixes: 391be5c2 ("bnxt_en: Implement new scheme to reserve tx rings.")
      Signed-off-by: NMichael Chan <michael.chan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3b6b34df
  17. 31 5月, 2017 1 次提交
  18. 25 4月, 2017 1 次提交
  19. 05 4月, 2017 6 次提交
  20. 13 2月, 2017 2 次提交