diff options
author | Dhananjay Phadke <dhananjay@netxen.com> | 2009-08-05 07:34:09 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-05 12:40:15 -0700 |
commit | c1c00ab8626298ac784ea344bf10e94b5bd9bcb5 (patch) | |
tree | 49c6479ddaa4121b06cc762f1ee1e19fdfde3e65 /drivers/net/netxen/netxen_nic_ctx.c | |
parent | 06db58c0cd92e157a4ccf2b6836c9f4b931c7cda (diff) | |
download | op-kernel-dev-c1c00ab8626298ac784ea344bf10e94b5bd9bcb5.zip op-kernel-dev-c1c00ab8626298ac784ea344bf10e94b5bd9bcb5.tar.gz |
netxen: add hardware LRO support
Add support to handle aggregate packets from firmware.
Local TCP flows are automatically identified by firmware
based on the dest IP hash added by driver for local IP
addresses.
The packets are sent down on the jumbo rx ring.
Signed-off-by: Narender Kumar <narender.kumar@qlogic.com>
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_ctx.c')
-rw-r--r-- | drivers/net/netxen/netxen_nic_ctx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/netxen/netxen_nic_ctx.c b/drivers/net/netxen/netxen_nic_ctx.c index 9e04696..412d658 100644 --- a/drivers/net/netxen/netxen_nic_ctx.c +++ b/drivers/net/netxen/netxen_nic_ctx.c @@ -203,6 +203,8 @@ nx_fw_cmd_create_rx_ctx(struct netxen_adapter *adapter) cap = (NX_CAP0_LEGACY_CONTEXT | NX_CAP0_LEGACY_MN); cap |= (NX_CAP0_JUMBO_CONTIGUOUS | NX_CAP0_LRO_CONTIGUOUS); + if (adapter->capabilities & NX_FW_CAPABILITY_HW_LRO) + cap |= NX_CAP0_HW_LRO; prq->capabilities[0] = cpu_to_le32(cap); prq->host_int_crb_mode = |