]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Add TPA, Broadcoms HW LRO
authorVladislav Zolotarov <vladz@broadcom.com>
Tue, 24 Jun 2008 03:34:36 +0000 (20:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jun 2008 03:34:36 +0000 (20:34 -0700)
commit8d3ca972e02bcb9a53c1c0589e69e9bbc1a5cb39
tree99d1a31c0112557794398b8add1cb22c51667afa
parent1e12746c2c52151ecbbb81c8ace70723e060220c
bnx2x: Add TPA, Broadcoms HW LRO

The TPA stands for Transparent Packet Aggregation. When enabled, the FW
aggregate in-order TCP packets according to the 4-tuple match and sends
1 big packet to the driver. This packet is stored on an SGL in which
each SGE is 1 page. The FW also implements a timeout algorithm and it
honors all TCP flag, including the push flag as a trigger to halt
aggregation.

After receiving Ben Hutchings comments, we also added ethtool support,
so now, thanks to Ben's patch, when forwarding is enabled, our
aggregation is turned off using the LRO flags.

Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x.h
drivers/net/bnx2x_main.c