1. 02 5月, 2022 1 次提交
  2. 01 5月, 2022 6 次提交
  3. 30 4月, 2022 32 次提交
  4. 29 4月, 2022 1 次提交
    • D
      Merge branch 'remove-NAPI_POLL_WEIGHT-copies' · 17d49e6e
      David S. Miller 提交于
      Merge branch 'remove-NAPI_POLL_WEIGHT-copies'
      
      Jakub Kicinski says:
      
      ====================
      remove copies of the NAPI_POLL_WEIGHT define
      
      netif_napi_add() takes weight as the last argument. The value of
      that parameter is hard to come up with and depends on many factors,
      so driver authors are encouraged to use NAPI_POLL_WEIGHT.
      
      We should probably move weight to an "advanced" version of the API
      (__netif_napi_add()?) and simplify the life of most driver authors.
      
      In preparation for such API changes this series removes local
      defines equivalent to NAPI_POLL_WEIGHT from drivers, so that a simple
      coccinelle / spatch script does not get thrown off by them.
      
      v2:
       - drop staging bits (patch 2)
       - fix subject (patch 8)
       - add qeth change (patch 15)
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      17d49e6e