Module Name:    src
Committed By:   christos
Date:           Thu Apr 17 15:45:39 UTC 2014

Modified Files:
        src/sys/net: if.h

Log Message:
add LRO


To generate a diff of this commit:
cvs rdiff -u -r1.161 -r1.162 src/sys/net/if.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/net/if.h
diff -u src/sys/net/if.h:1.161 src/sys/net/if.h:1.162
--- src/sys/net/if.h:1.161	Wed Mar 12 08:59:57 2014
+++ src/sys/net/if.h	Thu Apr 17 11:45:39 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: if.h,v 1.161 2014/03/12 12:59:57 pooka Exp $	*/
+/*	$NetBSD: if.h,v 1.162 2014/04/17 15:45:39 christos Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -401,7 +401,8 @@ typedef struct ifnet {
 #define	IFCAP_CSUM_UDPv6_Rx	0x10000	/* can do IPv6/UDP checksums (Rx) */
 #define	IFCAP_CSUM_UDPv6_Tx	0x20000	/* can do IPv6/UDP checksums (Tx) */
 #define	IFCAP_TSOv6		0x40000	/* can do TCPv6 segmentation offload */
-#define	IFCAP_MASK		0x7ff80 /* currently valid capabilities */
+#define	IFCAP_LRO		0x80000	/* can do Large Receive Offload */
+#define	IFCAP_MASK		0xfff80 /* currently valid capabilities */
 
 #define	IFCAPBITS		\
 	"\020"			\
@@ -416,7 +417,8 @@ typedef struct ifnet {
 	"\20TCP6CSUM_Tx"	\
 	"\21UDP6CSUM_Rx"	\
 	"\22UDP6CSUM_Tx"	\
-	"\23TSO6"
+	"\23TSO6"		\
+	"\24LRO"		\
 
 /*
  * Output queues (ifp->if_snd) and internetwork datagram level (pup level 1)

Reply via email to