Re: [vpp-dev] Simple Rate Limit and QoS #vpp

2019-01-01 Thread Raj
Same here, some example for QoS/Rate limiting would be nice to get started. Thanks and Regards, Raj On Sat, Dec 29, 2018 at 9:39 AM carlito nueno wrote: > > > I am looking for rate limiting (bandwidth/traffic shaping) as well. > > > Vakili, Did you figure it out? > >

[vpp-dev] VPP coding techniques

2019-01-01 Thread Raj
and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11810): https://lists.fd.io/g/vpp-dev/message/11810 Mute This Topic: https://lists.fd.io/mt/28903866/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp

Re: [vpp-dev] Status of PPPoE Plugin

2019-01-01 Thread Raj
Hi, Just checking if there is movement on this! Thanks and Regards, Raj On Thu, Dec 20, 2018 at 12:08 PM Raj via Lists.Fd.Io wrote: > > Thanks a lot to both of you! > > Raj > > On Thu, Dec 20, 2018 at 6:17 AM Ni, Hongjun wrote: > > > > Hi Raj, > > > &g

Re: [vpp-dev] Simple Rate Limit and QoS #vpp

2019-01-03 Thread Raj
am able to download at the full interface speed of 100.69.1.4 Any pointers to get this working? Thanks and Regards, Raj On Tue, Jan 1, 2019 at 2:56 PM Raj via Lists.Fd.Io wrote: > > Same here, some example for QoS/Rate limiting would be nice to get started. > > Thanks and Rega

Re: [vpp-dev] VPP coding techniques

2019-01-03 Thread Raj
On Thu, Jan 3, 2019 at 4:44 PM Damjan Marion wrote: > From VPP perspective sample plugin might be good start, if you have > any particular questions, drop email here and we will try to explain... Thanks a lot. Will get back if there are questions. Thanks and Regards

Re: [vpp-dev] Status of PPPoE Plugin

2019-01-16 Thread Raj
Hello Hongjun and Alp Arslan, Just checking if there is any update on this patch. with regards, raj On Thu, Dec 20, 2018 at 6:17 AM Ni, Hongjun wrote: > Hi Raj, > > For the issue you mentioned, Alp Arslan in the To list will submit a patch to > fix it. > > To Alp Arslan, &g

[vpp-dev] Configuring NAT and Policing together

2019-01-21 Thread Raj
Is such a configuration possible? How can I configure VPP for it? Is there any incompatibility between NAT and Policer? Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11963): https://lists.fd.io/g/vpp-dev/message/11963

Re: [vpp-dev] Configuring NAT and Policing together

2019-01-22 Thread Raj
s where to send packet since you don't know at compile time whether policer is configured on interface.". Thanks and Regards, Raj On Mon, Jan 21, 2019 at 6:04 PM Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) wrote: > > Hi, > > You can use ip4-policer-classify b

Re: [vpp-dev] Configuring NAT and Policing together

2019-01-22 Thread Raj
hcp-client-detect"), }; Its just first time hacking on VPP code, so do let me know if this is the right way or there is a better way. Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11969): https://lists.fd.io/g/vpp-dev/mes

Re: [vpp-dev] Configuring NAT and Policing together

2019-01-22 Thread Raj
lusion was premature. I still do not quite understand VNET_FEATURE_INIT to route the traffic the way I want. A sample code fragment would be very helpful. Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11971): https://lists.fd.io

Re: [vpp-dev] Configuring NAT and Policing together

2019-01-23 Thread Raj
CT_FALSE (proto0 == ~0)) { if (nat_out2in_sm_unknown_proto (sm, b0, ip0, rx_fib_index0)) I hope the approach followed is the correct one, but I could not figure out why the ASSERT is happening. Thanks and Regards, Raj On Tue, Jan 22, 2019 at 8:10 PM Matus Fabian -X (matfabia -

[vpp-dev] Status of PPPoE Plugin

2018-12-18 Thread Raj
ing if this patch is available or is there any other way to get PPPoE working in latest version? Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11676): https://lists.fd.io/g/vpp-dev/message/11676 Mute This Topic: https://lists.fd

[vpp-dev] Understanding policer configuration

2019-01-09 Thread Raj
a mask parameter and session has a match parameter, what do they do? The example shows how to configure policing for one IP address, what needs to be done to configure it for another IP address or a network? Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent

Re: [vpp-dev] Using prefetch and buffer_enqueue

2019-01-09 Thread Raj
On Wed, Jan 9, 2019 at 4:18 PM Damjan Marion wrote: >> On 9 Jan 2019, at 09:53, Raj wrote: >> 1. static_always_inline void >> vlib_buffer_enqueue_to_next (vlib_main_t * vm, vlib_node_runtime_t * node, >>u32 * buffers,

[vpp-dev] Using prefetch and buffer_enqueue

2019-01-09 Thread Raj
rse operation? Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11878): https://lists.fd.io/g/vpp-dev/message/11878 Mute This Topic: https://lists.fd.io/mt/28982509/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: ht

Re: [vpp-dev] Status of PPPoE Plugin

2018-12-19 Thread Raj
Thanks a lot to both of you! Raj On Thu, Dec 20, 2018 at 6:17 AM Ni, Hongjun wrote: > > Hi Raj, > > For the issue you mentioned, Alp Arslan in the To list will submit a patch to > fix it. > > To Alp Arslan, > Thank you for your great help! > > Thanks, >

Re: [vpp-dev] Classify session weird behavior

2019-04-04 Thread Raj
ot;, "miss_next": "permit" } ] } I can create a classify table like this, with skip_n_vectors as zero, but with a longer mask and it works fine. Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Onl

[vpp-dev] Classify session weird behavior

2019-03-28 Thread Raj
On Thu, Mar 28, 2019 at 4:38 PM Michal Cmarada -X (mcmarada - PANTHEON TECHNOLOGIES at Cisco) wrote: > > Raj: If you have more data available after testing, please provide them here. > Thanks My observation is when I use skip of 1, cli works fine while RESTCONF do not. Config using

[vpp-dev] Inserting a node into ICMP path

2019-02-27 Thread Raj
load-balance, and packets are not hitting ip4-my-node. Do I have to make any other change apart from what I have already done insert the ip4-my-node into the path? Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12353):

[vpp-dev] VPP stats

2019-03-06 Thread Raj
. stats { socket-name /run/vpp/stats.sock } Should I have to do any thing else to get the sock file and possibly enable SHM logging? Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12443): https://lists.fd.io/g/vpp-dev/message

Re: [vpp-dev] VPP core dump

2019-03-06 Thread Raj
with problem reproduced. In the mean time, if you like me to check any thing specific I can do it. Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12442): https://lists.fd.io/g/vpp-dev/message/12442 Mute This Topic: https://li

[vpp-dev] VPP core dump

2019-03-06 Thread Raj
put (heap, p); ->mspace_free (msp, object_header); ->ok_magic(fm) ->return (m->magic == mparams.magic); /* here it dumps */ Following is my gdb session transcript: (gdb) bt #0 0x75fd9f98 in ok_magic (m=0x13131313cdbec9ad) at /h

Re: [vpp-dev] recipe for target 'g2-find-source' failed

2019-03-14 Thread Raj
in master/latest - automated > anomaly detection - and the master/latest version will cheerfully work with > event-logs from an 18.10 vpp image. So, I'd be tempted to pull master/latest > and build it. Will check out master and try. Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Link

[vpp-dev] recipe for target 'g2-find-source' failed

2019-03-14 Thread Raj
Hello all, According to docs I can compile g2 using make g2-install. But in 18.10 sources I get this [raj@vpp-dev-01 build-root (stable-1810)]$ make g2-install Arch for platform 'native' is native Finding source for g2 Package g2 not found with path /home/raj/vpp/build

[vpp-dev] Crash while configuring ABF

2019-03-18 Thread Raj
__GI_abort () at abort.c:79 #2 0xc4c8 in os_panic () at /home/raj/vpp/src/vpp/vnet/main.c:335 #3 0x75d0125f in debugger () at /home/raj/vpp/src/vppinfra/error.c:84 #4 0x75d0169a in _clib_error (how_to_die=2, function_name=0x0, line_number=0, fmt=0x7fffb4860d40 "%s:%d (%s

Re: [vpp-dev] VPP core dump

2019-03-11 Thread Raj
script can reliably produce the crash. Thanks and Regards, Raj vppset.sh Description: application/shellscript -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12481): https://lists.fd.io/g/vpp-dev/message/12481 Mute This Topic: https://lists.fd

Re: [vpp-dev] Crash while configuring ABF

2019-03-18 Thread Raj
Hi, Tested again in 18.10, same result. Configuration: sh version vpp v18.10-22~g13f5dcf91 built by raj on vpp-dev-01 at Mon Mar 18 18:38:14 IST 2019 DBGvpp# DBGvpp# DBGvpp# set int state GigabitEthernet86/0/3 up DBGvpp# set int ip address GigabitEthernet86/0/3 xxx.xx.223.14/29 DBGvpp# set

Re: [vpp-dev] Crash while configuring ABF

2019-03-18 Thread Raj
Will do that and report back. Thanks and Regards, Raj On Mon, Mar 18, 2019 at 7:45 PM Neale Ranns (nranns) wrote: > > > Hi Raj, > > > > ABF, which is a feature that runs in the L3 path, has not (to my knowledge > anyway) been tested with MACIP ACLs – this ACL type is

Re: [vpp-dev] Enabling events

2019-03-18 Thread Raj
ely. Thanks! raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12582): https://lists.fd.io/g/vpp-dev/message/12582 Mute This Topic: https://lists.fd.io/mt/30439598/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/

Re: [vpp-dev] Status of PPPoE Plugin

2019-03-18 Thread Raj
ackets whose destination MAC is the same as the interface MAC or bcast/mcast MAC. How should I go about fixing this? Would turning off off this check for TAP interface work? Any better way to achieve this result? Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all message

Re: [vpp-dev] Status of PPPoE Plugin

2019-03-20 Thread Raj
ch will be accepted upstream. I am not sure how to _correctly_ fix this, so that it will be accepted by upstream. If some pointers are given I can submit a patch to get PPPoE working correctly again in VPP. Thanks and Regards, Raj On Tue, Mar 19, 2019 at 1:09 PM Raj via Lists.Fd.Io wrote: >

Re: [vpp-dev] Status of PPPoE Plugin

2019-03-19 Thread Raj
Another approach that can be used is to send all PPP/PPPoE control packets encapsulated in NSH, and Control plane can process it and return the packets to VPP which will decapsulate the NSH headers and pass the packets on to PPPoE client. Thanks and Regards, Raj On Mon, Mar 18, 2019 at 7:44 PM

Re: [vpp-dev] Crash while configuring ABF

2019-03-18 Thread Raj
Thanks Andrew for looking into it. In the crash I sent, I missed adding ACL. But I was working with 18.10 previously and there I am sure I added ACL, but there was still some thing amiss. I am now doing the testing once more in 18.10 and will get back with result. Thanks and Regards, Raj

Re: [vpp-dev] VPP stats

2019-03-11 Thread Raj
or a sample conf for 18.10 Thanks and Regards, Raj On Wed, Mar 6, 2019 at 8:31 PM Ole Troan wrote: > > Hi Raj, > > statseg { … } > > There is a C API in vpp-api/client/stat_client.h you can use. > Or a higher level Go, Python or C++ binding too. > > Cheers, > Ole >

[vpp-dev] Enabling events

2019-03-15 Thread Raj
automatically. Also can I view events in real time, rather than saving in a file and viewing it offline? Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12557): https://lists.fd.io/g/vpp-dev/message/12557 Mute This Topic: https

Re: [vpp-dev] Enabling events

2019-03-15 Thread Raj
commit/1edfba9a6394128ee5fad2b413e9e0a05972ef48 talks about these events.Do these events gets generated automatically? Thanks and Regards, Raj > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of Raj > Sent: Friday, March 15, 2019 8:02 AM > To: vpp-dev > Subject: [vpp-dev] Enabling events &

[vpp-dev] DHCPv6 proxy not working over VLAN interface

2019-03-22 Thread Raj
he above TODO related? Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12615): https://lists.fd.io/g/vpp-dev/message/12615 Mute This Topic: https://lists.fd.io/mt/30706811/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe:

Re: [vpp-dev] Configuring NAT and Policing together

2019-02-11 Thread Raj
he correct fix for this ASSERT failure, and if yes I am not sure how exactly it works. Does adding the feature 'nat44-out2in' in the .runs_before of 'ip4-policer-classify' has a side effect of incrementing the value of n_next_nodes? If not how adding the above patch resolve the Assert failure? W

Re: [vpp-dev] Configuring NAT and Policing together

2019-01-25 Thread Raj
bvppinfra.so.18.10 #14 0x7ffcc1a6b2d0 in ?? () #15 0x7f7b0a1e996e in vlib_unix_main (argc=2, argv=0x7ffcc1a6c5c8) at /home//vpp/src/vlib/unix/main.c:676 #16 0x55d570fd6927 in main (argc=2, argv=0x7ffcc1a6c5c8) at /home//vpp/src/vpp/vnet/main.c:264 Thanks and Regards, Raj On Wed, Jan 2

Re: [vpp-dev] Packet copy in plugins/nsim

2019-01-30 Thread Raj
large amount of delay, so the buffers > cannot be used to temporarily store the data. If my understanding is correct, the comparison is between two packet copy per packet and performance degradation due to bigger buffers. How would they compare? Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Lin

Re: [vpp-dev] Understanding vlib_frame_t

2019-02-01 Thread Raj
to next frame and pending frame. I could not figure out what these are and for what they are being used. Thanks and Regards, Raj On Thu, Jan 31, 2019 at 9:31 PM Dave Barach (dbarach) wrote: > > In vlib – vpp’s basic vector library - frames comprise a single vector, a set > of scalar

Re: [vpp-dev] Packet copy in plugins/nsim

2019-02-01 Thread Raj
Thanks Florin! Raj On Fri, Feb 1, 2019 at 2:07 AM Florin Coras wrote: > > Hi Raj, > > Partly. Check “show buffers” > > Florin > > > On Jan 31, 2019, at 1:04 AM, Raj wrote: > > > > Hi Florin, > > > > On Wed, Jan 30, 2019 at 10:01 PM Florin

[vpp-dev] Understanding vlib_frame_t

2019-01-31 Thread Raj
there is a statement vec_resize (nm->pending_frames, 32). In here, what is pending_frames and what is the significance of number 32? I know I have been asking too many questions over here and very grateful to all who answer. Thanks a lot! Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messa

Re: [vpp-dev] Understanding vlib_frame_t

2019-02-05 Thread Raj
On Mon, Feb 4, 2019 at 9:19 PM Dave Barach via Lists.Fd.Io wrote: > "use the Force and read the Source..." Thanks :) Will do! Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12179): https://lists.fd.io/g/vpp-dev/messa

Re: [vpp-dev] Understanding vlib_frame_t

2019-02-04 Thread Raj
out the exact mechanism. Thanks and Regards, Raj On Fri, Feb 1, 2019 at 8:21 PM Dave Barach (dbarach) wrote: > > Next frames are the physical manifestations of graph arcs. Pending frames are > graph scheduler run-queue entries. > > -Original Message- > From: v

[vpp-dev] Using wildcard-ip4-arp-publisher-process

2019-04-18 Thread Raj
is not reporting ARP events, though ip-route-resolver-process is doing so. Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12812): https://lists.fd.io/g/vpp-dev/message/12812 Mute This Topic: https://lists.fd.io/mt/31223473/21656 Group

Re: [vpp-dev] Enabling events

2019-03-15 Thread Raj
Thanks, I will cross check and get back. Thanks and Regards, Raj On Fri, Mar 15, 2019 at 6:40 PM Dave Barach (dbarach) wrote: > > You're sure that links are up, ipv6 is enabled on the interfaces and all that > good stuff, right? > > If "show ip6 neighbor" shows

[vpp-dev] Routing of ipv6 packets over PPPoE

2019-05-02 Thread Raj
. When a block of IP address is allocated to a PPPoE client, how does the routing work? How will VPP route the packets, ingress from north, belonging to a network, to correct PPPoE encapsulation, including MAC and PPPoE ID? I guess I am missing some routing command here. Thanks and Regards, Raj

[vpp-dev] Checking for enabled feature

2019-06-28 Thread Raj
ode_index; n = vlib_get_node (vm, node_index); if (0 == memcmp (n->name, input_feat, sizeof("ip4-policer-classify") - 1)) return 1; } Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13392): https:

[vpp-dev] Using Prometheus Plugin

2019-04-25 Thread Raj
Hi all, Any one with experience in using Prometheus plugin for VPP stats monitoring? Any help in getting started with the Prometheus plugin is much appreciated. Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12854): https

Re: [vpp-dev] VPP core dump with PPPoE

2019-09-28 Thread Raj
through PPPoE interface. Thanks and Regards, Raj On Thu, Sep 26, 2019 at 7:15 PM Raj via Lists.Fd.Io wrote: > > Hello all, > > I am observing a VPP crash when approximately 20 - 50 PPPoE clients > are connecting and traffic is flowing through them. This crash was > reproducible

[vpp-dev] VPP core dump with PPPoE

2019-09-26 Thread Raj
f index can be seen in bt #5: #5 0x7fba88e9ce0b in vlib_increment_combined_counter (n_bytes=, n_packets=1, index=538976288, thread_index=0, cm=0x7fba481f46a0) at /root/build-1908/src/vlib/counter.h:229 Thanks and Regards, Raj vpp# show version verbose Version: v19.08.1-59~ga2aa83ca9-dir

Re: [vpp-dev] VPP core dump with PPPoE

2019-09-30 Thread Raj
ve some pointers to figure out 1. Why, when a new session is created, the data of an old session is changed to 0x1313 2. What debugging steps can I take next to figure out why this happens. Thanks and Regards, Raj On Sat, Sep 28, 2019 at 6:09 PM Raj via Lists.Fd.Io wrote: > > Hello all

[vpp-dev] Looking for memif performance numbers and configuration

2019-11-11 Thread Raj
Hello all, I am looking to see if any one has attempted to connect two VPP using memif and what pps numbers is seen over memif interface? It would be great if the VPP config too can be shares so that I can recreate it locally. Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive

Re: [vpp-dev] Looking for memif performance numbers and configuration

2019-11-11 Thread Raj
On Mon, Nov 11, 2019 at 5:20 PM Jerome Tollet (jtollet) wrote: > > Did you have a look at > https://docs.fd.io/csit/rls1908/report/vpp_performance_tests/throughput_speedup_multi_core/container_memif.html# > ? Thanks for this link. I hadn't seen this before. raj -=-=-=-=-=-=-=-=-

[vpp-dev] Two potential bugs in nat/out2in

2019-11-13 Thread Raj
age fib_index. Is leaving snat_session_key_t sm0 uninitialized intentional, or should it be initialized? Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14587): https://lists.fd.io/g/vpp-dev/message/14587 Mute This Topic: https://l

[vpp-dev] Connecting two vpp using memif caused severe performance drop

2019-11-08 Thread Raj
is not done. vpp version is: 19.01.3-rc0 Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14545): https://lists.fd.io/g/vpp-dev/message/14545 Mute This Topic: https://lists.fd.io/mt/47761827/21656 Group Owner: vpp-dev+ow

[vpp-dev] QinQ and dot1ad any

2019-12-17 Thread Raj
0x0 Packet Offload Flags PKT_RX_IP_CKSUM_GOOD (0x0080) IP cksum of RX pkt. is valid PKT_RX_L4_CKSUM_GOOD (0x0100) L4 cksum of RX pkt. is valid 0x1235: 00:02:40:7b:1b:00 -> 00:01:08:00:06:04 btw, if inner VLAN is specified, everything works fine. Thanks

Re: [vpp-dev] VPP core dump with PPPoE

2019-10-18 Thread Raj
hitectural rational behind adding one element to the vector pool at a time, as opposed to allocating a bulk number initially. If it is ok to allocate a large pool initially (preferably taking the max_sessions from a conf file), we can side step this issue. Thanks and Regards, Raj -=-=-=-=-=-=-

Re: [vpp-dev] VPP core dump with PPPoE

2019-10-17 Thread Raj
Thanks and Regards, Raj On Fri, Oct 11, 2019 at 12:17 PM Ni, Hongjun wrote: > > Hi Raj, > > I tried to reproduce your issue on VPP 20.01 as per your steps for some > times, but cannot reproduce it. > > From your description, please set a breakpoint in > vnet_pppoe_add_de

Re: [vpp-dev] QinQ and dot1ad any

2019-12-18 Thread Raj
so that only outer VLAN interface needs to be created, while inner VLAN interface will be provided by the control plane application? Is this a road worth traveling? Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#1

Re: [vpp-dev] QinQ and dot1ad any

2019-12-17 Thread Raj
Thanks a lot for the clarification! Raj On Tue, Dec 17, 2019 at 7:43 PM John Lo (loj) wrote: > > Hi Raj, > > A sub-interface with "dot1q inner any" can only work with L2 forwarding via > cross-connect or bridging where packets are forwarded using MAC header > witho

[vpp-dev] Policer download bandwidth reduces on high rtt connection

2019-12-23 Thread Raj
M] 0.0-20.0 sec 67 datagrams received out-of-order [ 5] 0.00-20.00 sec 41.2 MBytes 17.3 Mbits/sec 0.106 ms 40505/70904 (57%) receiver Thanks and Regards, Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14957): https://lists.fd.io/g/v

Re: [vpp-dev] Policer download bandwidth reduces on high rtt connection

2019-12-23 Thread Raj
tx bytes2533 drops 12 punt 1 ip415386 Thanks and Regards, Raj On Mon, Dec 23, 2019 at 11:25 PM Raj via Lists.Fd.Io wrote: > > Hello all, > > In VPP I have configured policer to

Re: [vpp-dev] Multiple UDP receiver applications on same port #vpp-hoststack

2020-02-26 Thread Raj Kumar
Hi Florin, Thanks for the clarification. Thanks, -Raj On Wed, Feb 26, 2020 at 5:14 PM Florin Coras wrote: > Hi Raj, > > Now that’s interesting. VPP detects when an application dies (binary api > mechanism) and forces through the session layer a de-attach which in turn > lea

[vpp-dev] Multiple UDP receiver applications on same port #vpp-hoststack

2020-02-26 Thread Raj Kumar
t; 9915 length 7576, checksum 0x225d 01:12:04:676169: error-punt rx:vppnet1.2001 01:12:04:676170: punt ip6-udp-lookup: no listener punt thanks, -Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15570): https://lists.fd.io/g/vpp-dev/message/15570

Re: [vpp-dev] #vpp-hoststack - Issue with UDP receiver application using VCL library

2020-01-24 Thread Raj Kumar
:edc4:ESTABLISHED0 0 Thread 3: active sessions 2 ConnectionState Rx-f Tx-f [4:0][T] fd0d:edc4::2001::203:6669->fd0d:edc4:ESTABLISHED0 0 [4:1][T] fd0d:edc4::2001::203:57550->fd0d:edc4ESTABLISHED0 399 [4:

Re: [vpp-dev] #vpp-hoststack - Issue with UDP receiver application using VCL library

2020-01-15 Thread Raj Kumar
Hi Florin, Yes, [2] patch resolved the IPv6/UDP receiver issue. Thanks! for your help. thanks, -Raj On Tue, Jan 14, 2020 at 9:35 PM Florin Coras wrote: > Hi Raj, > > First of all, with this [1], the vcl test app/client can establish a udpc > connection. Note that udp will most p

Re: [vpp-dev] #vpp-hoststack - Issue with UDP receiver application using VCL library

2020-01-19 Thread Raj Kumar
UDP: 56944 -> 8092 length 1458, checksum 0xb22d 00:09:53:445032: ip6-local UDP: fd0d:edc4::2001::201 -> fd0d:edc4::2001::203 tos 0x00, flow label 0x0, hop limit 64, payload length 1458 UDP: 56944 -> 8092 length 1458, checksum 0xb22d 00:09:53:445032: ip6-udp-look

[vpp-dev] #vpp-hoststack - Issue with UDP receiver application using VCL library

2020-01-14 Thread raj . gautam25
Hi , I am trying some host application tests ( using LD_PRELOAD) .  TCP rx and tx both work fine. UDP tx also works fine. The issue is only with UDP rx .  In some discussion it was mentioned that session layer does not support connection-less transports so protocols like udp still need to

Re: [vpp-dev] #vpp-hoststack - Issue with UDP receiver application using VCL library

2020-01-14 Thread Raj Kumar
length 1458, checksum 0x0964 00:23:39:401362: ip6-udp-lookup UDP: src-port 60593 dst-port 8092 (no listener) 00:23:39:401362: ip6-icmp-error UDP: fd0d:edc4::2001::201 -> fd0d:edc4::2001::203 tos 0x00, flow label 0x0, hop limit 64, payload length 1458 UDP: 60593 -> 809

Re: [vpp-dev] #vpp-hoststack - Issue with UDP receiver application using VCL library

2020-01-20 Thread Raj Kumar
ssions Thread 7: no sessions vpp# sh app client Connection App [#1][U] fd0d:edc4::2001::203:58926->udp6_tx_8092[shm] [#1][U] fd0d:edc4::2001::203:63413->udp6_tx_8093[shm] vpp# thanks, -Raj On Sun, Jan 19, 2020 at 8:50 PM Florin Coras wrot

Re: [vpp-dev] #vpp-hoststack - Issue with UDP receiver application using VCL library

2020-01-21 Thread Raj Kumar
dp ipv4-other ipv4 ipv6-tcp-ex ipv6-udp-ex ipv6-frag ipv6-tcp ipv6-udp ipv6-other ipv6-ex ipv6 tx burst function: (nil) rx burst function: mlx5_rx_burst thanks, -Raj On Mon, Jan 20, 2020 at 7:55 PM Florin Coras wrote: > Hi Raj, > >

Re: [vpp-dev] #vpp-hoststack - Issue with UDP receiver application using VCL library

2020-01-21 Thread Raj Kumar
Correction : - Please read 17 Mbps as 17 Gbps and 13Mbps as 13Gbps in my previous mail. thanks, -Raj On Tue, Jan 21, 2020 at 6:41 PM Raj Kumar wrote: > Hi Florin, > There is no drop on the interfaces. It is 100G card. > In UDP tx application, I am using 1460 bytes of buffer to send on

Re: [SUSPECTED SPAM] [vpp-dev] Troubleshooting IPsec peer behind NAT (AWS instance)

2020-05-11 Thread Muthu Raj
utput > feature, but we don’t run features for packets that hit the glean (i.e. I > need to ARP) adjacency. So the route needs to resolve via a neighbour > adjacency. It doesn’t have to be a complete adj, hence you don’t need an > ARP response, so any address will do. > > > >

Re: [vpp-dev] Segmentation fault in VPP 20.05 release when using VCL VPPCOM_PROTO_UDPC #vpp-hoststack

2020-05-16 Thread Raj Kumar
OSED): connecting to peer IPv6 2001:5b0::700:b883:31f:29e:9886 port 51190 proto UDP udpRxThread started!!! ... rx port = 6677vppcom_session_connect() failed ... -115 vcl_session_cleanup:1300: vcl<16083:1>: session 0 [0x0] closing vcl_worker_cleanup_cb:190: vcl<94:-1>: cleaned up worker 1

Re: [vpp-dev] Segmentation fault in VPP 20.05 release when using VCL VPPCOM_PROTO_UDPC #vpp-hoststack

2020-05-16 Thread Raj Kumar
0] connected! rx_fifo 0x224051a80, refcnt 1, tx_fifo 0x224051980, refcnt 1 vcl_session_app_add_segment_handler:855: vcl<24434:1>: mapped new segment '24177-4' size 134217728 vcl_session_bound_handler:607: vcl<24434:1>: session 3 [0x0]: listen succeeded! vppcom_epoll_ctl:2658: vcl&l

Re: [SUSPECTED SPAM] [vpp-dev] Troubleshooting IPsec peer behind NAT (AWS instance)

2020-05-11 Thread Muthu Raj
teps that you might > typically use to run a debug version of the vpp executable file, generate > packets, and to analyze results. > wiki.fd.io > > -- > *From:* Muthu Raj > *Sent:* Thursday, May 7, 2020 7:04 PM > *To:* Filip Tehlar -X (ftehlar - PA

Re: [SUSPECTED SPAM] [vpp-dev] Troubleshooting IPsec peer behind NAT (AWS instance)

2020-05-11 Thread Muthu Raj
; > >ip route add 10.6.0.0/16 via 172.30.x.y lan0.218 > > > > x and y can be anything, apart from x=0 and y=5. > > > > /neale > > > > *From: * on behalf of Muthu Raj < > muthuraj.muth...@gmail.com> > *Date: *Monday 11 May 2020 at 17:3

[vpp-dev] Segmentation fault in VPP 20.05 release when using VCL VPPCOM_PROTO_UDPC #vpp-hoststack

2020-05-15 Thread Raj Kumar
patches and it worked perfectly. https://gerrit.fd.io/r/c/vpp/+/24332 https://gerrit.fd.io/r/c/vpp/+/24334 https://gerrit.fd.io/r/c/vpp/+/24462 Thanks, -Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16410): https://lists.fd.io/g/vpp-dev/message

Re: [vpp-dev] Segmentation fault in VPP 20.05 release when using VCL VPPCOM_PROTO_UDPC #vpp-hoststack

2020-05-15 Thread Raj Kumar
. I will change my application and will update you about the result. Thanks, -Raj On Fri, May 15, 2020 at 5:17 PM Florin Coras wrote: > Hi Raj, > > We removed udpc transport in vpp. I’ll push a patch that removes it from > vcl as well. > > Calling connect on a udp connec

[vpp-dev] Troubleshooting IPSec in VPP

2020-05-18 Thread Muthu Raj
Hello, I am trying out IPSec on VPP, and used the wiki[1] to create an IPSec tunnel between an AWS instance(remote) and my home. The tunnel was established successfully, and when pinging an IP on the remote side, the icmp req flows over the tunnel, is seen by the remote box, and responded back as

Re: [vpp-dev] Segmentation fault in VPP 20.05 release when using VCL VPPCOM_PROTO_UDPC #vpp-hoststack

2020-05-18 Thread Raj Kumar
3 #14 dispatch_process (vm=0x76d7c200 , p=0x7fffb571a000, last_time_stamp=12611933408198086, f=0x0) at /usr/src/debug/vpp-20.05-rc0~748_g83d129837.x86_64/src/vlib/main.c:1569 thanks, -Raj On Sat, May 16, 2020 at 8:18 PM Florin Coras wrote: > Hi Raj, > > Inline. > > On May

Re: [SUSPECTED SPAM] [vpp-dev] Troubleshooting IPsec peer behind NAT (AWS instance)

2020-05-14 Thread Muthu Raj
ir.hi 0x0 fdir.lo 0xed0f5862 Packet Types RTE_PTYPE_L3_IPV4 (0x0010) IPv4 packet without extension headers IP6: 12:27:3c:81:f8:f3 -> 12:43:12:c4:21:97 IPSEC_ESP: 2001::1 -> 2001::2 tos 0x00, flow label 0x0, hop limit 253, payload length 132 Let me know if you need more info. Thank

Re: [SUSPECTED SPAM] [vpp-dev] Troubleshooting IPsec peer behind NAT (AWS instance)

2020-05-15 Thread Muthu Raj
n the SPD. > > The match in the SPD is against SA 20’s tunnel addresses not the policy’s > local/remote range. > > > > /neale > > > > > > *From: *Muthu Raj > *Date: *Thursday 14 May 2020 at 15:51 > *To: *"muthuraj.muth...@gmail.com" > *Cc:

Re: [SUSPECTED SPAM] [vpp-dev] Troubleshooting IPsec peer behind NAT (AWS instance)

2020-05-13 Thread Muthu Raj
Hi Muthu, > > > > I tried your 4over6 config, it doesn’t work… here’s the fix: > > https://gerrit.fd.io/r/c/vpp/+/27019 > > > > /neale > > > > *From: *Muthu Raj > *Date: *Monday 11 May 2020 at 21:36 > *To: *"Neale Ranns (nranns)" > *Cc:

Re: [SUSPECTED SPAM] [vpp-dev] Troubleshooting IPsec peer behind NAT (AWS instance)

2020-05-11 Thread Muthu Raj
over the tunnel. On Mon, May 11, 2020, 10:26 PM Neale Ranns (nranns) wrote: > > > > > *From: *Muthu Raj > *Date: *Monday 11 May 2020 at 18:42 > *To: *"Neale Ranns (nranns)" > *Cc: *"Filip Tehlar -X (ftehlar - PANTHEON TECH SRO at Cisco)" < > fte

Re: [vpp-dev] Segmentation fault in VPP 20.05 release when using VCL VPPCOM_PROTO_UDPC #vpp-hoststack

2020-05-19 Thread Raj Kumar
ashing with UDPC. Please let me know if there is any other way to compile VPP with the local code changes. thanks, -Raj . On Tue, May 19, 2020 at 12:31 AM Florin Coras wrote: > Hi Raj, > > By the looks of it, something’s not right because in the logs VCL still > reports it’s bindi

Re: [vpp-dev] VPP 2005 is crashing on stopping the VCL applications #vpp-hoststack

2020-08-17 Thread Raj Kumar
Hi Florin, Can we please have the fix[1] on "stable/2005" branch. [1] https://gerrit.fd.io/r/c/vpp/+/28173 Thanks, -Raj On Wed, Aug 5, 2020 at 7:30 PM Raj Kumar via lists.fd.io wrote: > Hi Florin, > Yes , this[1] fixed the issue. > > thanks, > -Raj > > On Wed

Re: [vpp-dev] VPP 2005 is crashing on stopping the VCL applications #vpp-hoststack

2020-08-18 Thread Raj Kumar
t... > > > > *From:* vpp-dev@lists.fd.io *On > Behalf Of *Raj Kumar > *Sent:* Monday, August 17, 2020 5:09 PM > *To:* Ayush Gautam > *Cc:* Florin Coras ; > vpp-dev > *Subject:* Re: [vpp-dev] VPP 2005 is crashing on stopping the VCL > applications #vpp-host

Re: [SUSPECTED SPAM] [vpp-dev] Troubleshooting IPsec peer behind NAT (AWS instance)

2020-05-28 Thread Muthu Raj
version explaining more things (more like capturing what neale explained to me) with traces in the VPP user docs. Thanks Neale, Filip and everyone. On Fri, May 15, 2020 at 3:11 PM Neale Ranns (nranns) wrote: > > > Hi Muthu, > > > > *From: * on behalf of Muthu Raj < >

Re: [vpp-dev] Segmentation fault in VPP 20.05 release when using VCL VPPCOM_PROTO_UDPC #vpp-hoststack

2020-05-25 Thread Raj Kumar
in ?? () #16 0x in ?? () thanks, -Raj On Mon, May 25, 2020 at 2:17 PM Florin Coras wrote: > Hi Raj, > > Ow, now you’ve hit the untested part of [2]. Could you try this [3]? > > Regards, > Florin > > [3] https://gerrit.fd.io/r/c/vpp/+/27235 > > On May 25

Re: [vpp-dev] Segmentation fault in VPP 20.05 release when using VCL VPPCOM_PROTO_UDPC #vpp-hoststack

2020-05-31 Thread Raj Kumar
in (argc=50, argv=0x705f00) at /opt/vpp/src/vlib/unix/main.c:730 #20 0x00407387 in main (argc=50, argv=0x705f00) at /opt/vpp/src/vpp/vnet/main.c:291 thanks, -Raj On Mon, May 25, 2020 at 5:02 PM Florin Coras wrote: > Hi Raj, > > Okay, so at least with that we have support fo

[vpp-dev] VPP 2005 is crashing on stopping the VCL applications #vpp-hoststack

2020-07-29 Thread Raj Kumar
/debug/vpp-20.05-9~g0bf9c294c_dirty.x86_64/src/vppinfra/types.h:133 #12 0x7f0f66009024 in ?? () Thanks, -Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17110): https://lists.fd.io/g/vpp-dev/message/17110 Mute This Topic: https://lists.fd.io/mt

Re: [vpp-dev] VPP 2005 is crashing on stopping the VCL applications #vpp-hoststack

2020-07-29 Thread Raj Kumar
application for a proper cleanup. I also tried vppcom_app_destroy() before exiting the main application but still I am seeing the same issue. thanks, -Raj On Wed, Jul 29, 2020 at 5:34 PM Florin Coras wrote: > Hi Raj, > > Does stopping include a call to vppcom_app_exit o

Re: [vpp-dev] VPP 2005 is crashing on stopping the VCL applications #vpp-hoststack

2020-08-03 Thread Raj Kumar
by vppcom_epoll_wait(). Thanks, -Raj On Wed, Jul 29, 2020 at 11:23 PM Florin Coras wrote: > Hi Raj, > > In that case it should work. Just from the trace lower it’s hard to figure > out what exactly happened. Also, keep in mind that vcl is not thread safe, > so make sure you’re not

Re: [vpp-dev] VPP 2005 is crashing on stopping the VCL applications #vpp-hoststack

2020-08-04 Thread Raj Kumar
- Centos 8.1 , vpp release - 20.05 thanks, -Raj On Tue, Aug 4, 2020 at 10:24 AM Florin Coras wrote: > Hi Raj, > > Interesting. For some reason, the message queue’s underlying > pthread_cond_timedwait does not work in your setup. Not sure what to make > of that, unless mayb

Re: [vpp-dev] VPP 2005 is crashing on stopping the VCL applications #vpp-hoststack

2020-08-04 Thread Raj Kumar
Hi Florin, After adding use-mq-eventfd in VCL configuration, it is working as expected. Thanks! for your help. vcl { rx-fifo-size 400 tx-fifo-size 400 app-scope-local app-scope-global use-mq-eventfd api-socket-name /tmp/vpp-api.sock } thanks, -Raj On Tue, Aug 4, 2020 at 12

Re: [vpp-dev] VPP 2005 is crashing on stopping the VCL applications #vpp-hoststack

2020-08-05 Thread Raj Kumar
Hi Florin, Yes , this[1] fixed the issue. thanks, -Raj On Wed, Aug 5, 2020 at 1:57 AM Florin Coras wrote: > Hi Raj, > > Does this [1] fix the issue? > > Regards, > Florin > > [1] https://gerrit.fd.io/r/c/vpp/+/28173 > > On Aug 4, 2020, at 8:24 AM, Raj Kumar w

[vpp-dev] How to active tx udp checksum offload #dpdk #mellanox

2020-07-01 Thread Raj Kumar
311830 tx bytes ok                                 128602546562 rx frames ok                                        1877 rx bytes ok                                       228452 thanks, -Raj -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16863): https://lists.fd.io/g/vpp-dev/

  1   2   >