[fdborch] Store vlan id of FDB entry instead of port pvid into stateD…#759
[fdborch] Store vlan id of FDB entry instead of port pvid into stateD…#759yxieca merged 2 commits intosonic-net:masterfrom
Conversation
|
Tried to expand test_fdb_warm.py with case of port in both tagged and untagged vlan, but not able to get tagged packet through the vs veth pair tunnel, somewhere the tag got stripped off before reaching the other side. Not sure if people are aware of that or have solution to the problem. Had tag 8 (8100 0008) when in sw-srv18 namespace, tag 8 is missing in vs docker: |
1815021 to
592c251
Compare
|
where is the vs test? |
Below is the change in vs I was trying to make, but it failed because tagged arp/ping from dvs.server name space arrived at VS docker interface with tag stripped off. Don't know the root cause yet. |
|
Have turned off all the vlan related offload on both server and vs sides, the vlan tag in packet from server to vs still got stripped off. If anyone has idea about this, please share it, thanks. server VS |
|
@jipanyang , what about the peer link, e.g. eth0 in the server namespace, and ethX in the sonic namespace. Not, the Ethernet port. If eth0 and ethX has, but not Ethernet, then it is virtual switch problem, we can ask @kcudnik to look at. |
|
@lguohan @kcudnik I mistaken Ethernet72 as the other side of the veth pair, using eth18 in sonic name space and eth0 in server namespace, still seen the tag being stripped off problem: server sonic vs |
|
i setup simple env. I can see the tag on the virtual switch side. eth0 |
|
@jipanyang , kamil has fix the vlan tag issue in vs, please add the vstest. |
…B FDB table. Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
592c251 to
647011d
Compare
|
@lguohan vs test for fdb with tagged vlan added. |
|
@yxieca please help label "Request_for_201811_branch" |
#759) * [fdborch] Store vlan id of FDB entry instead of port pvid into stateDB FDB table. Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com> * Expand fdb test with tagged vlan Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
Merge two vrf configuration to avoid user can't add or delete management VRF through CLI. Co-authored-by: Minkang-Tsai <58835052+Minkang-Tsai@users.noreply.github.com>
…y functions (sonic-net#759) The template version of hgetall() could work with either map or unordered_map.
sonic-net#759) * [fdborch] Store vlan id of FDB entry instead of port pvid into stateDB FDB table. Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com> * Expand fdb test with tagged vlan Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
…B FDB table.
Signed-off-by: Jipan Yang jipan.yang@alibaba-inc.com
What I did
Address issue:
#758
Why I did it
For port in tagged vlan, fdb data stored in stateDB has wrong vlan id.
How I verified it
VS test.
Details if related