diff options
author | David S. Miller <davem@davemloft.net> | 2022-04-29 11:57:01 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-29 11:57:01 +0100 |
commit | 17d49e6e8012a9e30f8aab7af82f6a14ca25afaf (patch) | |
tree | d2f8c60d64404d1c420880ad42eadcf1978af93d /drivers/net/phy | |
parent | net: dsa: mv88e6xxx: Single chip mode detection for MV88E6*41 (diff) | |
parent | qeth: remove a copy of the NAPI_POLL_WEIGHT define (diff) | |
download | linux-dev-17d49e6e8012a9e30f8aab7af82f6a14ca25afaf.tar.xz linux-dev-17d49e6e8012a9e30f8aab7af82f6a14ca25afaf.zip |
Merge branch 'remove-NAPI_POLL_WEIGHT-copies'
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions