[vpp-dev] using vpp node

2020-11-09 Thread Merve
Hello friends,
I have created a new node and am sending packets by the trex traffic generator 
to process packets to my node. When the packages I send are finished, I want to 
complete the task (for ex. print packet count one time) and leave the vpp ( 
When the packages I send are finished, vpp continues to run normally. How can 
vpp know that my packets are finished? ). How can I do that?? a second 
question; How can I perform a task at certain times while the vpp is running. 
What feature of my node should I use? For example in Vpp, I count the packets 
coming to my node every ten seconds.

Thanks for your help!!

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



Re: [vpp-dev] ip full reassembly - is_custom_app field broken ?

2020-11-09 Thread Klement Sekera via lists.fd.io
Hi,

I don’t. I can eventually write one of course. Or maybe you’d like to give it a 
try? It should be almost 1:1 to ip4 change …

Thanks,
Klement



> On 9 Nov 2020, at 11:18, Satya Murthy  wrote:
> 
> Hi Klement,
> 
> Do you have the similar changes for ip6_full_reassembly.c as well.
> If so, Can you pls pass on the diffs.
> 
> -- 
> Thanks & Regards,
> Murthy 
> 
> 


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



Re: [vpp-dev] Facing issue in IPSEC data traffic after SA is setup successfully

2020-11-09 Thread Vijay Kumar
Hi Neale,

I had not added a proper reverse route (from VPP to SS). After adding the
route, traffic started working fine. Also, the crash was not seen any more
after testing multiple times with reset SA and sending data traffic.



On Mon, Nov 9, 2020 at 3:49 PM Neale Ranns (nranns) 
wrote:

>
>
> Hi Vijay,
>
>
>
> *From: *vpp-dev@lists.fd.io 
> *Date: *Thursday, 5 November 2020 at 16:54
> *To: *vpp-dev@lists.fd.io 
> *Subject: *[vpp-dev] Facing issue in IPSEC data traffic after SA is setup
> successfully
>
> Hi,
>
>
>
> I have set up IPSEC SA successfully b/w the Strongswan (initiator) and the
> VPP IPSec (responder).
>
>
>
> After SA is established, at VPP I am seeing a new virtual interface
> "ipip0" being created.
>
>
>
> The fd.io wiki page says we need to add a route to the initiator network
> and bind this virtual interface to the physical interface in order to send
> out the packet. When I do the below, the VPP process crashes (version and
> route commands pasted below)
>
>
>
> Does anyone know this issue? Any suggestions about how to get the data
> traffic running successfully
>
>
>
>
>
> vpp# show version
> vpp v21.01-rc0~324-g62877029a built by root on ubuntu-10-37-3-75 at
> 2020-10-30T11:10:45
>
> before executing these commands please collect:
>
>   sh ip fib 10.75.1.20/32
>
>   sh ipip tunnel 0
>
>
>
> vpp#  set interface state ipip0 up
> vpp#  ip route add 10.75.1.20/32 via ipip0
> vpp#  set interface unnumbered ipip0 use GigabitEthernetb/0/0
>
>
>
>
>
> and from the crash please collect the backtrace.
>
>
>
> /neale
>
>
>
>
>
> Regards,
>
> Vijay
>

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



Re: [vpp-dev] VPP load estimation

2020-11-09 Thread Benoit Ganne (bganne) via lists.fd.io
Hi Joe,

> I wonder if we can use the average VPP vector rate (size) per node to
> estimate the load of a VPP instance.
> More specifically, if this information can be used to determine whether
> the VPP instance is overloaded (e.g., > the default max value of 255).

Yes, it is the main way to quickly assess VPP load, see 
https://fd.io/docs/vpp/master/troubleshooting/cpuusage.html#vpp-cpu-load
My very crude rule-of-thumb looks like this (but your mileage may vary):
 - between 0 and 50: VPP is not working too hard
 - between 50 and 100: VPP is starting to be pushed hard
 - above 100: you'll probably experiment drops with bursts
 - 250+: you're dropping traffic

Best
ben

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



Re: [vpp-dev] Facing issue in IPSEC data traffic after SA is setup successfully

2020-11-09 Thread Neale Ranns via lists.fd.io

Hi Vijay,

From: vpp-dev@lists.fd.io 
Date: Thursday, 5 November 2020 at 16:54
To: vpp-dev@lists.fd.io 
Subject: [vpp-dev] Facing issue in IPSEC data traffic after SA is setup 
successfully
Hi,

I have set up IPSEC SA successfully b/w the Strongswan (initiator) and the VPP 
IPSec (responder).

After SA is established, at VPP I am seeing a new virtual interface "ipip0" 
being created.

The fd.io wiki page says we need to add a route to the initiator 
network and bind this virtual interface to the physical interface in order to 
send out the packet. When I do the below, the VPP process crashes (version and 
route commands pasted below)

Does anyone know this issue? Any suggestions about how to get the data traffic 
running successfully


vpp# show version
vpp v21.01-rc0~324-g62877029a built by root on ubuntu-10-37-3-75 at 
2020-10-30T11:10:45
before executing these commands please collect:
  sh ip fib 10.75.1.20/32
  sh ipip tunnel 0

vpp#  set interface state ipip0 up
vpp#  ip route add 10.75.1.20/32 via ipip0
vpp#  set interface unnumbered ipip0 use GigabitEthernetb/0/0


and from the crash please collect the backtrace.

/neale


Regards,
Vijay

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



Re: [vpp-dev] ip full reassembly - is_custom_app field broken ?

2020-11-09 Thread Satya Murthy
Hi Klement,

Do you have the similar changes for ip6_full_reassembly.c as well.
If so, Can you pls pass on the diffs.

--
Thanks & Regards,
Murthy

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



Re: [vpp-dev] 2 MB of message over memif channel

2020-11-09 Thread Satya Murthy
Thanks Damjan / MJ for the quick inputs.

--
Thanks & Regards,
Murthy

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



[vpp-dev] VPP load estimation

2020-11-09 Thread Joe Nguyen
Hello everyone,

I am pretty new to VPP. I know that the CPU utilisation of a VPP instance is 
always high due to the PMD.
I wonder if we can use the average VPP vector rate (size) per node to estimate 
the load of a VPP instance.
More specifically, if this information can be used to determine whether the VPP 
instance is overloaded (e.g., > the default max value of 255).

Many thanks in advance!
/Joe

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