Re: explain priority codepoints and their mapping in vlan.4

2021-12-30 Thread Jason McIntyre
On Thu, Dec 30, 2021 at 12:34:14PM -0800, Chris Cappuccio wrote: > Christopher Zimmermann [chr...@openbsd.org] wrote: > > On Mon, Dec 20, 2021 at 04:41:07PM -0700, Theo de Raadt wrote: > > > You say it twice. But my eyes still glazed over it, not seeing what was > > > going on the first two

Re: explain priority codepoints and their mapping in vlan.4

2021-12-30 Thread Chris Cappuccio
Christopher Zimmermann [chr...@openbsd.org] wrote: > On Mon, Dec 20, 2021 at 04:41:07PM -0700, Theo de Raadt wrote: > > You say it twice. But my eyes still glazed over it, not seeing what was > > going on the first two times. > > > > Maybe something more like > > > > prio 0 and 1 are

Re: explain priority codepoints and their mapping in vlan.4

2021-12-30 Thread Jason McIntyre
On Thu, Dec 30, 2021 at 09:04:53PM +0100, Christopher Zimmermann wrote: > On Mon, Dec 20, 2021 at 04:41:07PM -0700, Theo de Raadt wrote: > >You say it twice. But my eyes still glazed over it, not seeing what > >was going on the first two times. > > > >Maybe something more like > > > > prio

Re: explain priority codepoints and their mapping in vlan.4

2021-12-30 Thread Christopher Zimmermann
On Mon, Dec 20, 2021 at 04:41:07PM -0700, Theo de Raadt wrote: You say it twice. But my eyes still glazed over it, not seeing what was going on the first two times. Maybe something more like prio 0 and 1 are mapped out of order to PCP 1 and 0, but prio 2 to 7 are mapped directly to

Re: explain priority codepoints and their mapping in vlan.4

2021-12-20 Thread Theo de Raadt
Christopher Zimmermann wrote: > We are not doing it different. But in my mind especially the mapping > of PCP / prio 0 / 1 is not intuitive and may be confusing (but is > correct!). That's why I think this should be documented in detail. Right. > >> The 802.1Q and 802.1ad protocols include a

Re: explain priority codepoints and their mapping in vlan.4

2021-12-20 Thread Christopher Zimmermann
On Tue, Dec 21, 2021 at 07:12:31AM +1000, David Gwynne wrote: are you able to find a reference for this in any of the current specs? or in documentation from other vendors? https://en.wikipedia.org/wiki/IEEE_P802.1p i've faithfully maintained this behaviour, but the only place i've seen in

Re: explain priority codepoints and their mapping in vlan.4

2021-12-20 Thread David Gwynne
are you able to find a reference for this in any of the current specs? or in documentation from other vendors? i've faithfully maintained this behaviour, but the only place i've seen in with my own eyes is in our code. if we're doing it different to literally everyone else, then maybe we

explain priority codepoints and their mapping in vlan.4

2021-12-20 Thread Christopher Zimmermann
Hi, it might be helpful for others to understand the meaning of codepoints 0 and 1 of the vlan priority field. OK? Christopher Here is the formatted content: The 802.1Q and 802.1ad protocols include a 3-bit priority code point (PCP): PCP 1 is defined as the lowest priority