Open mdivyamohan opened 2 years ago
It seems redundant to send notification when user creates explicitly static entries, compared to dynamic entries when they can be created/remove at any time by device learning, hence notification is required. This approach seems logical to me, and so far platforms that im aware like mlnx or brcm, follow the same (correct me if i'm wrong here) (although i don't remember if sonic is creating any static entries, or just deal with dynamic ones)
What is the result of your discussion?
Hello,
When static FDB entries are added by user (using Adapter Host, eg: SONiC), is the SAI adapter expected to invoke the fdb event notification function? Or is event notification to be used only for dynamically learned fdb entries?
I'll try to summarize the use case here -
Now, after step 3 depending on vendor, ASIC might or might not generate a notification for static fdb entry addition. I am dealing with ASIC that does generate notification.
What is the intended design? Is it -
Option-1:
Or, Option-2: