Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Propagate the IFCAP_TSOv6 property also.



details:   https://anonhg.NetBSD.org/src/rev/cc224742509c
branches:  trunk
changeset: 752502:cc224742509c
user:      darran <darran%NetBSD.org@localhost>
date:      Sun Feb 28 07:10:40 2010 +0000

description:
Propagate the IFCAP_TSOv6 property also.

diffstat:

 sys/net/if_vlan.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a4674ae60b34 -r cc224742509c sys/net/if_vlan.c
--- a/sys/net/if_vlan.c Sun Feb 28 07:01:43 2010 +0000
+++ b/sys/net/if_vlan.c Sun Feb 28 07:10:40 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_vlan.c,v 1.64 2010/01/19 22:08:01 pooka Exp $       */
+/*     $NetBSD: if_vlan.c,v 1.65 2010/02/28 07:10:40 darran Exp $      */
 
 /*-
  * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vlan.c,v 1.64 2010/01/19 22:08:01 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vlan.c,v 1.65 2010/02/28 07:10:40 darran Exp $");
 
 #include "opt_inet.h"
 
@@ -318,7 +318,7 @@
                 */
                if (ec->ec_capabilities & ETHERCAP_VLAN_HWTAGGING)
                        ifp->if_capabilities = p->if_capabilities &
-                           (IFCAP_TSOv4 |
+                           (IFCAP_TSOv4 | IFCAP_TSOv6 |
                             IFCAP_CSUM_IPv4_Tx|IFCAP_CSUM_IPv4_Rx|
                             IFCAP_CSUM_TCPv4_Tx|IFCAP_CSUM_TCPv4_Rx|
                             IFCAP_CSUM_UDPv4_Tx|IFCAP_CSUM_UDPv4_Rx|



Home | Main Index | Thread Index | Old Index