netxen: enable LRO based on NETIF_F_LRO
o Enable/disable LRO in device based on NETIF_F_LRO flag, instead of using driver private flag. o Disable LRO, if rx csum offloading is off. David Miller, You should use netdev_info() instead of dev_info(). Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com> Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
0cf445ceaf
commit
e4baaf7198
@@ -1132,6 +1132,7 @@ typedef struct {
|
||||
#define NETXEN_NIC_MSI_ENABLED 0x02
|
||||
#define NETXEN_NIC_MSIX_ENABLED 0x04
|
||||
#define NETXEN_NIC_LRO_ENABLED 0x08
|
||||
#define NETXEN_NIC_LRO_DISABLED 0x00
|
||||
#define NETXEN_NIC_BRIDGE_ENABLED 0X10
|
||||
#define NETXEN_NIC_DIAG_ENABLED 0x20
|
||||
#define NETXEN_IS_MSI_FAMILY(adapter) \
|
||||
|
Reference in New Issue
Block a user