From: Oleksij Rempel <o.rempel@pengutronix.de>
To: Gustavo Foletto Mora <gusfmora@gmail.com>
Cc: Mieczyslaw Nalewaj <namiltd@yahoo.com>,
linusw@kernel.org, andrew@lunn.ch, olteanv@gmail.com,
kuba@kernel.org, davem@davemloft.net, edumazet@google.com,
pabeni@redhat.com, linux@armlinux.org.uk, luizluca@gmail.com,
maxime.chevallier@bootlin.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, alvin.sipraga@analog.com,
kuncy7@gmail.com, fabianotassotti@gmail.com,
gabonpivovich@gmail.com, contact@c127.dev
Subject: Re: [PATCH net-next v12 13/13] net: dsa: realtek: rtl8365mb: add support for RTL8367S-VB
Date: Mon, 23 Nov 2026 09:01:49 +0100 [thread overview]
Message-ID: <awPy7Wxq-_ukUNfG@pengutronix.de> (raw)
In-Reply-To: <CAK+kzgxmgdFoBhzNhfxB29yS_Hz13LOm7rZvKb6fpyVKb8kwdw@mail.gmail.com>
Hi Gustavo, Mieczyslaw,
thank you. I have no family D hardware, so only some pointers from
family C.
On 21/11/2026 Gustavo Foletto Mora wrote:
> On 21/11/2026 Mieczyslaw Nalewaj wrote:
>> 1. Does a non-zero value written to 0x0851 on your board change
>> anything (PCP of untagged frames, or the register reading back)?
>
> Not yet answered: on my test image the switch registers are read-only
On family C the added tag takes its PCP from 0x0851/0x0852. If family
D ignores that field, the tag probably carries the internal priority
unconverted.
Other places that can set this PCP on family C, in case they matter
on family D:
- remarking, bit 12 of 0x000e + 0x20 * port (off after reset)
- 0x093a bit 0: when set, an untagged IPv4 frame takes its PCP from
the DSCP table
> [...] so an inverse table would also turn tagged PCP 5 into PCP 0
Agreed, without PCP trust that table would change tagged frames too.
Family D is not merged, so the DCB code has no bug in net-next and
needs no Fixes: tag. I think the family D part belongs behind a hook
in rtl8365mb_family_info, like VLAN, PVID and L2 in v12.
Regards,
Oleksij
prev parent reply other threads:[~2026-11-23 8:01 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bc42ae96-dc7e-4b6e-b9cc-64cde5dc51ce.ref@yahoo.com>
2026-11-19 23:57 ` [PATCH net-next v12 00/13] " Mieczyslaw Nalewaj
2026-11-19 23:58 ` [PATCH net-next v12 01/13] dt-bindings: net: dsa: realtek: add RTL8367S-VB Mieczyslaw Nalewaj
2026-11-19 23:59 ` [PATCH net-next v12 02/13] net: dsa: realtek: rtl8365mb: add chip family infrastructure Mieczyslaw Nalewaj
2026-11-20 0:00 ` [PATCH net-next v12 03/13] net: dsa: realtek: rtl8365mb: refactor forcemode handling Mieczyslaw Nalewaj
2026-11-20 0:01 ` [PATCH net-next v12 04/13] net: dsa: realtek: rtl8365mb: set speed for family D Mieczyslaw Nalewaj
2026-11-20 0:02 ` [PATCH net-next v12 05/13] net: dsa: realtek: rtl8365mb: set RGMII mode " Mieczyslaw Nalewaj
2026-11-20 0:03 ` [PATCH net-next v12 06/13] net: dsa: realtek: rtl8365mb: refactor VLAN 4k handling Mieczyslaw Nalewaj
2026-11-20 0:04 ` [PATCH net-next v12 07/13] net: dsa: realtek: rtl8365mb: set and get vlan 4k for family D Mieczyslaw Nalewaj
2026-11-20 14:17 ` Gustavo Foletto Mora
2026-11-21 1:30 ` Mieczyslaw Nalewaj
2026-11-21 18:24 ` Gustavo Foletto Mora
2026-11-20 0:05 ` [PATCH net-next v12 08/13] net: dsa: realtek: rtl8365mb: refactor PVID handling Mieczyslaw Nalewaj
2026-11-20 14:18 ` Gustavo Foletto Mora
2026-11-20 0:06 ` [PATCH net-next v12 09/13] net: dsa: realtek: rtl8365mb: use raw VID for PVID on family D Mieczyslaw Nalewaj
2026-11-20 14:26 ` Gustavo Foletto Mora
2026-11-20 0:07 ` [PATCH net-next v12 10/13] net: dsa: realtek: rtl8365mb: add family D SDS13 PCS support Mieczyslaw Nalewaj
2026-11-20 0:07 ` [PATCH net-next v12 11/13] net: dsa: realtek: rtl8365mb: refactor L2 MAC handling Mieczyslaw Nalewaj
2026-11-20 0:08 ` [PATCH net-next v12 12/13] net: dsa: realtek: rtl8365mb: make L2/LUT access work on family D Mieczyslaw Nalewaj
2026-11-21 9:33 ` Mieczyslaw Nalewaj
2026-11-21 18:26 ` Gustavo Foletto Mora
2026-11-20 0:09 ` [PATCH net-next v12 13/13] net: dsa: realtek: rtl8365mb: add support for RTL8367S-VB Mieczyslaw Nalewaj
2026-11-20 20:56 ` Gustavo Foletto Mora
2026-11-21 1:46 ` Mieczyslaw Nalewaj
2026-11-21 18:29 ` Gustavo Foletto Mora
2026-11-23 8:01 ` Oleksij Rempel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awPy7Wxq-_ukUNfG@pengutronix.de \
--to=o.rempel@pengutronix.de \
--cc=alvin.sipraga@analog.com \
--cc=andrew@lunn.ch \
--cc=contact@c127.dev \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=fabianotassotti@gmail.com \
--cc=gabonpivovich@gmail.com \
--cc=gusfmora@gmail.com \
--cc=kuba@kernel.org \
--cc=kuncy7@gmail.com \
--cc=linusw@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=luizluca@gmail.com \
--cc=maxime.chevallier@bootlin.com \
--cc=namiltd@yahoo.com \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®