Date: Tue, 17 Apr 2012 20:47:11 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r234398 - user/np/toe_iwarp/sbin/ifconfig Message-ID: <201204172047.q3HKlBVU098555@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: np Date: Tue Apr 17 20:47:11 2012 New Revision: 234398 URL: http://svn.freebsd.org/changeset/base/234398 Log: Allow ifconfig to display, set, and clear IFCAP_TOE. Modified: user/np/toe_iwarp/sbin/ifconfig/ifconfig.c Modified: user/np/toe_iwarp/sbin/ifconfig/ifconfig.c ============================================================================== --- user/np/toe_iwarp/sbin/ifconfig/ifconfig.c Tue Apr 17 20:43:46 2012 (r234397) +++ user/np/toe_iwarp/sbin/ifconfig/ifconfig.c Tue Apr 17 20:47:11 2012 (r234398) @@ -916,7 +916,7 @@ unsetifdescr(const char *val, int value, #define IFCAPBITS \ "\020\1RXCSUM\2TXCSUM\3NETCONS\4VLAN_MTU\5VLAN_HWTAGGING\6JUMBO_MTU\7POLLING" \ "\10VLAN_HWCSUM\11TSO4\12TSO6\13LRO\14WOL_UCAST\15WOL_MCAST\16WOL_MAGIC" \ -"\21VLAN_HWFILTER\23VLAN_HWTSO\24LINKSTATE\25NETMAP" +"\17TOE4\20TOE6\21VLAN_HWFILTER\23VLAN_HWTSO\24LINKSTATE\25NETMAP\26VLAN_TOE" /* * Print the status of the interface. If an address family was @@ -1203,6 +1203,8 @@ static struct cmd basic_cmds[] = { DEF_CMD("-polling", -IFCAP_POLLING, setifcap), DEF_CMD("tso", IFCAP_TSO, setifcap), DEF_CMD("-tso", -IFCAP_TSO, setifcap), + DEF_CMD("toe", IFCAP_TOE, setifcap), + DEF_CMD("-toe", -IFCAP_TOE, setifcap), DEF_CMD("lro", IFCAP_LRO, setifcap), DEF_CMD("-lro", -IFCAP_LRO, setifcap), DEF_CMD("wol", IFCAP_WOL, setifcap),
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204172047.q3HKlBVU098555>