Propagate the IFCAP_TSOv6 property also.
This commit is contained in:
parent
ba7b8985fe
commit
6cc8d64caf
|
@ -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 @@ vlan_config(struct ifvlan *ifv, struct ifnet *p)
|
|||
*/
|
||||
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|
|
||||
|
|
Loading…
Reference in New Issue