sonic-swss icon indicating copy to clipboard operation
sonic-swss copied to clipboard

Increase vlan fdbcount when the fdbentry doesn't exist and receive port move event.

Open iris00522 opened this issue 3 years ago • 0 comments

What I did Increase vlan fdbcount when the fdbentry doesn't exist and receive port move event. Why I did it receive port move event, but the mac doesn't exist on fdborch and asic db.

Nov 20 21:47:52.402954 as7726-32x-4 INFO syncd#syncd: [none] _brcm_sai_fdb_event_cb:204 move event fdb count global data not change
Nov 20 21:47:52.403891 as7726-32x-4 WARNING swss#orchagent: :- update: FdbOrch MOVE notification: mac 00:11:22:33:99:99 is not found in bv_id 0x260000000008ef
Nov 20 21:47:52.403891 as7726-32x-4 WARNING swss#orchagent: :- meta_sai_on_fdb_event_single: object key SAI_OBJECT_TYPE_FDB_ENTRY:{"bvid":"oid:0x260000000008ef","mac":"00:11:22:33:99:99","switch_id":"oid:0x21000000000000"} doesn't exist but received FDB MOVE event

vlan fdbcount is -1 cause vlan can't remove.

Nov 20 21:48:37.980827 as7726-32x-4 WARNING swss#orchagent: :- meta_sai_on_fdb_event_single: object key SAI_OBJECT_TYPE_FDB_ENTRY:{"bvid":"oid:0x260000000008ef","mac":"98:03:9B:2A:EC:03","switch_id":"oid:0x21000000000000"} doesn't exist but received AGED event
Nov 20 21:48:37.980959 as7726-32x-4 WARNING swss#orchagent: :- meta_sai_on_fdb_event_single: object key SAI_OBJECT_TYPE_FDB_ENTRY:{"bvid":"oid:0x260000000008ef","mac":"00:11:22:33:99:99","switch_id":"oid:0x21000000000000"} doesn't exist but received AGED event
Nov 20 21:48:37.985301 as7726-32x-4 INFO swss#/supervisord: fdbsyncd RTNETLINK answers: Operation not supported
Nov 20 21:48:37.986233 as7726-32x-4 NOTICE swss#orchagent: :- addRouterIntfs: Create router interface PortChannel1 MTU 9100
Nov 20 21:48:37.987714 as7726-32x-4 NOTICE swss#orchagent: :- removeBridgePort: Remove bridge port PortChannel1 from default 1Q bridge
Nov 20 21:48:37.989848 as7726-32x-4 INFO swss#/supervisord: fdbsyncd RTNETLINK answers: Operation not supported
Nov 20 21:48:38.316348 as7726-32x-4 NOTICE syncd#syncd: :- setRifCounterList: Router interface oid:0x410060000100b does not have supported counters
Nov 20 21:48:38.877771 as7726-32x-4 INFO swss#/supervisord: fdbsyncd RTNETLINK answers: Operation not supported
Nov 20 21:48:38.877771 as7726-32x-4 NOTICE swss#sagmgrd: :- main: sagmgr doTask
Nov 20 21:48:41.202617 as7726-32x-4 NOTICE iccpd#iccpd: [local_if_destroy.NOTICE] Destroy interface Vlan3000, 175
Nov 20 21:48:41.234210 as7726-32x-4 NOTICE swss#sagmgrd: message repeated 2 times: [ :- main: sagmgr doTask]
Nov 20 21:48:41.234210 as7726-32x-4 NOTICE swss#orchagent: :- removeVlan: Vlan3000 can't remove, fdbcount = -1

How I verified it 1.Setting l2 evpn environment 2.try to send the same packet from different port let chip notify port move event

Details if related

iris00522 avatar Dec 10 '21 02:12 iris00522