1. 28 4月, 2018 9 次提交
  2. 24 4月, 2018 1 次提交
  3. 20 4月, 2018 1 次提交
  4. 19 4月, 2018 1 次提交
  5. 12 4月, 2018 6 次提交
  6. 04 4月, 2018 2 次提交
  7. 02 4月, 2018 2 次提交
  8. 01 4月, 2018 16 次提交
  9. 30 3月, 2018 2 次提交
    • F
      net: bcmgenet: Fix coalescing settings handling · 5e6ce1f1
      Florian Fainelli 提交于
      There were a number of issues with setting the RX coalescing parameters:
      
      - we would not be preserving values that would have been configured
        across close/open calls, instead we would always reset to no timeout
        and 1 interrupt per packet, this would also prevent DIM from setting its
        default usec/pkts values
      
      - when adaptive RX would be turned on, we woud not be fetching the
        default parameters, we would stay with no timeout/1 packet per interrupt
        until the estimator kicks in and changes that
      
      - finally disabling adaptive RX coalescing while providing parameters
        would not be honored, and we would stay with whatever DIM had previously
        determined instead of the user requested parameters
      
      Fixes: 9f4ca058 ("net: bcmgenet: Add support for adaptive RX coalescing")
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Reviewed-by: NTal Gilboa <talgi@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5e6ce1f1
    • F
      net: systemport: Fix coalescing settings handling · a8cdfbdf
      Florian Fainelli 提交于
      There were a number of issues with setting the RX coalescing parameters:
      
      - we would not be preserving values that would have been configured
        across close/open calls, instead we would always reset to no timeout
        and 1 interrupt per packet, this would also prevent DIM from setting its
        default usec/pkts values
      
      - when adaptive RX would be turned on, we woud not be fetching the
        default parameters, we would stay with no timeout/1 packet per
        interrupt until the estimator kicks in and changes that
      
      - finally disabling adaptive RX coalescing while providing parameters
        would not be honored, and we would stay with whatever DIM had
        previously determined instead of the user requested parameters
      
      Fixes: b6e0e875 ("net: systemport: Implement adaptive interrupt coalescing")
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Reviewed-by: NTal Gilboa <talgi@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a8cdfbdf