svn commit: r242355 - user/andre/tcp_workqueue/sys/sys
Andre Oppermann
andre at FreeBSD.org
Tue Oct 30 11:42:10 UTC 2012
Author: andre
Date: Tue Oct 30 11:33:47 2012
New Revision: 242355
URL: http://svn.freebsd.org/changeset/base/242355
Log:
Add define for CSUM_UFO which is UDP checksum offload.
Spell out TSO as TCP segmentation offload.
Modified:
user/andre/tcp_workqueue/sys/sys/mbuf.h
Modified: user/andre/tcp_workqueue/sys/sys/mbuf.h
==============================================================================
--- user/andre/tcp_workqueue/sys/sys/mbuf.h Tue Oct 30 11:15:36 2012 (r242354)
+++ user/andre/tcp_workqueue/sys/sys/mbuf.h Tue Oct 30 11:33:47 2012 (r242355)
@@ -280,8 +280,8 @@ struct mbuf {
#define CSUM_TCP 0x0002 /* will csum TCP */
#define CSUM_UDP 0x0004 /* will csum UDP */
#define CSUM_IPFRAG 0x0008 /* IP fragmentation offload */
-/* 0x0010 */
-#define CSUM_TSO 0x0020 /* will do TSO */
+#define CSUM_UFO 0x0010 /* UDP fragmentation offload */
+#define CSUM_TSO 0x0020 /* TCP segmentation offliad */
#define CSUM_SCTP 0x0040 /* will csum SCTP */
#define CSUM_SCTP_IPV6 0x0080 /* will csum IPv6/SCTP */
More information about the svn-src-user
mailing list