> > I tested setting .tag_protocol=DSA_TAG_PROTO_DSA for the 6341 switch > > instead, resulting in a register setting of 04 Port control for port 5 > > = 0x053f (i.e. EgressMode=Unmodified mode, frames are transmitted > > unmodified), which looks correct to me. It does not fix the above > > problem, but the change seems to make sense anyhow. Should I send a > > patch ? > > This is not up to me, but my guess is that Andrew would like a patch, > yes. On 6390X, I know for a fact that setting the EgressMode to 3 does > indeed produce the behavior that was supported in older devices (like > the 6352), but there is no reason not to change it to regular DSA.
I already said to Tobias, i had problems getting the 6390 working, and this was one of the things i changed. I don't think i ever undid this specific change, to see how critical it is. But relying on undocumented behaviour is not nice. EDSA used to have the advantages that tcpdump understood it. But thanks to work Florian and Vivien did, tcpdump can now decode DSA just as well as EDSA. So please do submit a patch. Andrew