Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net add LRO
details: https://anonhg.NetBSD.org/src/rev/8b67d5643085
branches: trunk
changeset: 328762:8b67d5643085
user: christos <christos%NetBSD.org@localhost>
date: Thu Apr 17 15:45:39 2014 +0000
description:
add LRO
diffstat:
sys/net/if.h | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 38b2d3d6ffe2 -r 8b67d5643085 sys/net/if.h
--- a/sys/net/if.h Thu Apr 17 15:35:49 2014 +0000
+++ b/sys/net/if.h Thu Apr 17 15:45:39 2014 +0000
@@ -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 @@
#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 @@
"\20TCP6CSUM_Tx" \
"\21UDP6CSUM_Rx" \
"\22UDP6CSUM_Tx" \
- "\23TSO6"
+ "\23TSO6" \
+ "\24LRO" \
/*
* Output queues (ifp->if_snd) and internetwork datagram level (pup level 1)
Home |
Main Index |
Thread Index |
Old Index