summaryrefslogtreecommitdiffstats
path: root/sys/ofed/drivers/net
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2014-09-13 20:52:01 +0000
committerhselasky <hselasky@FreeBSD.org>2014-09-13 20:52:01 +0000
commit727760a4e452031c6ff1856c341de106c671838e (patch)
treef2a711c563349212d5fa8c8a4d2f0a78d82ace1e /sys/ofed/drivers/net
parentd999791b48275bcd322e001fb9096478bb0f0045 (diff)
downloadFreeBSD-src-727760a4e452031c6ff1856c341de106c671838e.zip
FreeBSD-src-727760a4e452031c6ff1856c341de106c671838e.tar.gz
Revert r271504. A new patch to solve this issue will be made.
Suggested by: adrian @
Diffstat (limited to 'sys/ofed/drivers/net')
-rw-r--r--sys/ofed/drivers/net/mlx4/en_netdev.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/ofed/drivers/net/mlx4/en_netdev.c b/sys/ofed/drivers/net/mlx4/en_netdev.c
index a8eb5c8..d8b015b 100644
--- a/sys/ofed/drivers/net/mlx4/en_netdev.c
+++ b/sys/ofed/drivers/net/mlx4/en_netdev.c
@@ -673,12 +673,6 @@ int mlx4_en_do_start_port(struct net_device *dev)
else
priv->rx_csum = 0;
- /* set TSO limits so that we don't have to drop TX packets */
- dev->if_hw_tsomax = IF_HW_TSOMAX_BUILD_VALUE(
- 65535 - sizeof(struct ether_vlan_header) /* bytes */,
- 16 /* maximum frag count */,
- 16 /* can do up to 4GByte */);
-
err = mlx4_wol_read(priv->mdev->dev, &config, priv->port);
if (err) {
en_err(priv, "Failed to get WoL info, unable to modify\n");
OpenPOWER on IntegriCloud