]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfaf30f2d7e86be5b2d5929ef6f3911708a85c5f9
tree1ff0b2887e550f127fe844222b6833b831a4b036
parent0f1593b5c6fb27833d87a563e97c01d74df5bb87
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