diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-04-28 23:23:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-29 12:56:41 +0200 |
commit | e702def527ecdeabe0c8a302db0370161892d740 (patch) | |
tree | 5819272ef10410b91069753ad3b5f2724a353c22 /drivers/net/ethernet/emulex/benet/be_main.c | |
parent | eth: atlantic: remove a copy of the NAPI_POLL_WEIGHT define (diff) | |
download | linux-e702def527ecdeabe0c8a302db0370161892d740.tar.xz linux-e702def527ecdeabe0c8a302db0370161892d740.zip |
eth: benet: remove a copy of the NAPI_POLL_WEIGHT define
Defining local versions of NAPI_POLL_WEIGHT with the same
values in the drivers just makes refactoring harder.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_main.c')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index d0c262f2695a..5939068a8f62 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c @@ -2983,7 +2983,7 @@ static int be_evt_queues_create(struct be_adapter *adapter) cpumask_set_cpu(cpumask_local_spread(i, numa_node), eqo->affinity_mask); netif_napi_add(adapter->netdev, &eqo->napi, be_poll, - BE_NAPI_WEIGHT); + NAPI_POLL_WEIGHT); } return 0; } |