s2io: add dynamic LRO disable support
authorJon Mason <jon.mason@exar.com>
Thu, 24 Jun 2010 18:45:10 +0000 (18:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jun 2010 06:04:10 +0000 (23:04 -0700)
commit958de1931cbfbcd9c0d425a2291a769a851f15d0
tree5fba4cc2888f6c7276957c8a6936fd885bb554aa
parent172d69e63c7f1e8300d0e1c1bbd8eb0f630faa15
s2io: add dynamic LRO disable support

This patch adds dynamic LRO disable support for s2io net driver,
enables LRO by default, increases the driver version number, and
corrects the name of the LRO modparm.

This is mostly Wang's patch based on Neil's initial work, heavily
modified based on Ramkrishna's suggestions.  This has been tested on
a Neterion Xframe adapter and verified via adapter LRO statistics.

Signed-off-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: WANG Cong <amwang@redhat.com>
Signed-off-by: Neil Horman <nhorman@redhat.com>
Acked-by: Neil Horman <nhorman@redhat.com>
Reviewed-by: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: Ramkrishna Vepa <Ramkrishna.Vepa@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/s2io.c