Does not suppoted VXLAN for braodcom platform?

207 views
Skip to first unread message

Masaru OKI

unread,
Sep 28, 2022, 2:29:57 AM9/28/22
to sonicproject
Hi all,

I'm trying  using VXLAN on SONiC (master branch) for broadcom trident3 switch.

I've got error log by sudo config vxlan map add vtep 30 3000
Does not suppoted VXLAN for braodcom platform?

INFO syncd#syncd: :- sendApiResponse: response for SAI_COMMON_API_CREATE api was send
INFO syncd#syncd: :- processSingleEvent: key: SAI_OBJECT_TYPE_TUNNEL_MAP_ENTRY:oid:0x3b000000000723 op: create
ERR syncd#syncd: [none] SAI_API_TUNNEL:_brcm_sai_vxlan_create_vpn:890 create tunnel initiator setup for net port failed with error Invalid parameter (0xfffffffc).
ERR syncd#syncd: [none] SAI_API_TUNNEL:_brcm_sai_vxlan_enable:1182 create a vxlan decap tunnel failed with error -5.
ERR syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_create_tunnel_map_entry:2682 Can't create brcm vxlan tunnel
ERR syncd#syncd: :- sendApiResponse: api SAI_COMMON_API_CREATE failed in syncd mode: SAI_STATUS_FAILURE
INFO syncd#syncd: :- sendApiResponse: sending response for SAI_COMMON_API_CREATE api with status: SAI_STATUS_FAILURE

Rajesh Sankaran

unread,
Sep 28, 2022, 1:21:01 PM9/28/22
to sonicproject
Hi,

  Could you please use the config changes in the below PR ?


Thanks
Rajesh

Masaru OKI

unread,
Oct 3, 2022, 9:09:49 PM10/3/22
to sonicproject
Thanks Rajesh.
Works with changes you pointed.

2022年9月29日木曜日 2:21:01 UTC+9 Rajesh Sankaran:

Masaru OKI

unread,
Oct 6, 2022, 5:09:52 AM10/6/22
to sonicproject
Next, I'm trying L3VNI configuration.
I've got error log.
What's wrong?

Commands (after L2 VXLAN configuration):
sudo config vrf add Vrf30
sudo config vrf add_vrf_vni_map Vrf30 3000

Log:
NOTICE swss#orchagent: :- addOperation: VRF 'Vrf30' was updated
ERR syncd#syncd: [none] SAI_API_TUNNEL:vxlan_flow_match_add:66 SDK: vxlan_flow_match_add(vn_id): unit(0) vpn(0x8004) vni(0xbb8) rs(-8::Entry exists)
ERR syncd#syncd: [none] SAI_API_TUNNEL:mptnl_xgs_flexflow_create_vni_to_vrid:717 vxlan_flow_match_add failed with error Entry exists (0xfffffff8).
ERR syncd#syncd: [none] SAI_API_TUNNEL:_brcm_sai_mptnl_map_entry_create:1658 mptnl hwmapentry create - PD Hw Programming  failed with error -6.
ERR syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_tnl_mp_create_tunnel_map_entry:5001 _brcm_sai_mptnl_map_entry_create failed with error -6.
ERR syncd#syncd: :- processQuadEvent: attr: SAI_TUNNEL_MAP_ENTRY_ATTR_TUNNEL_MAP_TYPE: SAI_TUNNEL_MAP_TYPE_VNI_TO_VIRTUAL_ROUTER_ID
ERR syncd#syncd: :- processQuadEvent: attr: SAI_TUNNEL_MAP_ENTRY_ATTR_TUNNEL_MAP: oid:0x2900000000076c
ERR syncd#syncd: :- processQuadEvent: attr: SAI_TUNNEL_MAP_ENTRY_ATTR_VIRTUAL_ROUTER_ID_VALUE: oid:0x3000000000773
ERR syncd#syncd: :- processQuadEvent: attr: SAI_TUNNEL_MAP_ENTRY_ATTR_VNI_ID_KEY: 3000
ERR syncd#syncd: :- processQuadEvent: failed to execute api: create, key: SAI_OBJECT_TYPE_TUNNEL_MAP_ENTRY:oid:0x3b000000000775, status: SAI_STATUS_ITEM_ALREADY_EXISTS
INFO syncd#supervisord: syncd 0:_bcm_flow_match_entry_set: Entry with same key already exists#015
ERR syncd#syncd: :- run: Runtime error: :- processQuadEvent: failed to execute api: create, key: SAI_OBJECT_TYPE_TUNNEL_MAP_ENTRY:oid:0x3b000000000775, status: SAI_STATUS_ITEM_ALREADY_EXISTS
NOTICE syncd#syncd: :- sendShutdownRequest: sending switch_shutdown_request notification to OA for switch: oid:0x21000000000000



2022年10月4日(火) 10:09 Masaru OKI <masar...@gmail.com>:
--
You received this message because you are subscribed to a topic in the Google Groups "sonicproject" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonicproject/R85TUtX0IKI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonicproject...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonicproject/0f466de7-a031-43ef-95ab-9bd8829ad8a7n%40googlegroups.com.

Rajesh Sankaran

unread,
Oct 12, 2022, 7:15:30 AM10/12/22
to sonicproject
Hi,

  Could you please file a defect for this and share the details ?

Thanks
Rajesh S
Reply all
Reply to author
Forward
0 new messages