OSDN Git Service

net: axienet: implement NAPI and GRO receive
authorRobert Hancock <robert.hancock@calian.com>
Sat, 5 Mar 2022 02:24:41 +0000 (20:24 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Mar 2022 11:12:08 +0000 (11:12 +0000)
commitcc37610caaf8d13a6ecb8afd1fe2ebc2424ff622
tree3961f1c743b26d137ebe7417c3613930cd086199
parent0155ae6eb84dbeecb7199a2fd9dee72e046ac875
net: axienet: implement NAPI and GRO receive

Implement NAPI and GRO receive. In addition to better performance, this
also avoids handling RX packets in hard IRQ context, which reduces the
IRQ latency impact to other devices.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_axienet.h
drivers/net/ethernet/xilinx/xilinx_axienet_main.c