diff options
author | andre <andre@FreeBSD.org> | 2006-09-29 13:17:16 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2006-09-29 13:17:16 +0000 |
commit | fe1a7e4ebbd78dd0665a2b92670f9ac511ddc501 (patch) | |
tree | 41da9facb3fac9f3aae67cf62832d9206c680c14 /sys | |
parent | d066071e5efd02a0f61eba87a164fdc18b623b00 (diff) | |
download | FreeBSD-src-fe1a7e4ebbd78dd0665a2b92670f9ac511ddc501.zip FreeBSD-src-fe1a7e4ebbd78dd0665a2b92670f9ac511ddc501.tar.gz |
Only advertize IFCAP_TSO4 capabilities. IPv6 is not yet supported.
Reviewed by: jfv
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/em/if_em.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c index 112f796..e62271c 100644 --- a/sys/dev/em/if_em.c +++ b/sys/dev/em/if_em.c @@ -911,8 +911,8 @@ em_ioctl(struct ifnet *ifp, u_long command, caddr_t data) ifp->if_capenable ^= IFCAP_HWCSUM; reinit = 1; } - if (mask & IFCAP_TSO) { - ifp->if_capenable ^= IFCAP_TSO; + if (mask & IFCAP_TSO4) { + ifp->if_capenable ^= IFCAP_TSO4; reinit = 1; } if (mask & IFCAP_VLAN_HWTAGGING) { @@ -2356,8 +2356,8 @@ em_setup_interface(device_t dev, struct adapter *adapter) /* Enable TSO if available */ if ((adapter->hw.mac_type > em_82544) && (adapter->hw.mac_type != em_82547)) { - ifp->if_capabilities |= IFCAP_TSO; - ifp->if_capenable |= IFCAP_TSO; + ifp->if_capabilities |= IFCAP_TSO4; + ifp->if_capenable |= IFCAP_TSO4; } /* |