summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2013-06-24 13:21:52 +0200
committerDavid S. Miller <davem@davemloft.net>2013-06-25 16:10:14 -0700
commit6541aa52a0f9911b0d9d9df14b1da3147a98f58b (patch)
treee170428924ff51e1b22c1cbf3b672f304ac90688 /drivers
parentede88671664128b811e7c709bead39f5b3f3abcf (diff)
downloadop-kernel-dev-6541aa52a0f9911b0d9d9df14b1da3147a98f58b.zip
op-kernel-dev-6541aa52a0f9911b0d9d9df14b1da3147a98f58b.tar.gz
qeth: use default napi weight
Since commit 82dc3c63c692b1e1d59378ecee948ac88e034aad "net: introduce NAPI_POLL_WEIGHT" network drivers receive a warning when they use napi weight higher than NAPI_POLL_WEIGHT. This patch reduces QETH_NAPI_WEIGHT from 128 to 64 (NAPI_POLL_WEIGHT). Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Frank Blaschka <blaschka@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/s390/net/qeth_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h
index c4f392d..41ef943 100644
--- a/drivers/s390/net/qeth_core.h
+++ b/drivers/s390/net/qeth_core.h
@@ -738,7 +738,7 @@ struct qeth_rx {
int qdio_err;
};
-#define QETH_NAPI_WEIGHT 128
+#define QETH_NAPI_WEIGHT NAPI_POLL_WEIGHT
struct qeth_card {
struct list_head list;
OpenPOWER on IntegriCloud