sonic-net / SONiC

Landing page for Software for Open Networking in the Cloud (SONiC) - https://sonic-net.github.io/SONiC/
2.16k stars 1.1k forks source link

how to operate the ASIC_DB #243

Open cnggu2018 opened 5 years ago

cnggu2018 commented 5 years ago

For example,when I created a VLAN and added a member to it,how to obtain the mac addr from kernel and write it to the ASIC_DB

shine4chen commented 5 years ago

@cnggu2018 Sai have fdb notification mechanism. When asic learns mac address sai will call fdb callback function to update ASIC_DB