Masanobu SAITOH
2019-07-05 09:49:35 UTC
Hi.
Is the following changes OK to commit?
This changes make VLAN ID visible with tcpdump -e.
Index: ether.c
===================================================================
RCS file: /cvsroot/src/sbin/ifconfig/ether.c,v
retrieving revision 1.3
diff -u -p -r1.3 ether.c
--- ether.c 21 Dec 2018 08:58:08 -0000 1.3
+++ ether.c 5 Jul 2019 09:34:46 -0000
@@ -67,6 +67,7 @@ static const struct kwinst ethercapskw[]
#if 0 /* notyet */
IFKW("vlan-hwfilter", ETHERCAP_VLAN_HWFILTER)
#endif
+ IFKW("vlan-hwtagging", ETHERCAP_VLAN_HWTAGGING),
IFKW("eee", ETHERCAP_EEE)
};
Index: ifconfig.8
===================================================================
RCS file: /cvsroot/src/sbin/ifconfig/ifconfig.8,v
retrieving revision 1.118
diff -u -p -r1.118 ifconfig.8
--- ifconfig.8 4 Jul 2019 13:55:31 -0000 1.118
+++ ifconfig.8 5 Jul 2019 09:46:12 -0000
@@ -699,6 +699,12 @@ support it.
.It Cm -tso6
Disable hardware-assisted TCP/IPv6 segmentation on interfaces that
support it.
+.It Cm vlan-hwtagging
+Enable hardware-assisted VLAN tag insertion/removal on interfaces that
+support it.
+.It Cm -vlan-hwtagging
+Disable hardware-assisted VLAN tag insertion/removal on interfaces that
+support it.
.It Cm maxupd Ar n
If the driver is a
.Xr pfsync 4
Is the following changes OK to commit?
This changes make VLAN ID visible with tcpdump -e.
Index: ether.c
===================================================================
RCS file: /cvsroot/src/sbin/ifconfig/ether.c,v
retrieving revision 1.3
diff -u -p -r1.3 ether.c
--- ether.c 21 Dec 2018 08:58:08 -0000 1.3
+++ ether.c 5 Jul 2019 09:34:46 -0000
@@ -67,6 +67,7 @@ static const struct kwinst ethercapskw[]
#if 0 /* notyet */
IFKW("vlan-hwfilter", ETHERCAP_VLAN_HWFILTER)
#endif
+ IFKW("vlan-hwtagging", ETHERCAP_VLAN_HWTAGGING),
IFKW("eee", ETHERCAP_EEE)
};
Index: ifconfig.8
===================================================================
RCS file: /cvsroot/src/sbin/ifconfig/ifconfig.8,v
retrieving revision 1.118
diff -u -p -r1.118 ifconfig.8
--- ifconfig.8 4 Jul 2019 13:55:31 -0000 1.118
+++ ifconfig.8 5 Jul 2019 09:46:12 -0000
@@ -699,6 +699,12 @@ support it.
.It Cm -tso6
Disable hardware-assisted TCP/IPv6 segmentation on interfaces that
support it.
+.It Cm vlan-hwtagging
+Enable hardware-assisted VLAN tag insertion/removal on interfaces that
+support it.
+.It Cm -vlan-hwtagging
+Disable hardware-assisted VLAN tag insertion/removal on interfaces that
+support it.
.It Cm maxupd Ar n
If the driver is a
.Xr pfsync 4
--
-----------------------------------------------
SAITOH Masanobu (***@execsw.org
***@netbsd.org)
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
-----------------------------------------------
SAITOH Masanobu (***@execsw.org
***@netbsd.org)
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de