bin/128295: ifconfig does not print TOE4 or TOE6 capabilities

Jeremy Chadwick koitsu at FreeBSD.org
Wed Oct 22 15:30:02 UTC 2008


>Number:         128295
>Category:       bin
>Synopsis:       ifconfig does not print TOE4 or TOE6 capabilities
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 22 15:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Jeremy Chadwick
>Release:        FreeBSD 7.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD icarus.home.lan 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Oct 2 03:04:20 PDT 2008 root at icarus.home.lan:/usr/obj/usr/src/sys/PDSMI_PLUS_RELENG_7_amd64 amd64
>Description:
	ifconfig has not been extended to print TOE4 and TOE6 capabilities.
>How-To-Repeat:
	ifconfig -m on a machine which has TOE4 or TOE6 available.
>Fix:
	Apply below patch.


--- /usr/src/sbin/ifconfig/ifconfig.c	2008-04-25 09:48:08.000000000 -0700
+++ ./ifconfig.c	2008-10-22 08:27:27.961794227 -0700
@@ -776,7 +776,8 @@
 
 #define	IFCAPBITS \
 "\020\1RXCSUM\2TXCSUM\3NETCONS\4VLAN_MTU\5VLAN_HWTAGGING\6JUMBO_MTU\7POLLING" \
-"\10VLAN_HWCSUM\11TSO4\12TSO6\13LRO\14WOL_UCAST\15WOL_MCAST\16WOL_MAGIC"
+"\10VLAN_HWCSUM\11TSO4\12TSO6\13LRO\14WOL_UCAST\15WOL_MCAST\16WOL_MAGIC\17TOE4" \
+"\20TOE6"
 
 /*
  * Print the status of the interface.  If an address family was
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list