summaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/en_netdev.c
diff options
context:
space:
mode:
authorAmerigo Wang2010-08-17 23:51:18 +0200
committerDavid S. Miller2010-08-23 06:43:58 +0200
commitf3c58aceaa3f237ba43735805f4677950327b8ee (patch)
treed847af6efead20dc3eeea2c6cb73be097d507a7a /drivers/net/mlx4/en_netdev.c
parentxen: use less generic names in netfront driver. (diff)
downloadkernel-qcow2-linux-f3c58aceaa3f237ba43735805f4677950327b8ee.tar.gz
kernel-qcow2-linux-f3c58aceaa3f237ba43735805f4677950327b8ee.tar.xz
kernel-qcow2-linux-f3c58aceaa3f237ba43735805f4677950327b8ee.zip
mlx4: remove num_lro parameter
As suggested by David, this parameter can die, we can use ethtool to turn LRO on/off. Compile tests only. Signed-off-by: WANG Cong <amwang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/en_netdev.c')
-rw-r--r--drivers/net/mlx4/en_netdev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/mlx4/en_netdev.c b/drivers/net/mlx4/en_netdev.c
index a0d8a26f5a02..d00bfe250b05 100644
--- a/drivers/net/mlx4/en_netdev.c
+++ b/drivers/net/mlx4/en_netdev.c
@@ -1038,8 +1038,7 @@ int mlx4_en_init_netdev(struct mlx4_en_dev *mdev, int port,
dev->features |= NETIF_F_HW_VLAN_TX |
NETIF_F_HW_VLAN_RX |
NETIF_F_HW_VLAN_FILTER;
- if (mdev->profile.num_lro)
- dev->features |= NETIF_F_LRO;
+ dev->features |= NETIF_F_LRO;
if (mdev->LSO_support) {
dev->features |= NETIF_F_TSO;
dev->features |= NETIF_F_TSO6;