svn commit: r245933 - head/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Sat Jan 26 01:06:28 UTC 2013


Author: np
Date: Sat Jan 26 01:06:27 2013
New Revision: 245933
URL: http://svnweb.freebsd.org/changeset/base/245933

Log:
  cxgbe/tom: List IFCAP_TOE6 as supported now that all the required pieces
  are in place.  You still have to enable it explicitly, after loading the
  t4_tom KLD.

Modified:
  head/sys/dev/cxgbe/t4_main.c

Modified: head/sys/dev/cxgbe/t4_main.c
==============================================================================
--- head/sys/dev/cxgbe/t4_main.c	Sat Jan 26 00:57:29 2013	(r245932)
+++ head/sys/dev/cxgbe/t4_main.c	Sat Jan 26 01:06:27 2013	(r245933)
@@ -875,7 +875,7 @@ cxgbe_attach(device_t dev)
 	ifp->if_capabilities = T4_CAP;
 #ifdef TCP_OFFLOAD
 	if (is_offload(pi->adapter))
-		ifp->if_capabilities |= IFCAP_TOE4;
+		ifp->if_capabilities |= IFCAP_TOE;
 #endif
 	ifp->if_capenable = T4_CAP_ENABLE;
 	ifp->if_hwassist = CSUM_TCP | CSUM_UDP | CSUM_IP | CSUM_TSO |


More information about the svn-src-head mailing list