Re: [PATCH v5 net-next 2/6] net: switchdev: add support for offloading of fdb locked flag

From
Ido Schimmel <idosch@nvidia.com>
Date
2022-08-27 15:46:20
Also in
bridge, linux-kselftest, linux-mediatek, lkml, netdev
Reply to
Hans Schultz, 2022-08-26
On Fri, Aug 26, 2022 at 01:45:34PM +0200, Hans Schultz wrote:
quoted hunk ↗ jump to hunk
diff --git a/include/net/switchdev.h b/include/net/switchdev.h
index 7dcdc97c0bc3..437945179373 100644
--- a/include/net/switchdev.h
+++ b/include/net/switchdev.h
@@ -247,7 +247,10 @@ struct switchdev_notifier_fdb_info {
 	const unsigned char *addr;
 	u16 vid;
 	u8 added_by_user:1,
+	   sticky:1,
If mv88e6xxx reports entries with 'is_local=1, locked=1, blackhole=1',
then the 'sticky' bit can be removed for now (we will need it some day
to support sticky entries notified from the bridge). This takes care of
the discrepancy Nik mentioned here:

https://lore.kernel.org/netdev/d1de0337-ae16-7dca-b212-1a4e85129c31@blackwall.org/ (local)
quoted hunk ↗ jump to hunk
 	   is_local:1,
+	   locked:1,
+	   blackhole:1,
 	   offloaded:1;
 };
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (69 messages) 69 messages, 5 authors, last reply 2022-09-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help