Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2008 08:29:21 -0700 (PDT)
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/128295: ifconfig does not print TOE4 or TOE6 capabilities
Message-ID:  <20081022152921.268B7C9432@icarus.home.lan>
Resent-Message-ID: <200810221530.m9MFU1uC027760@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081022152921.268B7C9432>