summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig/ifconfig.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2012-05-19 23:25:57 +0000
committerbz <bz@FreeBSD.org>2012-05-19 23:25:57 +0000
commit39bd73ddd4464be28e975776f13b834426a11618 (patch)
tree7b26ad2dcb6bd355941287141d94fd988fddfcc3 /sbin/ifconfig/ifconfig.c
parent1e1aafe3d81f37eb62fdfe14b4ee3ea1dacde074 (diff)
downloadFreeBSD-src-39bd73ddd4464be28e975776f13b834426a11618.zip
FreeBSD-src-39bd73ddd4464be28e975776f13b834426a11618.tar.gz
MFp4 bz_ipv6_fast:
Allow tso4 and tso6 be set individually given we have the bits. This will help with drivers not working as expected during the transition time and later. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems Reviewed by: gnn MFC After: 1 week
Diffstat (limited to 'sbin/ifconfig/ifconfig.c')
-rw-r--r--sbin/ifconfig/ifconfig.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index 5eb71ea..dd5e54a 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1201,6 +1201,10 @@ static struct cmd basic_cmds[] = {
DEF_CMD("-netcons", -IFCAP_NETCONS, setifcap),
DEF_CMD("polling", IFCAP_POLLING, setifcap),
DEF_CMD("-polling", -IFCAP_POLLING, setifcap),
+ DEF_CMD("tso6", IFCAP_TSO6, setifcap),
+ DEF_CMD("-tso6", -IFCAP_TSO6, setifcap),
+ DEF_CMD("tso4", IFCAP_TSO4, setifcap),
+ DEF_CMD("-tso4", -IFCAP_TSO4, setifcap),
DEF_CMD("tso", IFCAP_TSO, setifcap),
DEF_CMD("-tso", -IFCAP_TSO, setifcap),
DEF_CMD("lro", IFCAP_LRO, setifcap),
OpenPOWER on IntegriCloud