On Sat, Nov 30, 2024 at 06:04:52PM +0200, Nikolay Aleksandrov wrote: > Hi, > This patch makes fdb lookups slower for everybody, ruins the nice key alignment, > increases the key memory usage and adds more complexity for a corner case, especially > having 2 different hosts with identical macs sounds weird. Fdb matching on both tags > isn't a feature I've heard of, I don't know if there are switches that support it. > Could you point to anywhere in the specs that such support is mentioned? > Also could you please give more details about the use case? Maybe we can help you solve > your problem without impacting everyone. Perhaps we can mix vlan-aware bridge and tc > to solve it. As it stands I'm against adding such matching, but I'd love to hear what > other people think. > > Cheers, > Nik Correct, I was also going to plan asking Andy what is his plan on making switchdev digest this. The switch ASICs I'm most familiar with can learn on inner VID or outer VID, but not both. Like you, I'm also not sure what 802.1Q says about FDB entries with 2 associated VIDs.