[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131218.003713.1615620624614481877.davem@davemloft.net>
Date: Wed, 18 Dec 2013 00:37:13 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: atzm@...atosphere.co.jp
Cc: netdev@...r.kernel.org, stephen@...workplumber.org,
bhutchings@...arflare.com, dborkman@...hat.com,
David.Laight@...LAB.COM
Subject: Re: [PATCH v4 0/3] packet: deliver VLAN TPID to userspace
From: Atzm Watanabe <atzm@...atosphere.co.jp>
Date: Tue, 17 Dec 2013 22:53:24 +0900
> This patchset enables userspace to get VLAN TPID as well as the VLAN TCI.
>
> After the 802.1AD support, userspace packet receivers (packet dumper,
> software switch, and the like) need how to know VLAN TPID in order to
> reconstruct original tagged frame.
>
> v4: Simply use sizeof(tp_padding) for zeroing the padding bytes,
> commented by David Laight.
> Use __u16 for tp_vlan_tpid in tpacket_hdr_variant1,
> commented by Daniel Borkmann.
>
> v3: Add a definition which indicates whether tp_vlan_tpid is valid.
> Explicitly define pad bytes for tpacket{2,3}_hdr and pick the area
> for tp_vlan_tpid from the definition. Commented by David Laight.
>
> v2: Add BUILD_BUG_ON() to make current aligned size of
> struct tpacket{2,3}_hdr clear. Commented by Ben Hutchings.
Series applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists