1. 22 1月, 2019 3 次提交
  2. 18 1月, 2019 1 次提交
    • P
      net: Add extack argument to ndo_fdb_add() · 87b0984e
      Petr Machata 提交于
      Drivers may not be able to support certain FDB entries, and an error
      code is insufficient to give clear hints as to the reasons of rejection.
      
      In order to make it possible to communicate the rejection reason, extend
      ndo_fdb_add() with an extack argument. Adapt the existing
      implementations of ndo_fdb_add() to take the parameter (and ignore it).
      Pass the extack parameter when invoking ndo_fdb_add() from rtnl_fdb_add().
      Signed-off-by: NPetr Machata <petrm@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      87b0984e
  3. 08 1月, 2019 1 次提交
  4. 21 12月, 2018 2 次提交
  5. 13 12月, 2018 4 次提交
  6. 29 11月, 2018 2 次提交
  7. 22 11月, 2018 1 次提交
    • J
      ethernet/intel: consolidate NAPI and NAPI exit · 0bcd952f
      Jesse Brandeburg 提交于
      While reviewing code, I noticed that Eric Dumazet recommends that
      drivers check the return code of napi_complete_done, and use that
      to decide to enable interrupts or not when exiting poll.  One of
      the Intel drivers was already fixed (ixgbe).
      
      Upon looking at the Intel drivers as a whole, we are handling our
      polling and NAPI exit in a few different ways based on whether we
      have multiqueue and whether we have Tx cleanup included. Several
      drivers had the bug of exiting NAPI with return 0, which appears
      to mess up the accounting in the stack.
      
      Consolidate all the NAPI routines to do best known way of exiting
      and to just mostly look like each other.
      1) check return code of napi_complete_done to control interrupt enable
      2) return the actual amount of work done.
      3) return budget immediately if need NAPI poll again
      
      Tested the changes on e1000e with a high interrupt rate set, and
      it shows about an 8% reduction in the CPU utilization when busy
      polling because we aren't re-enabling interrupts when we're about
      to be polled.
      Signed-off-by: NJesse Brandeburg <jesse.brandeburg@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Reviewed-by: NJacob Keller <jacob.e.keller@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      0bcd952f
  8. 15 11月, 2018 12 次提交
  9. 08 11月, 2018 4 次提交
  10. 01 11月, 2018 1 次提交
  11. 26 10月, 2018 1 次提交
  12. 04 10月, 2018 2 次提交
  13. 03 10月, 2018 1 次提交
  14. 26 9月, 2018 5 次提交