[vpp-dev] Encapsulated IPv6 packet fragmentation issue #vnet #vpp

2020-08-05 Thread pashinho1990
[Edited Message Follows] Hi everyone, I have an use-case where I need to fragment an encapsulated IPv6 packet. I'm doing it using the ip6_frag_do_fragment() routine, like so: encap_size = sizeof(some_encap_tunnel_t); ip6_frag_do_fragment(vm, pi0, vnet_buffer(p0)->ip_frag.mtu - encap_size, encap

[vpp-dev] Encapsulated IPv6 packet fragmentation issue #vnet #vpp

2020-08-05 Thread pashinho1990
Hi everyone, I have an use-case where I need to fragment an encapsulated IPv6 packet. I'm doing it using the ip6_frag_do_fragment() routine, like so: encap_size = sizeof(some_encap_tunnel_t); ip6_frag_do_fragment(vm, pi0, vnet_buffer(p0)->ip_frag.mtu - encap_size, encap_size, &frags); Looking

Re: [vpp-dev] Some inconsistencies in API installed header files #vpp #vapi #vnet

2020-05-29 Thread pashinho1990
I confirm the fix. Thank you -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16570): https://lists.fd.io/g/vpp-dev/message/16570 Mute This Topic: https://lists.fd.io/mt/74479551/21656 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452 Mute

Re: [vpp-dev] Segfault in 'vapi_type_msg_header1_t_ntoh()' with a C++ api client #vpp #vapi

2020-05-29 Thread pashinho1990
Hi Klement, Thanks for your reply and clarification. I found the issue on my end, my bad. On the dataplane plugin side of the api message handler: > > > vl_api_session_add_t_handler(vl_api_session_add_t *mp) I was making use of the endian generated functions in order to convert to host byte o

[vpp-dev] Segfault in 'vapi_type_msg_header1_t_ntoh()' with a C++ api client #vpp #vapi

2020-05-28 Thread pashinho1990
[Edited Message Follows] Hi all, So, the problem is encountered with my C++ client when receiving a reply. The strange thing is that this happens only with a specific type of api request-reply. Follows the segfault stack trace: > > Thread 1 "sample_plugin_client" hit Breakpoint 1, > vapi_type_

[vpp-dev] Segfault in 'vapi_type_msg_header1_t_ntoh()' with a C++ api client #vpp #vapi

2020-05-28 Thread pashinho1990
Hi all, So, the problem is encountered with my C++ client when receiving a reply. The strange thing is that this happens only with a specific type of api request-reply. Follows the segfault stack trace: > > Thread 1 "sample_plugin_client" hit Breakpoint 1, > vapi_type_msg_header1_t_ntoh (h=0x0)

[vpp-dev] RPM packaging on "stable/2005" branch maybe broken on suse leap 15.1 #vpp

2020-05-27 Thread pashinho1990
Hi all, All worked just fine as I was on top of "stable/2001" branch, but today I rebased my work on top of "stable/2005" and did a "make pkg-rpm" which breaks right at the end at the "vpp-papi" build stage. Specifically: > > ... > running install_egg_info > running egg_info > creating vpp_papi

Re: [vpp-dev] Some inconsistencies in API installed header files #vpp #vapi #vnet

2020-05-26 Thread pashinho1990
Hi, That might actually be the fix :). It so happens that I was on top of "stable/2001" which doesn't have this commit, but I see "master" and "stable/2005" do have it, dammit. However, I'll give it a try and let u know if you want to. Thank you -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all me

[vpp-dev] Some inconsistencies in API installed header files #vpp #vapi #vnet

2020-05-26 Thread pashinho1990
Hi all, I don't know if this is the right place to ask and if the "issue" here is really an expected one, or if I'm just doing something really stupid. So, someone please do let me know. I found some inconsistencies in some API header files installed under "/usr/include/" , in my case specific

Re: [vpp-dev] GTPu Question

2020-05-26 Thread pashinho1990
Hi, I had more or less the same question something like 2 years ago, and guess what, to date still no reply whatsoever. I'd think the plugin's developer is untraceable and/or "out of duty". Now back to the question, if I didn't misunderstood this GTPU plugin's semantics (by reading the code), t

[vpp-dev] How to direct traffic destined to a given subnet to a specific node of my choice? #vpp

2020-03-06 Thread pashinho1990
Hi all, would there be anyone kind enough to illustrate how and what to do in order to forward a given subnet traffic (e.g. IPv4 traffic destined to 192.168.0.0/24) to a specific node of my choice, rather than the predefined "ip[4|6]-rewrite"? I know it may have something to do with DPOs, as per

[vpp-dev] GTP-U base usage setup

2019-02-04 Thread pashinho1990
Hi all, I'm trying to use VPP as a GTP-U dataplane, I have already read https://wiki.fd.io/view/VPP/Per-feature_Notes and https://docs.fd.io/vpp/19.01/clicmd_src_plugins_gtpu.html , but still can't understand how the appropriate configuration should be done (please pardon my ignorance). The as