Fri Dec 21 07:13:30 2018 UTC ()
 Remove ETHERCAP_VLAN_HWFILTER.


(msaitoh)
diff -r1.9 -r1.10 src/sys/dev/pci/ixgbe/ixgbe_netbsd.h

cvs diff -r1.9 -r1.10 src/sys/dev/pci/ixgbe/ixgbe_netbsd.h (expand / switch to unified diff)

--- src/sys/dev/pci/ixgbe/ixgbe_netbsd.h 2018/12/06 13:25:02 1.9
+++ src/sys/dev/pci/ixgbe/ixgbe_netbsd.h 2018/12/21 07:13:30 1.10
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/*$NetBSD: ixgbe_netbsd.h,v 1.9 2018/12/06 13:25:02 msaitoh Exp $*/ 1/*$NetBSD: ixgbe_netbsd.h,v 1.10 2018/12/21 07:13:30 msaitoh Exp $*/
2/* 2/*
3 * Copyright (c) 2011 The NetBSD Foundation, Inc. 3 * Copyright (c) 2011 The NetBSD Foundation, Inc.
4 * All rights reserved. 4 * All rights reserved.
5 * 5 *
6 * This code is derived from software contributed to The NetBSD Foundation 6 * This code is derived from software contributed to The NetBSD Foundation
7 * by Coyote Point Systems, Inc. 7 * by Coyote Point Systems, Inc.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions 10 * modification, are permitted provided that the following conditions
11 * are met: 11 * are met:
12 * 1. Redistributions of source code must retain the above copyright 12 * 1. Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer.
14 * 2. Redistributions in binary form must reproduce the above copyright 14 * 2. Redistributions in binary form must reproduce the above copyright
@@ -25,27 +25,26 @@ @@ -25,27 +25,26 @@
25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 * POSSIBILITY OF SUCH DAMAGE. 28 * POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31#ifndef _IXGBE_NETBSD_H 31#ifndef _IXGBE_NETBSD_H
32#define _IXGBE_NETBSD_H 32#define _IXGBE_NETBSD_H
33 33
34#if 0 /* Enable this if you don't want to use TX multiqueue function */ 34#if 0 /* Enable this if you don't want to use TX multiqueue function */
35#define IXGBE_LEGACY_TX 1 35#define IXGBE_LEGACY_TX 1
36#endif 36#endif
37 37
38#define ETHERCAP_VLAN_HWFILTER 0 
39#define ETHERCAP_VLAN_HWCSUM 0 38#define ETHERCAP_VLAN_HWCSUM 0
40#define MJUM9BYTES (9 * 1024) 39#define MJUM9BYTES (9 * 1024)
41#define MJUM16BYTES (16 * 1024) 40#define MJUM16BYTES (16 * 1024)
42#define MJUMPAGESIZE PAGE_SIZE 41#define MJUMPAGESIZE PAGE_SIZE
43 42
44#define IFCAP_RXCSUM \ 43#define IFCAP_RXCSUM \
45 (IFCAP_CSUM_IPv4_Rx|IFCAP_CSUM_TCPv4_Rx|IFCAP_CSUM_UDPv4_Rx|\ 44 (IFCAP_CSUM_IPv4_Rx|IFCAP_CSUM_TCPv4_Rx|IFCAP_CSUM_UDPv4_Rx|\
46 IFCAP_CSUM_TCPv6_Rx|IFCAP_CSUM_UDPv6_Rx) 45 IFCAP_CSUM_TCPv6_Rx|IFCAP_CSUM_UDPv6_Rx)
47 46
48#define IFCAP_TXCSUM \ 47#define IFCAP_TXCSUM \
49 (IFCAP_CSUM_IPv4_Tx|IFCAP_CSUM_TCPv4_Tx|IFCAP_CSUM_UDPv4_Tx|\ 48 (IFCAP_CSUM_IPv4_Tx|IFCAP_CSUM_TCPv4_Tx|IFCAP_CSUM_UDPv4_Tx|\
50 IFCAP_CSUM_TCPv6_Tx|IFCAP_CSUM_UDPv6_Tx) 49 IFCAP_CSUM_TCPv6_Tx|IFCAP_CSUM_UDPv6_Tx)
51 50