qeth: use default napi weight
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 24 Jun 2013 11:21:52 +0000 (13:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jun 2013 23:10:14 +0000 (16:10 -0700)
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>
drivers/s390/net/qeth_core.h

index c4f392d..41ef943 100644 (file)
@@ -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;