Skip to content

Layer 2 Forwarding Enhancements#510

Merged
lguohan merged 22 commits intosonic-net:masterfrom
anilkpandey:master
Nov 27, 2019
Merged

Layer 2 Forwarding Enhancements#510
lguohan merged 22 commits intosonic-net:masterfrom
anilkpandey:master

Conversation

@anilkpandey
Copy link
Contributor

@anilkpandey anilkpandey commented Sep 8, 2019

Added code changes related to Layer 2 Forwarding Enhancement:

As part of L2 enhancements, per port, per vlan and per port-vlan fdb flush support has been added. The fdb flush response from SAI comes as individual mac delete as mentioned in the HLD. The change here is to follow the same way for VS as well.

Regarding SAI_FDB_EVENT_FLUSHED, it is handled in sync only for 'flush all' case and handling SAI_FDB_EVENT_FLUSHED for per port and per port-vlan will require hgetall on all fdb keys. So, individual mac delete response is preferred.

Another change is to move fdb handling to fdborch. As the fdb reference count is now maintained in fdborch as well, need to move the sai redis fdb handling also there to avoid the reference counts to go out of sync between the two.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants