qeth: NAPI support for l2 and l3 discipline
authorFrank Blaschka <frank.blaschka@de.ibm.com>
Tue, 7 Sep 2010 21:14:42 +0000 (21:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Sep 2010 21:31:02 +0000 (14:31 -0700)
commita1c3ed4c9ca01dded8d511a1d1daf271fbae8d89
tree1ff0b2887e550f127fe844222b6833b831a4b036
parent81d53749416995538f830c8e4d3fbaf1769b9375
qeth: NAPI support for l2 and l3 discipline

This patch adds NAPI support to the qeth layer 2 and layer 3
discipline. It is important to understand that we can not enable/disable
IRQs as usual, we have to use the corresponding new QDIO interface.
Also to not overdraw the budget we have to stop and restart buffer
processing at any point during processing a bulk of QDIO buffers.
Having the driver NAPI enabled it is possible to turn on GRO for the
layer 3 discipline.

Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core.h
drivers/s390/net/qeth_core_main.c
drivers/s390/net/qeth_l2_main.c
drivers/s390/net/qeth_l3_main.c