netxen: ethtool statistics and control for LRO
Add ethtool -K knob to control LRO in firmware. LRO path is completely separated from GRO, LRO packets are still fed with netif_receive_skb(). Also fix ethtool statistics to include LRO packets. Also use correct message type while configuring interrupt coalescing. 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
8fea0f0db8
commit
1bb482f8a4
@@ -203,8 +203,6 @@ 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