summaryrefslogtreecommitdiffstats
path: root/sys/ofed
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2012-04-23 21:50:10 +0000
committerbz <bz@FreeBSD.org>2012-04-23 21:50:10 +0000
commitb7bac6e4244c0d74c32ceb508b9307a57d5c65e3 (patch)
tree392316a46bc43ecd37957072d688e751d174ec08 /sys/ofed
parentfea03b23ab564f0e7cc4ae0f3af29f5bed709ffe (diff)
downloadFreeBSD-src-b7bac6e4244c0d74c32ceb508b9307a57d5c65e3.zip
FreeBSD-src-b7bac6e4244c0d74c32ceb508b9307a57d5c65e3.tar.gz
Do not announce IPv6 TSO support yet. The driver seems to make assumptions
based on IPv4 header parsing only. MFC after: 1 week
Diffstat (limited to 'sys/ofed')
-rw-r--r--sys/ofed/drivers/net/mlx4/en_netdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/drivers/net/mlx4/en_netdev.c b/sys/ofed/drivers/net/mlx4/en_netdev.c
index 8505d7e..537e3eb 100644
--- a/sys/ofed/drivers/net/mlx4/en_netdev.c
+++ b/sys/ofed/drivers/net/mlx4/en_netdev.c
@@ -1569,7 +1569,7 @@ int mlx4_en_init_netdev(struct mlx4_en_dev *mdev, int port,
dev->if_capabilities |= IFCAP_VLAN_HWCSUM | IFCAP_VLAN_HWFILTER;
dev->if_capabilities |= IFCAP_LINKSTATE | IFCAP_JUMBO_MTU;
if (mdev->LSO_support)
- dev->if_capabilities |= IFCAP_TSO | IFCAP_VLAN_HWTSO;
+ dev->if_capabilities |= IFCAP_TSO4 | IFCAP_VLAN_HWTSO;
if (mdev->profile.num_lro)
dev->if_capabilities |= IFCAP_LRO;
dev->if_capenable = dev->if_capabilities;
OpenPOWER on IntegriCloud