From: David S. Miller Date: Fri, 29 Apr 2022 10:57:01 +0000 (+0100) Subject: Merge branch 'remove-NAPI_POLL_WEIGHT-copies' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=17d49e6e8012a9e30f8aab7af82f6a14ca25afaf;p=linux.git 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 --- 17d49e6e8012a9e30f8aab7af82f6a14ca25afaf