tcpdump mailing list archives
Re: Requesting DLT_* values for Ethernet switches proprietary tagging protocol
From: Florian Fainelli <f.fainelli () gmail com>
Date: Sun, 20 Jan 2019 20:20:02 -0800
On 1/20/2019 11:52 AM, Andrew Lunn wrote:
On Fri, Jan 18, 2019 at 10:19:04AM -0800, Florian Fainelli wrote:On 1/18/19 6:13 AM, Michael Richardson wrote:Guy Harris <gharris () sonic net> wrote: >> OK, then requesting 10 DLT values, one per-tag is reasonable? > Yes. This is totally how it should be done. Guy, do we want to allocate 16 or 32 values, aligned, so that the it be can DLT_TAG_BASE + DSA_TAG_xx maps? Are the kernel values stable? And to leave room for growth.The kernel values are stable because they are now (as of 4.19) part of the sysfs attribute ABI. Having a base to offset from would ne neat.Hi Florian As Guy points out, we should probably move them into a uapi header. That makes it clear the values are ABI.
UAPI is probably a bit too much, but I can certainly extend the attribute documented here for the supported values: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/ABI/testing/sysfs-class-net-dsa -- Florian _______________________________________________ tcpdump-workers mailing list tcpdump-workers () lists tcpdump org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers
Current thread:
- Re: Requesting DLT_* values for Ethernet switches proprietary tagging protocol, (continued)
- Re: Requesting DLT_* values for Ethernet switches proprietary tagging protocol Florian Fainelli (Jan 17)
- Re: Requesting DLT_* values for Ethernet switches proprietary tagging protocol Guy Harris (Jan 17)
- Re: Requesting DLT_* values for Ethernet switches proprietary tagging protocol Florian Fainelli (Jan 17)
- Re: Requesting DLT_* values for Ethernet switches proprietary tagging protocol Guy Harris (Jan 17)
- Re: Requesting DLT_* values for Ethernet switches proprietary tagging protocol Florian Fainelli (Jan 17)
- Re: Requesting DLT_* values for Ethernet switches proprietary tagging protocol Guy Harris (Jan 17)
- Re: Requesting DLT_* values for Ethernet switches proprietary tagging protocol Florian Fainelli (Jan 18)
- Re: Requesting DLT_* values for Ethernet switches proprietary tagging protocol Guy Harris (Jan 18)
- Message not available
- Re: Requesting DLT_* values for Ethernet switches proprietary tagging protocol Florian Fainelli (Jan 18)
- Re: Requesting DLT_* values for Ethernet switches proprietary tagging protocol Andrew Lunn (Jan 20)
- Re: Requesting DLT_* values for Ethernet switches proprietary tagging protocol Florian Fainelli (Jan 20)
- Message not available
- Re: Requesting DLT_* values for Ethernet switches proprietary tagging protocol Guy Harris (Jan 18)
- Re: Requesting DLT_* values for Ethernet switches proprietary tagging protocol Florian Fainelli (Jan 17)
- Re: Requesting DLT_* values for Ethernet switches proprietary tagging protocol Guy Harris (Jan 17)