Re: [vpp-dev] VPP crashing if we configure srv6 policy with five sids in the sidlist

2022-08-05 Thread steven luong via lists.fd.io
Can you provide the topology, configurations, and steps to recreate this crash?

Steven

From:  on behalf of Chinmaya Aggarwal 

Reply-To: "vpp-dev@lists.fd.io" 
Date: Wednesday, July 13, 2022 at 4:07 AM
To: "vpp-dev@lists.fd.io" 
Subject: Re: [vpp-dev] VPP crashing if we configure srv6 policy with five sids 
in the sidlist

Hi,

We executed few more tests on this and we observed that after applying the 
above policy with 4 sids, we can see packet coming out of the interface. But as 
soon we add the 5th sid or more we don't see the packet coming out of the 
interface and VPP crashes after sometime. We got the below trace for VPP crash 
on gdb:-
(gdb) c
Continuing.

Thread 1 "vpp_main" received signal SIGSEGV, Segmentation fault.
0x7fe67f1cf256 in virtio_update_packet_stats () from 
/usr/lib/vpp_plugins//dpdk_plugin.so
(gdb) bt
#0  0x7fe67f1cf256 in virtio_update_packet_stats () from 
/usr/lib/vpp_plugins//dpdk_plugin.so
#1  0x7fe67f1d6646 in virtio_xmit_pkts () from 
/usr/lib/vpp_plugins//dpdk_plugin.so
#2  0x7fe67f42d60e in rte_eth_tx_burst (nb_pkts=, 
tx_pkts=0x7fe6862afc00, queue_id=,
port_id=) at 
/opt/vpp/external/x86_64/include/rte_ethdev.h:5680
#3  tx_burst_vector_internal (n_left=1, mb=0x7fe6862afc00, xd=, 
vm=)
at 
/usr/src/debug/vpp-22.02.0-35~ge3c583654.x86_64/src/plugins/dpdk/device/device.c:175
#4  dpdk_device_class_tx_fn_hsw (vm=, node=, 
f=)
at 
/usr/src/debug/vpp-22.02.0-35~ge3c583654.x86_64/src/plugins/dpdk/device/device.c:435
#5  0x7fe6c66bd802 in dispatch_node (last_time_stamp=, 
frame=,
dispatch_state=VLIB_NODE_STATE_POLLING, type=VLIB_NODE_TYPE_INTERNAL, 
node=0x7fe685e93c00, vm=0x7fe68547a680)
at /usr/src/debug/vpp-22.02.0-35~ge3c583654.x86_64/src/vlib/main.c:975
#6  dispatch_pending_node (vm=vm@entry=0x7fe68547a680, 
pending_frame_index=pending_frame_index@entry=10,
last_time_stamp=) at 
/usr/src/debug/vpp-22.02.0-35~ge3c583654.x86_64/src/vlib/main.c:1134
#7  0x7fe6c66c1ebf in vlib_main_or_worker_loop (is_main=1, vm=)
at /usr/src/debug/vpp-22.02.0-35~ge3c583654.x86_64/src/vlib/main.c:1600
#8  vlib_main_loop (vm=) at 
/usr/src/debug/vpp-22.02.0-35~ge3c583654.x86_64/src/vlib/main.c:1728
#9  vlib_main (vm=, vm@entry=0x7fe68547a680, 
input=input@entry=0x7fe675df5fa0)
at /usr/src/debug/vpp-22.02.0-35~ge3c583654.x86_64/src/vlib/main.c:2017
#10 0x7fe6c670cc86 in thread0 (arg=140628055271040)
at /usr/src/debug/vpp-22.02.0-35~ge3c583654.x86_64/src/vlib/unix/main.c:671
#11 0x7fe6c5c29388 in clib_calljmp () at 
/usr/src/debug/vpp-22.02.0-35~ge3c583654.x86_64/src/vppinfra/longjmp.S:123
#12 0x7ffcdf319c80 in ?? ()
#13 0x7fe6c670e210 in vlib_unix_main (argc=, argv=)
at /usr/src/debug/vpp-22.02.0-35~ge3c583654.x86_64/src/vlib/unix/main.c:751
#14 0x in ?? ()
#15 0x0001a53c5137 in ?? ()

Can this be related to some buffer setting/packet size for DPDK? Any pointers 
on how can we debug the cause of this issue?


Thanks and Regards,
Chinmaya Agarwal.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21771): https://lists.fd.io/g/vpp-dev/message/21771
Mute This Topic: https://lists.fd.io/mt/92185133/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] VPP crashs when using tap interfaces.

2022-08-05 Thread Mohsin Kazmi via lists.fd.io
Hello,

We are not supporting VPP 21.01. Please try with 22.06 or VPP master.

Please run vpp in debug mode and share the backtrace if you still hit with the 
problem.

BTW

-br
Mohsin
From:  on behalf of Khaled Salhi 
Reply-To: "vpp-dev@lists.fd.io" 
Date: Friday, August 5, 2022 at 9:16 AM
To: "vpp-dev@lists.fd.io" 
Subject: [vpp-dev] VPP crashs when using tap interfaces.

Hello,

I'm using VPP 21.01 on Ubuntu 20.04 with a tap interface.

VPP crashes when trying to verify this assert:

/vpp/src/vlib/trace_funcs.h:63 (vlib_add_trace_inline) assertion 
`vnet_trace_placeholder' fails

When I use the host interface (not tap), there's no crash.

Did someone face the same issue before?
And how can I resolve this?
Best regards.
Khaled.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21770): https://lists.fd.io/g/vpp-dev/message/21770
Mute This Topic: https://lists.fd.io/mt/92831232/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] VPP crashs when using tap interfaces.

2022-08-05 Thread Khaled Salhi
Hello,

I'm using VPP 21.01 on Ubuntu 20.04 with a tap interface.

VPP crashes when trying to verify this assert:

/vpp/src/vlib/trace_funcs.h:63 (vlib_add_trace_inline) assertion
`vnet_trace_placeholder' fails

When I use the host interface (not tap), there's no crash.

Did someone face the same issue before?
And how can I resolve this?

Best regards.
Khaled.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21769): https://lists.fd.io/g/vpp-dev/message/21769
Mute This Topic: https://lists.fd.io/mt/92831232/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] GTPU tunnel - teid and tteid use case

2022-08-05 Thread Archana Sampath
Hi Team,

I am trying GTP-U in VPP. I followed the link below
https://docs.fd.io/vpp/19.01/clicmd_src_plugins_gtpu.html .

I have few clarifications
1) With the above configuration ,gtpu_tunne0 is configured with an IP from
subnet  [11.9.0.0/16] which is the peer side network [loop0 -
11.9.0.0/16].In real use case scenario , all UE traffic needs to be passed
via GTPU tunnel . We may not be able to configure peer network's IP on
gtpu .How is it done ?
2) "create gtpu tunnel command has teid and tteid . With this i assume ,
for each User , a separate gtpu tunnel has to created. Is my understanding
correct?
3)Can someone please help me with modification of the above  configuration
for GTPU  multiple users?

 I hope I have searched topics related to GTPU in vpp-dev . WIth latest
addition of teid and tried I assume GTPU tunnels can be used for 3GPP use
case as well and not only for tunnelling (similar to gre).
Kindly advise me on the above points .


Regards,
Archana


-- 

*One* World *One* WiFi

*Archana *
Senior Software Engineer
Mobile: +971 521092016

[image: LinkedIn]

 [image: Facebook]  [image:
Instagram]  [image:
WKHUWISViRFXtgW6eW+QAlAl9vIHAh58+j37yvvtDz4Dyz9gggPGs44wh4cCT5qOoBwvK5pigAADAD69A5LjIG37AElFTkSuQmCC]



Business Bay | Bay Square | Building 6
Off: 105 | Dubai | UAE | P.O. Box 111581
Tel: +971 4 277 1131
*www.ezelink.com* 

[image: signature_778892893] 

*DISCLAIMER:* This message and attached document(s) may contain information
of confidential nature and/or legally protected. if you have received this
message by mistake, please reply to sender, eliminate it from your system
and do not disclose or use.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21768): https://lists.fd.io/g/vpp-dev/message/21768
Mute This Topic: https://lists.fd.io/mt/92830470/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-