1. 28 4月, 2018 2 次提交
    • A
      bnxt_en: reduce timeout on initial HWRM calls · 9751e8e7
      Andy Gospodarek 提交于
      Testing with DIM enabled on older kernels indicated that firmware calls
      were slower than expected.  More detailed analysis indicated that the
      default 25us delay was higher than necessary.  Reducing the time spend in
      usleep_range() for the first several calls would reduce the overall
      latency of firmware calls on newer Intel processors.
      Signed-off-by: NAndy Gospodarek <gospo@broadcom.com>
      Signed-off-by: NMichael Chan <michael.chan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9751e8e7
    • M
      bnxt_en: Add TC to hardware QoS queue mapping logic. · 2e8ef77e
      Michael Chan 提交于
      The current driver maps MQPRIO traffic classes directly 1:1 to the
      internal hardware queues (TC0 maps to hardware queue 0, etc).  This
      direct mapping requires the internal hardware queues to be reconfigured
      from lossless to lossy and vice versa when necessary.  This
      involves reconfiguring internal buffer thresholds which is
      disruptive and not always reliable.
      
      Implement a new scheme to map TCs to internal hardware queues by
      matching up their PFC requirements.  This will eliminate the need
      to reconfigure a hardware queue internal buffers at run time.  After
      remapping, the NIC is closed and opened for the new TC to hardware
      queues to take effect.
      
      This patch only adds the basic mapping logic.
      Signed-off-by: NMichael Chan <michael.chan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2e8ef77e
  2. 01 4月, 2018 7 次提交
  3. 27 3月, 2018 1 次提交
  4. 12 3月, 2018 1 次提交
  5. 18 1月, 2018 7 次提交
  6. 11 1月, 2018 1 次提交
  7. 06 1月, 2018 1 次提交
  8. 27 10月, 2017 6 次提交
  9. 15 10月, 2017 2 次提交
  10. 29 8月, 2017 5 次提交
  11. 25 7月, 2017 6 次提交
  12. 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