Re: [vpp-dev] Linking external libraries to VPP executable
Hi, My plugin is linked to an external lib. When my plugin calls the init function of that external lib, it runs into some problems with symbols (presumably the external lib init function calls a dlopen to load some other files) It seems the problem comes from the fact that VPP calls a dlopen of plugins. A simple executable linking directly to the external library and calling the init function of the external lib does not give the same problem. I prototyped the whole scenario by making a stub executable (acting like VPP executable). Also made a stub shared object (like the plugin) which links to the external lib. Then I did a dlopen of this shared object from my stub executable (just like VPP) where the shared object code calls the init function of external lib. This reproduces the same problem as seen with VPP. I then linked my stub executable with the external library in addition and then everything worked fine. In fact, I went ahead and changed the src/vlib/CMakeLists.txt so that external lib links with vlib. This works fine for me. I just wanted to find out, if there is any generic infra available to link additional external libraries to say, vlib, without fiddling around with the build system of VPP. Regards, Siddarth On Thu, Jan 2, 2020 at 7:38 PM Damjan Marion wrote: > > 99% of vpp code is not in vpp executable so i wander why do you want to do > that? both some of vpp standard libraries (vnet, vlib, ..) and some of vpp > plugins are linked against libs, so to be able to help you i need more > details... > > -- > Damjan > > On 2 Jan 2020, at 14:20, siddarth rai wrote: > > > Hi, > > I mean only 'vpp executable' > > Regards, > Siddarth > > On Thu, Jan 2, 2020 at 5:10 PM Damjan Marion wrote: > >> >> what do you mean by “vpp executable lib”? can you provide more details >> what exactly do you want to do? >> >> -- >> Damjan >> >> > On 2 Jan 2020, at 12:27, siddarth rai wrote: >> > >> > >> > Hello, >> > >> > I am working on VPP 1908. >> > I want to link some external non-vpp libraries to my vpp executable lib. >> > >> > Would it work if I add the path of external lib to vlib/CMakeLists.txt >> file using 'LINK_LIBRARIES' ? >> > >> > Can anyone tell if this is the right way or if there is any other way ? >> > >> > Any help will be appreciated. >> > >> > Thank you, >> > Siddarth >> > -=-=-=-=-=-=-=-=-=-=-=- >> > Links: You receive all messages sent to this group. >> > >> > View/Reply Online (#15013): https://lists.fd.io/g/vpp-dev/message/15013 >> > Mute This Topic: https://lists.fd.io/mt/69378301/675642 >> > Group Owner: vpp-dev+ow...@lists.fd.io >> > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [dmar...@me.com] >> > -=-=-=-=-=-=-=-=-=-=-=- >> >> -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#15020): https://lists.fd.io/g/vpp-dev/message/15020 > Mute This Topic: https://lists.fd.io/mt/69378301/675642 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [dmar...@me.com] > -=-=-=-=-=-=-=-=-=-=-=- > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15027): https://lists.fd.io/g/vpp-dev/message/15027 Mute This Topic: https://lists.fd.io/mt/69378301/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 #bond How to config bond mode in vpp?
[Edited Message Follows] we use vpp version 19.08 I config bond in VPP startup.conf dpdk{ ... vdev eth_bond0,mode=1,slave=:01:00.0,slave=:01:00.1,xmit_policy=l34 .. } But when vpp start,I show int DBGvpp# show int Name Idx State MTU (L3/IP4/IP6/MPLS) Counter Count GigabitEthernet1/0/0 1 down 9000/0/0/0 GigabitEthernet1/0/1 2 down 9000/0/0/0 UnknownEthernet2 3 down 9000/0/0/0 local0 0 down 0/0/0/0 when I Set state UnknownEthernet2 up, vpp crash down. Another question, when I compile VPP, Is need cfg RTE_LIBRTE_PMD_BOND (build/external/packages/dpdk.mk) option on? Thanks! -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15026): https://lists.fd.io/g/vpp-dev/message/15026 Mute This Topic: https://lists.fd.io/mt/69394532/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 #bond How to config bond mode in vpp?
[Edited Message Follows] we use vpp version 19.08 I config bond in VPP startup.conf dpdk{ ... vdev eth_bond0,mode=1,slave=:01:00.0,slave=:01:00.1,xmit_policy=l34 .. } But when vpp start,I show int DBGvpp# show int Name Idx State MTU (L3/IP4/IP6/MPLS) Counter Count GigabitEthernet1/0/0 1 down 9000/0/0/0 GigabitEthernet1/0/1 2 down 9000/0/0/0 UnknownEthernet2 3 down 9000/0/0/0 local0 0 down 0/0/0/0 when I Set status UnknownEthernet2 up, vpp crash down. Another question, when I compile VPP, Is need cfg RTE_LIBRTE_PMD_BOND (build/external/packages/dpdk.mk) option on? Thanks! -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15026): https://lists.fd.io/g/vpp-dev/message/15026 Mute This Topic: https://lists.fd.io/mt/69394532/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 #bond How to config bond mode in vpp?
we use vpp version 19.08 when I config Bond in VPP startup.conf dpdk{ ... vdev eth_bond0,mode=1,slave=:01:00.0,slave=:01:00.1,xmit_policy=l34 .. } But when vpp start,I show int DBGvpp# show int Name Idx State MTU (L3/IP4/IP6/MPLS) Counter Count GigabitEthernet1/0/0 1 down 9000/0/0/0 GigabitEthernet1/0/1 2 down 9000/0/0/0 UnknownEthernet2 3 down 9000/0/0/0 local0 0 down 0/0/0/0 when I Set status UnknownEthernet2 up, vpp crash down. Another question, when I compile VPP, Is need cfg RTE_LIBRTE_PMD_BOND (build/external/packages/dpdk.mk) option on? Thanks! -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15026): https://lists.fd.io/g/vpp-dev/message/15026 Mute This Topic: https://lists.fd.io/mt/69394532/21656 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp=1480452 Mute #bond: https://lists.fd.io/mk?hashtag=bond=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] extreme low throughput when connecting two docker container on a vm.
Hi Jeffrey, I would recommend using tap interfaces (create tap) with 1024 rx/tx descriptors and gso turned on. That will be much faster than host interfaces. Jerome De : au nom de xu cai Date : jeudi 2 janvier 2020 à 22:14 À : "vpp-dev@lists.fd.io" Objet : [vpp-dev] extreme low throughput when connecting two docker container on a vm. hi there, i am quite new to VPP, just follow up the wiki guidance, and setup a VPP instance, and connect two docker container to the VPP instance and configure a bridge in VPP instance for these two docker container, then i run iperf on the docker container and see root@94bf13822d8e:/# iperf -c 10.10.10.3 -t 600 -i 10 Client connecting to 10.10.10.3, TCP port 5001 TCP window size: 85.0 KByte (default) [ 3] local 10.10.10.2 port 40628 connected with 10.10.10.3 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 8.25 MBytes 6.92 Mbits/sec [ 3] 10.0-20.0 sec 9.00 MBytes 7.55 Mbits/sec [ 3] 20.0-30.0 sec 8.75 MBytes 7.34 Mbits/sec the way, i connect the container and vpp is through veth pair. vpp# show inte Name IdxState MTU (L3/IP4/IP6/MPLS) Counter Count host-veth1000 4 up 9000/0/0/0 rx packets 517153 rx bytes 900265110 tx packets 427351 tx bytes 30077622 drops 104 host-veth2000 3 up 9000/0/0/0 rx packets 427351 rx bytes 30077622 tx packets 517049 tx bytes 900260742 tx-error 62 local00 down 0/0/0/0 vpp# vpp# sh bridge-domain 2 detail BD-ID Index BSN Age(min) Learning U-Forwrd UU-Flood Flooding ARP-Term arp-ufwd BVI-Intf 2 2 0 offonon floodon off offN/A Interface If-idx ISN SHG BVI TxFlood VLAN-Tag-Rewrite host-veth1000 4 50- * none host-veth2000 3 50- * none vpp# if i connect the containers through other method, i see much much higher throughput. i don't know how to debug this, could anybody give some guidance ? i think i missed something fundamental. more important, what's the right way to connect containers through vpp ? thanks -- - jeffrey -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15025): https://lists.fd.io/g/vpp-dev/message/15025 Mute This Topic: https://lists.fd.io/mt/69387845/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] extreme low throughput when connecting two docker container on a vm.
hi there, i am quite new to VPP, just follow up the wiki guidance, and setup a VPP instance, and connect two docker container to the VPP instance and configure a bridge in VPP instance for these two docker container, then i run iperf on the docker container and see root@94bf13822d8e:/# iperf -c 10.10.10.3 -t 600 -i 10 Client connecting to 10.10.10.3, TCP port 5001 TCP window size: 85.0 KByte (default) [ 3] local 10.10.10.2 port 40628 connected with 10.10.10.3 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 8.25 MBytes 6.92 Mbits/sec [ 3] 10.0-20.0 sec 9.00 MBytes 7.55 Mbits/sec [ 3] 20.0-30.0 sec 8.75 MBytes 7.34 Mbits/sec the way, i connect the container and vpp is through veth pair. vpp# show inte Name IdxState MTU (L3/IP4/IP6/MPLS) Counter Count host-veth1000 4 up 9000/0/0/0 rx packets517153 rx bytes 900265110 tx packets427351 tx bytes30077622 drops 104 host-veth2000 3 up 9000/0/0/0 rx packets427351 rx bytes30077622 tx packets517049 tx bytes 900260742 tx-error 62 local00 down 0/0/0/0 vpp# vpp# sh bridge-domain 2 detail BD-ID Index BSN Age(min) Learning U-Forwrd UU-Flood Flooding ARP-Term arp-ufwd BVI-Intf 2 2 0 offonon floodon off offN/A Interface If-idx ISN SHG BVI TxFlood VLAN-Tag-Rewrite host-veth1000 4 50- * none host-veth2000 3 50- * none vpp# if i connect the containers through other method, i see much much higher throughput. i don't know how to debug this, could anybody give some guidance ? i think i missed something fundamental. more important, what's the right way to connect containers through vpp ? thanks -- - jeffrey -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15024): https://lists.fd.io/g/vpp-dev/message/15024 Mute This Topic: https://lists.fd.io/mt/69387845/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] Discrepancies between CI jobs and s5ci
This has gone a little off the original topic. Do we want to run the CI tests as an unprivileged user (something as simple as su to a vpp user) or just let the community be aware that the CI test results are different than when run locally? But as to Damjan's and Blaji's comments, I agree. I personally don't like the framework either. From my perspective, it forces *way* too much on the user. My preference is a declarative over programmatic configuration. As an example, I have seen Dave and Andrew both contribute tests where they build an array of commands and fire them off to the cli via the api. To me, that seems like a waste of effort, when vpp provides the ability to exec a script via startup. And you all have put *way* too much effort into complying with the way the test framework decided that you have to modify the startup config. I would rather see you be able to work the way you normally would. in my mind, one should be able to specify a __startup_conf__ = " " string and not have to rely on constructs such as extra_vpp_punt_config and extra_vpp_plugin_config. Paul -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15023): https://lists.fd.io/g/vpp-dev/message/15023 Mute This Topic: https://lists.fd.io/mt/69288694/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] Linking external libraries to VPP executable
99% of vpp code is not in vpp executable so i wander why do you want to do that? both some of vpp standard libraries (vnet, vlib, ..) and some of vpp plugins are linked against libs, so to be able to help you i need more details... -- Damjan > On 2 Jan 2020, at 14:20, siddarth rai wrote: > > > Hi, > > I mean only 'vpp executable' > > Regards, > Siddarth > >> On Thu, Jan 2, 2020 at 5:10 PM Damjan Marion wrote: >> >> what do you mean by “vpp executable lib”? can you provide more details what >> exactly do you want to do? >> >> -- >> Damjan >> >> > On 2 Jan 2020, at 12:27, siddarth rai wrote: >> > >> > >> > Hello, >> > >> > I am working on VPP 1908. >> > I want to link some external non-vpp libraries to my vpp executable lib. >> > >> > Would it work if I add the path of external lib to vlib/CMakeLists.txt >> > file using 'LINK_LIBRARIES' ? >> > >> > Can anyone tell if this is the right way or if there is any other way ? >> > >> > Any help will be appreciated. >> > >> > Thank you, >> > Siddarth >> > -=-=-=-=-=-=-=-=-=-=-=- >> > Links: You receive all messages sent to this group. >> > >> > View/Reply Online (#15013): https://lists.fd.io/g/vpp-dev/message/15013 >> > Mute This Topic: https://lists.fd.io/mt/69378301/675642 >> > Group Owner: vpp-dev+ow...@lists.fd.io >> > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [dmar...@me.com] >> > -=-=-=-=-=-=-=-=-=-=-=- >> > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#15020): https://lists.fd.io/g/vpp-dev/message/15020 > Mute This Topic: https://lists.fd.io/mt/69378301/675642 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [dmar...@me.com] > -=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15022): https://lists.fd.io/g/vpp-dev/message/15022 Mute This Topic: https://lists.fd.io/mt/69378301/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] Coverity run FAILED as of 2020-01-02 14:00:25 UTC
Coverity run failed today. Current number of outstanding issues are 2 Newly detected: 0 Eliminated: 0 More details can be found at https://scan.coverity.com/projects/fd-io-vpp/view_defects -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15021): https://lists.fd.io/g/vpp-dev/message/15021 Mute This Topic: https://lists.fd.io/mt/69380109/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] Linking external libraries to VPP executable
Hi, I mean only 'vpp executable' Regards, Siddarth On Thu, Jan 2, 2020 at 5:10 PM Damjan Marion wrote: > > what do you mean by “vpp executable lib”? can you provide more details > what exactly do you want to do? > > -- > Damjan > > > On 2 Jan 2020, at 12:27, siddarth rai wrote: > > > > > > Hello, > > > > I am working on VPP 1908. > > I want to link some external non-vpp libraries to my vpp executable lib. > > > > Would it work if I add the path of external lib to vlib/CMakeLists.txt > file using 'LINK_LIBRARIES' ? > > > > Can anyone tell if this is the right way or if there is any other way ? > > > > Any help will be appreciated. > > > > Thank you, > > Siddarth > > -=-=-=-=-=-=-=-=-=-=-=- > > Links: You receive all messages sent to this group. > > > > View/Reply Online (#15013): https://lists.fd.io/g/vpp-dev/message/15013 > > Mute This Topic: https://lists.fd.io/mt/69378301/675642 > > Group Owner: vpp-dev+ow...@lists.fd.io > > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [dmar...@me.com] > > -=-=-=-=-=-=-=-=-=-=-=- > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15020): https://lists.fd.io/g/vpp-dev/message/15020 Mute This Topic: https://lists.fd.io/mt/69378301/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] IPv6 UDP Datagrams with Zero Checksum- RFC complaint ?
Ole, Got it. I did go through udp local code previously and found we are doing only UDP dear port based and error handling in the node. Anyway , Thankyou so much for responding patiently. Thanks Shiva On Thu, 2 Jan 2020 at 18:11, wrote: > Hi Shiva, > > > Forgot to add "reply-all", My apologies. > > > > Ole, > > >>> Right, so if you do not want to accept UDP zero checksum packets in > your application, add the check in your code. > > I Agree. Just curious to know the design choice. > > > > So, by design, VPP hands over the UDP packet to "registered node" > irrespective of the payload. > > Is that correct? > > Yes that's correct. The UDP dispatcher can obviously not know anything > about the UDP payload. > There is very little to UDP. The VPP local IP handling only provides a > demux point based on the destination port. > And IP reassembly. > The rest is up to the UDP application. > > https://git.fd.io/vpp/tree/src/vnet/udp/udp_local.c#n57 > > Best regards, > Ole -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15019): https://lists.fd.io/g/vpp-dev/message/15019 Mute This Topic: https://lists.fd.io/mt/69364719/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] IPv6 UDP Datagrams with Zero Checksum- RFC complaint ?
Hi Shiva, > Forgot to add "reply-all", My apologies. > > Ole, > >>> Right, so if you do not want to accept UDP zero checksum packets in your > >>> application, add the check in your code. > I Agree. Just curious to know the design choice. > > So, by design, VPP hands over the UDP packet to "registered node" > irrespective of the payload. > Is that correct? Yes that's correct. The UDP dispatcher can obviously not know anything about the UDP payload. There is very little to UDP. The VPP local IP handling only provides a demux point based on the destination port. And IP reassembly. The rest is up to the UDP application. https://git.fd.io/vpp/tree/src/vnet/udp/udp_local.c#n57 Best regards, Ole-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15018): https://lists.fd.io/g/vpp-dev/message/15018 Mute This Topic: https://lists.fd.io/mt/69364719/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] IPv6 UDP Datagrams with Zero Checksum- RFC complaint ?
Forgot to add "reply-all", My apologies. Ole, >>> Right, so if you do not want to accept UDP zero checksum packets in your application, add the check in your code. I Agree. Just curious to know the design choice. So, by design, VPP hands over the UDP packet to "registered node" irrespective of the payload. Is that correct? Thanks Shiva On Thu, Jan 2, 2020 at 5:12 PM wrote: > Shiva, > > > I am running a custom VPP node that registers to a specific UDP port > (network is using IP6 protocol). > > Right, so if you do not want to accept UDP zero checksum packets in your > application, add the check in your code. > > Best regards, > Ole > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15017): https://lists.fd.io/g/vpp-dev/message/15017 Mute This Topic: https://lists.fd.io/mt/69364719/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 19.08 Create DEB files #vpp
Hi Amir, What happens if you do “make pkg-deb”? --a > On 2 Jan 2020, at 12:32, amir...@rad.com wrote: > > Hi All, > > I've just download VPP 19.08 from GIT. > I can see that in this version the "install-deb" flag in the MAKE doesn't > exist anymore. > How can I create VPP debians from the source code ? > > Thanks in advance, > Amir. > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#15014): https://lists.fd.io/g/vpp-dev/message/15014 > Mute This Topic: https://lists.fd.io/mt/69378344/675608 > Mute #vpp: https://lists.fd.io/mk?hashtag=vpp=1480457 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [ayour...@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15016): https://lists.fd.io/g/vpp-dev/message/15016 Mute This Topic: https://lists.fd.io/mt/69378344/21656 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] Linking external libraries to VPP executable
what do you mean by “vpp executable lib”? can you provide more details what exactly do you want to do? -- Damjan > On 2 Jan 2020, at 12:27, siddarth rai wrote: > > > Hello, > > I am working on VPP 1908. > I want to link some external non-vpp libraries to my vpp executable lib. > > Would it work if I add the path of external lib to vlib/CMakeLists.txt file > using 'LINK_LIBRARIES' ? > > Can anyone tell if this is the right way or if there is any other way ? > > Any help will be appreciated. > > Thank you, > Siddarth > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#15013): https://lists.fd.io/g/vpp-dev/message/15013 > Mute This Topic: https://lists.fd.io/mt/69378301/675642 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [dmar...@me.com] > -=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15015): https://lists.fd.io/g/vpp-dev/message/15015 Mute This Topic: https://lists.fd.io/mt/69378301/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 19.08 Create DEB files #vpp
Hi All, I've just download VPP 19.08 from GIT. I can see that in this version the "install-deb" flag in the MAKE doesn't exist anymore. How can I create VPP debians from the source code ? Thanks in advance, Amir. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15014): https://lists.fd.io/g/vpp-dev/message/15014 Mute This Topic: https://lists.fd.io/mt/69378344/21656 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] Linking external libraries to VPP executable
Hello, I am working on VPP 1908. I want to link some external non-vpp libraries to my vpp executable lib. Would it work if I add the path of external lib to vlib/CMakeLists.txt file using 'LINK_LIBRARIES' ? Can anyone tell if this is the right way or if there is any other way ? Any help will be appreciated. Thank you, Siddarth -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15013): https://lists.fd.io/g/vpp-dev/message/15013 Mute This Topic: https://lists.fd.io/mt/69378301/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] IPv6 UDP Datagrams with Zero Checksum- RFC complaint ?
Shiva, > I am not using any tunneling protocol in my case(IPV6+UDP+ payload) > > RFC 6935 says, > "The update is specified for use by a tunnel protocol that transports > packets that are themselves protected by a checksum." > > >>> In VPP we basically leave it up to the application to decide if it > >>> requires the UDP checksum or not. > So, will VPP maintain the same behavior even for non-tunneled IPV6 UDP > datagrams? Which application of UDP are you specifically referring to? Cheers, Ole-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15012): https://lists.fd.io/g/vpp-dev/message/15012 Mute This Topic: https://lists.fd.io/mt/69364719/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] IPv6 UDP Datagrams with Zero Checksum- RFC complaint ?
Hi Ole, Thank you for your reply. I am not using any tunneling protocol in my case(IPV6+UDP+ payload) RFC 6935 says, "The update is specified for use by a tunnel protocol that transports packets that are themselves protected by a checksum." >>> In VPP we basically leave it up to the application to decide if it requires the UDP checksum or not. So, will VPP maintain the same behavior even for non-tunneled IPV6 UDP datagrams? Thanks Shiva On Thu, Jan 2, 2020 at 4:03 PM wrote: > Hi Shiva, > > > I was going through ip6 code, and observed VPP skips calculating UDP > checksum for packets with explicit zero checksum, and process the packet > "normally". (This, after disabling HW checksum offload) > > > > But, as per RFC-2460, > > "IPv6 receivers must discard UDP packets containing a zero checksum, and > should log the error." > > > > Is this expected behavior from VPP? Or will it be modified to be RFC > compliant? > > The IPv6 UDP checksum behaviour was updated with RFC6935 and RFC6936. > In VPP we basically leave it up to the application to decide if it > requires the UDP checksum or not. > > Best regards, > Ole > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15011): https://lists.fd.io/g/vpp-dev/message/15011 Mute This Topic: https://lists.fd.io/mt/69364719/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] IPv6 UDP Datagrams with Zero Checksum- RFC complaint ?
Hi Shiva, > I was going through ip6 code, and observed VPP skips calculating UDP checksum > for packets with explicit zero checksum, and process the packet "normally". > (This, after disabling HW checksum offload) > > But, as per RFC-2460, > "IPv6 receivers must discard UDP packets containing a zero checksum, and > should log the error." > > Is this expected behavior from VPP? Or will it be modified to be RFC > compliant? The IPv6 UDP checksum behaviour was updated with RFC6935 and RFC6936. In VPP we basically leave it up to the application to decide if it requires the UDP checksum or not. Best regards, Ole -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15010): https://lists.fd.io/g/vpp-dev/message/15010 Mute This Topic: https://lists.fd.io/mt/69364719/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-