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>
This commit is contained in:
committed by
David S. Miller
parent
06db58c0cd
commit
c1c00ab862
@ -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 =
|
||||
|
Reference in New Issue
Block a user