tech-net archive

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

Re: ifconfig -vlan-hwtagging



On 2019/07/05 18:49, Masanobu SAITOH wrote:
>  Hi.
> 
>  Is the following changes OK to commit?
> This changes make VLAN ID visible with tcpdump -e.

 Committed.

 Thanks.



> 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 (msaitoh%execsw.org@localhost
                                 msaitoh%netbsd.org@localhost)


Home | Main Index | Thread Index | Old Index