Re: [vpp-dev] Support for VPP compilation in offline mode

2023-01-04 Thread jiangwenwu2014
Hi,
   You can "make install-dep" and "make install-ext-deps"  downloads can save 
to local,
















At 2023-01-04 03:43:53, "Chinmaya Aggarwal"  wrote:

Hi,

Currently as part of VPP compilation, there are commands such as "make 
install-dep" and "make install-ext-deps" which downloads required dependent 
packages from internet. We want to automate the VPP compilation in offline mode 
i.e. our environment will not have internet access and we want to compile VPP 
in such an environment. Since the above mentioned commands by default reach out 
to internet for downloading the required packages, how can we have an offline 
setup for VPP compilation?  

Thanks and Regards,
Chinmaya Agarwal.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22417): https://lists.fd.io/g/vpp-dev/message/22417
Mute This Topic: https://lists.fd.io/mt/96035761/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] srv6 control plane

2023-01-04 Thread Christopher Adigun
Hi,

Please I will like to know if anyone has a way implementing srv6 control
plane just like the way Linux Control plane plugin works.

An example will be syncing srv6 entries that are advertised via BGP
(FRR,gobgp,exabgp etc) to the vpp dataplane.

Thanks

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22416): https://lists.fd.io/g/vpp-dev/message/22416
Mute This Topic: https://lists.fd.io/mt/96065431/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] veth alternative in VPP

2023-01-04 Thread Neale Ranns
I’d suggest a pipe, each end can be in a different VRF. See 
src/scripts/vnet/ipsec for a config example.

/neale

From: vpp-dev@lists.fd.io  on behalf of Benoit Ganne 
(bganne) via lists.fd.io 
Date: Thursday, 5 January 2023 at 00:18
To: vpp-dev@lists.fd.io 
Subject: Re: [vpp-dev] veth alternative in VPP
> Hi, I am looking for veth pair alternative in VPP. I want to pass traffics
> between two VRFs and I want them to be processed as input packets to an
> interface( to use NAT or other ip features), so route leakage is not gonna
> help. Also, since I'm using one instance of VPP with multiple VRFs, using
> memifs are not viable. Are there any methods in VPP to achieve the same
> goal?

You can use loopback or pipe interfaces for this.

Best
ben

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22415): https://lists.fd.io/g/vpp-dev/message/22415
Mute This Topic: https://lists.fd.io/mt/96048462/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] Slow VPP performance vs. DPDK l2fwd / l3wfd

2023-01-04 Thread Matthew Smith via lists.fd.io
Did you see my other suggestion about increasing buffers-per-numa? Your
NICs were missing some RX's because no buffers were available.

Setting the main heap page size to use either 2M or 1G hugepages instead of
using default 4k pages will probably help too.

-Matt


On Tue, Jan 3, 2023 at 1:37 PM  wrote:

> Hi Matt,
>
> thanks. The *no-multi-seq *option is actually dropping the performance
> even more. Once enable it drops from 5 Mpps ( out of expected 10 Mpps) to
> less than < 1 Mpps. Therefore I disabled the option again.
>
> The dpdk applications foward the full 10 Mpps without any dev-args:
>
> ./dpdk-l2fwd -n 4 -l 6  -a :4b:00.0 -a :4b:00.1   -- -q 2 -p 0x3
>
> but also adding those options confirm the full 10 Mpps. Either way *l2fwd*
> will not drop any packets and run the full load.
>
> ./dpdk-l2fwd -n 4 -l 6  -a
> :4b:00.0,mprq_en=1,rxqs_min_mprq=1,mprq_log_stride_num=9,txq_inline_mpw=128,rxq_pkt_pad_en=1,dv_flow_en=0
> -a
> :4b:00.1,mprq_en=1,rxqs_min_mprq=1,mprq_log_stride_num=9,txq_inline_mpw=128,rxq_pkt_pad_en=1,dv_flow_en=0
>  -- -q 2 -p 0x3
>
>
> Contrary by using the default */etc/vpp/startup.conf *options of DPDK I
> only yield 4 Mpps out of 10 Mpps expected.
> Once I added the devargs
> *mprq_en=1,rxqs_min_mprq=1,mprq_log_stride_num=9,txq_inline_mpw=128,rxq_pkt_pad_en=1,dv_flow_en=0
>  *it
> gained another 20% ( as recommended in DPDK mellanox perf-report )
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22414): https://lists.fd.io/g/vpp-dev/message/22414
Mute This Topic: https://lists.fd.io/mt/95959719/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] veth alternative in VPP

2023-01-04 Thread Benoit Ganne (bganne) via lists.fd.io
> Hi, I am looking for veth pair alternative in VPP. I want to pass traffics
> between two VRFs and I want them to be processed as input packets to an
> interface( to use NAT or other ip features), so route leakage is not gonna
> help. Also, since I'm using one instance of VPP with multiple VRFs, using
> memifs are not viable. Are there any methods in VPP to achieve the same
> goal?

You can use loopback or pipe interfaces for this.

Best
ben

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22413): https://lists.fd.io/g/vpp-dev/message/22413
Mute This Topic: https://lists.fd.io/mt/96048462/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] veth alternative in VPP

2023-01-04 Thread Mahdi Varasteh
Hi,
I am looking for veth pair alternative in VPP. I want to pass traffics between 
two VRFs and I want them to be processed as input packets to an interface( to 
use NAT or other ip features), so route leakage is not gonna help. Also, since 
I'm using one instance of VPP with multiple VRFs, using memifs are not viable.
Are there any methods in VPP to achieve the same goal?

Regards.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22412): https://lists.fd.io/g/vpp-dev/message/22412
Mute This Topic: https://lists.fd.io/mt/96048462/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] Support for VPP compilation in offline mode

2023-01-04 Thread Zhang, Fan

Hi Chinmaya,

In VPP's Makefile (vpp/Makefile at master · FDio/vpp · GitHub 
) line 65 to 182 
contains the necessary packages to be installed for compiling vpp 
(depends on your OS). You may  install these packages on your host 
manually before compiling VPP.


Regards,

Fan

On 1/3/2023 7:43 PM, Chinmaya Aggarwal wrote:
Currently as part of VPP compilation, there are commands such as "make 
install-dep" and "make install-ext-deps" which downloads required 
dependent packages from internet. We want to automate the VPP 
compilation in offline mode i.e. our environment will not have 
internet access and we want to compile VPP in such an environment. 
Since the above mentioned commands by default reach out to internet 
for downloading the required packages, how can we have an offline 
setup for VPP compilation? 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22411): https://lists.fd.io/g/vpp-dev/message/22411
Mute This Topic: https://lists.fd.io/mt/96035761/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]
-=-=-=-=-=-=-=-=-=-=-=-