Re: [vpp-dev] vpp refuses to use of see/use dpdk interfaces

2022-07-07 Thread Dave Houser
Also, I tried performing `make pkg-deb` but get the following error while its 
building

[41/708] Linking target drivers/librte_common_mlx5.so.22.1

*FAILED: drivers/librte_common_mlx5.so.22.1*

cc  -o drivers/librte_common_mlx5.so.22.1 
drivers/librte_common_mlx5.so.22.1.p/meson-generated_.._rte_common_mlx5.pmd.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_devx_cmds.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_mp.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_mr.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_malloc.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_pci.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_devx.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_utils.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_common_auxiliary.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_common_os.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_common_verbs.c.o 
drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_glue.c.o 
-Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group 
-Wl,-soname,librte_common_mlx5.so.22 -Wl,--no-as-needed -pthread -lm -ldl 
lib/librte_hash.so.22.1 lib/librte_eal.so.22.1 lib/librte_kvargs.so.22.1 
lib/librte_telemetry.so.22.1 lib/librte_net.so.22.1 lib/librte_mbuf.so.22.1 
lib/librte_mempool.so.22.1 lib/librte_ring.so.22.1 lib/librte_rcu.so.22.1 
lib/librte_pci.so.22.1 drivers/librte_bus_pci.so.22.1 
drivers/librte_bus_auxiliary.so.22.1 
-Wl,--version-script=/home/ubuntu/vpp/vpp/build-root/build-vpp-native/external/src-dpdk/drivers/common/mlx5/version.map
 -lpthread -l:libmlx5.a -l:libibverbs.a -lnl-route-3 -lnl-3 -Wl,--end-group 
'-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' 
-Wl,-rpath-link,/home/ubuntu/vpp/vpp/build-root/build-vpp-native/external/build-dpdk/lib
 
-Wl,-rpath-link,/home/ubuntu/vpp/vpp/build-root/build-vpp-native/external/build-dpdk/drivers

/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libmlx5.a(mlx5.c.o): 
relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used 
when making a shared object; recompile with -fPIC

/usr/bin/ld: final link failed: Bad value

collect2: error: ld returned 1 exit status

[138/708] Compiling C object 
drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_empw.c.o

ninja: build stopped: subcommand failed.

Could not rebuild .

packages/dpdk.mk:208: recipe for target 
'/home/ubuntu/vpp/vpp/build-root/build-vpp-native/external/.dpdk.install.ok' 
failed

make[3]: *** 
[/home/ubuntu/vpp/vpp/build-root/build-vpp-native/external/.dpdk.install.ok] 
Error 255

make[3]: Leaving directory '/home/ubuntu/vpp/vpp/build/external'

Makefile:171: recipe for target 'ebuild-install' failed

make[2]: *** [ebuild-install] Error 2

make[2]: Leaving directory '/home/ubuntu/vpp/vpp/build/external'

Makefile:732: recipe for target 'external-install' failed

make[1]: *** [external-install] Error 2

make[1]: Leaving directory '/home/ubuntu/vpp/vpp/build-root'

Makefile:604: recipe for target 'pkg-deb' failed

make: *** [pkg-deb] Error 2

```

I see the linked library is on my host

```

Doing a search in the repo I found the following directories but no file
```
$ find . | grep librte_common_mlx5.so.22
./build-root/build-vpp-native/external/build-dpdk/drivers/librte_common_mlx5.so.22.1.p
./build-root/build-vpp-native/external/build-dpdk/drivers/librte_common_mlx5.so.22.1.p/meson-generated_.._rte_common_mlx5.pmd.c.o
./build-root/build-vpp-native/external/build-dpdk/drivers/librte_common_mlx5.so.22
```

I am not sure how else to fix this, any recommendations?

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

2022-07-07 Thread Dave Houser
On Thu, Jul 7, 2022 at 01:53 PM, Matthew Smith wrote:

> 
> https://s3-docs.fd.io/vpp/22.10/developer/devicedrivers/rdma.html?highlight=rdma
> 

Thanks Matt,

I unbound the interfaces from dpdk and gave back to the kernel, then restart 
vpp.
Working through the instructions, however they don't seem to work, or maybe not 
clear to me.

create int rdma host-if enp94s0f0 name rdma-0
This returns
`create interface: unknown input `rdma host-if enp65s0f6 name rd...'`

I wish there was a way to check commands I can use in vppctl (Like pressing `?` 
or tab-tab to see commands I can use based on the semantics I am using, but I 
don't see way to do this)

Dont think I ever shared the version I am running so I am now:
```
vpp# show vers
vpp v21.10.1-release built by root on 4f6ead0c141f at 2021-11-17T14:25:30
```

Am I using the command wrong?

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

2022-07-07 Thread Matthew Smith via lists.fd.io
Hi Dave,

The mlx5 driver code gets statically linked by the shared library in
vpp-plugin-dpdk, so that's the package that needs to be updated. I'm not
aware of a way to build just that one package, running 'make pkg-deb' will
rebuild all of the VPP deb packages. Once they're built, you might be able
to get by with only updating vpp-plugin-dpdk, but I recommend you update
vpp, libvppinfra, vpp-plugin-core and vpp-plugin-dpdk just to avoid
headaches.

I personally have not tried using the rdma plugin. I have heard other VPP
devs recommend using it though. It's supposed to eliminate some processing
overhead caused by differences between VPP's internal structure of a buffer
and DPDK's, so it's possible that using an rdma interface would be more
efficient than using a DPDK interface. And using the rdma plugin should not
require rebuilding VPP for you to try it. This is the only doc I know of on
using rdma interfaces -
https://s3-docs.fd.io/vpp/22.10/developer/devicedrivers/rdma.html?highlight=rdma
.

-Matt


On Thu, Jul 7, 2022 at 12:31 PM Dave Houser  wrote:

> Hi Matt,
>
> These are Mellanox ConnectX6 Nics.
>
> Looking at the logs more I found these two lines:
>
> ```
>
> $vppctl show logs
>
> 2022/07/07 17:14:19:050 notice dpdk   EAL init args: -c 2 -n 4
> --in-memory --no-telemetry --file-prefix vpp -a :41:00.6 -a
> :41:01.6 --main-lcore 1
>
> 2022/07/07 17:14:19:161 notice dpdk   DPDK drivers found no
> Ethernet devices...
> ```
>
> I just found this post
>  in the mailing list.
> I assume this is my issue. I did not compile from source / configure
> appropriately. (I followed these instructions here
>  for
> how to deploy)
>
> Which specific package would I need to compile from source? (vpp
> vpp-plugin-core vpp-plugin-dpdk)?
> Is there any documentation on how to create a RMDA interface? Would an
> RDMA interface be just as efficient as a DPDK interface?
>
> - Dave
>
> 
>
>

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

2022-07-07 Thread Dave Houser
Hi Matt,

These are Mellanox ConnectX6 Nics.

Looking at the logs more I found these two lines:

```

$vppctl show logs

2022/07/07 17:14:19:050 notice     dpdk           EAL init args: -c 2 -n 4 
--in-memory --no-telemetry --file-prefix vpp -a :41:00.6 -a :41:01.6 
--main-lcore 1

2022/07/07 17:14:19:161 notice     dpdk           DPDK drivers found no 
Ethernet devices...

```

I just found this post ( https://lists.fd.io/g/vpp-dev/topic/87800334#20646 ) 
in the mailing list. I assume this is my issue. I did not compile from source / 
configure appropriately. (I followed these instructions here ( 
https://s3-docs.fd.io/vpp/22.10/gettingstarted/installing/index.html ) for how 
to deploy)

Which specific package would I need to compile from source? ( vpp 
vpp-plugin-core vpp-plugin-dpdk)?
Is there any documentation on how to create a RMDA interface? Would an RDMA 
interface be just as efficient as a DPDK interface?

- Dave

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

2022-07-07 Thread Matthew Smith via lists.fd.io
Hi Dave,

What is the manufacturer & model of the NICs you're trying to use? It's
possible that either VPP's DPDK plugin does not consider them valid or that
the DPDK PMD which is capable of managing them is not built by default.

-Matt


On Thu, Jul 7, 2022 at 11:12 AM Dave Houser  wrote:

> Hello,
>
> I am not able to see my white listed dpdk interfaces in vppctl with `show
> int` or `show hardware`. I did the following to integrate the interfaces.
>
> - I shutdown the interfaces with `ifconfig`
> `ifconfig enp65s0f6 down`
> `ifconfig enp65s1f6 down`
>
> - I unbound them from the kernel with dpdk_devbind.py
> `sudo dpdk-devbind.py -b uio_pci_generic :41:01.6`
> `sudo dpdk-devbind.py -b uio_pci_generic :41:01.6`
>
> - I confirmed the correct interfaces were removed and bound by dpdk
> `ip -br a` (interfaces removed)
> `dpdk-devbind.py --status` (interfaces show up as dpdk bound interfaces)
>
> - I made sure the interfaces were white listed in my startup.conf
> ```
> unix {
>   nodaemon
>   log /var/log/vpp/vpp.log
>   full-coredump
>   cli-listen /run/vpp/cli.sock
> }
>
> api-trace {
>   on
> }
>
> dpdk {
>   dev :41:00.6
>   dev :41:01.6
> }
> ```
>
> - I restarted vpp
> `systemctl restart vpp`
>
> - Watched journalctl -fu output
> ```
> Jul 07 15:56:17 host1 systemd[1]: Stopping vector packet processing
> engine...
> Jul 07 15:56:17 host1 vnet[66266]: unix_signal_handler:190: received
> signal SIGCONT, PC 0x7f5f7e426da0
> Jul 07 15:56:17 host1 vnet[66266]: received SIGTERM, exiting...
> Jul 07 15:56:17 host1 vnet[66266]: unix_signal_handler:190: received
> signal SIGCONT, PC 0x7f5f7e426da0
> Jul 07 15:56:17 host1 systemd[1]: Stopped vector packet processing engine.
> Jul 07 15:56:40 host1 systemd[1]: Starting vector packet processing
> engine...
> Jul 07 15:56:40 host1 systemd[1]: Started vector packet processing engine.
> Jul 07 15:56:40 host1 vnet[71758]: dpdk/cryptodev: dpdk_cryptodev_init:
> Failed to configure cryptodev
> ```
>
> - I accessed vpp
> `vppctl`
>
> Interfaces never show up. I followed everything in the following guides
> and posts:
> - https://lists.fd.io/g/vpp-dev/topic/10642649
> - https://s3-docs.fd.io/vpp/22.02/configuration/reference.html
>
> Here is my apt list
> ```
> $sudo apt list | grep vpp
> libvppinfra/bionic,now 21.10.1-release amd64 [installed,automatic]
> libvppinfra-dev/bionic,now 21.10.1-release amd64 [installed,automatic]
> python3-vpp-api/bionic 21.10.1-release amd64
> vpp/bionic,now 21.10.1-release amd64 [installed]
> vpp-api-java/bionic 19.04-release amd64
> vpp-api-lua/bionic 19.01.3-release amd64
> vpp-api-python/bionic 21.01.1-release amd64
> vpp-dbg/bionic,now 21.10.1-release amd64 [installed]
> vpp-dev/bionic,now 21.10.1-release amd64 [installed]
> vpp-ext-deps/bionic 19.04-16 amd64
> vpp-lib/bionic 19.01.3-release amd64
> vpp-plugin-core/bionic,now 21.10.1-release amd64 [installed]
> vpp-plugin-dpdk/bionic,now 21.10.1-release amd64 [installed]
> vpp-plugins/bionic 19.01.3-release amd64
> ```
>
> What am I missing? Why does vpp refuses to recognize my dpdk interfaces?
> Note: these are SRIOV vf interfaces, but I dont think that matter does it?
>
> - Dave
>
> 
>
>

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

2022-07-07 Thread Dave Houser
Hello,

I am not able to see my white listed dpdk interfaces in vppctl with `show
int` or `show hardware`. I did the following to integrate the interfaces.

- I shutdown the interfaces with `ifconfig`
`ifconfig enp65s0f6 down`
`ifconfig enp65s1f6 down`

- I unbound them from the kernel with dpdk_devbind.py
`sudo dpdk-devbind.py -b uio_pci_generic :41:01.6`
`sudo dpdk-devbind.py -b uio_pci_generic :41:01.6`

- I confirmed the correct interfaces were removed and bound by dpdk
`ip -br a` (interfaces removed)
`dpdk-devbind.py --status` (interfaces show up as dpdk bound interfaces)

- I made sure the interfaces were white listed in my startup.conf
```
unix {
  nodaemon
  log /var/log/vpp/vpp.log
  full-coredump
  cli-listen /run/vpp/cli.sock
}

api-trace {
  on
}

dpdk {
  dev :41:00.6
  dev :41:01.6
}
```

- I restarted vpp
`systemctl restart vpp`

- Watched journalctl -fu output
```
Jul 07 15:56:17 host1 systemd[1]: Stopping vector packet processing
engine...
Jul 07 15:56:17 host1 vnet[66266]: unix_signal_handler:190: received signal
SIGCONT, PC 0x7f5f7e426da0
Jul 07 15:56:17 host1 vnet[66266]: received SIGTERM, exiting...
Jul 07 15:56:17 host1 vnet[66266]: unix_signal_handler:190: received signal
SIGCONT, PC 0x7f5f7e426da0
Jul 07 15:56:17 host1 systemd[1]: Stopped vector packet processing engine.
Jul 07 15:56:40 host1 systemd[1]: Starting vector packet processing
engine...
Jul 07 15:56:40 host1 systemd[1]: Started vector packet processing engine.
Jul 07 15:56:40 host1 vnet[71758]: dpdk/cryptodev: dpdk_cryptodev_init:
Failed to configure cryptodev
```

- I accessed vpp
`vppctl`

Interfaces never show up. I followed everything in the following guides and
posts:
- https://lists.fd.io/g/vpp-dev/topic/10642649
- https://s3-docs.fd.io/vpp/22.02/configuration/reference.html

Here is my apt list
```
$sudo apt list | grep vpp
libvppinfra/bionic,now 21.10.1-release amd64 [installed,automatic]
libvppinfra-dev/bionic,now 21.10.1-release amd64 [installed,automatic]
python3-vpp-api/bionic 21.10.1-release amd64
vpp/bionic,now 21.10.1-release amd64 [installed]
vpp-api-java/bionic 19.04-release amd64
vpp-api-lua/bionic 19.01.3-release amd64
vpp-api-python/bionic 21.01.1-release amd64
vpp-dbg/bionic,now 21.10.1-release amd64 [installed]
vpp-dev/bionic,now 21.10.1-release amd64 [installed]
vpp-ext-deps/bionic 19.04-16 amd64
vpp-lib/bionic 19.01.3-release amd64
vpp-plugin-core/bionic,now 21.10.1-release amd64 [installed]
vpp-plugin-dpdk/bionic,now 21.10.1-release amd64 [installed]
vpp-plugins/bionic 19.01.3-release amd64
```

What am I missing? Why does vpp refuses to recognize my dpdk interfaces?
Note: these are SRIOV vf interfaces, but I dont think that matter does it?

- Dave

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21622): https://lists.fd.io/g/vpp-dev/message/21622
Mute This Topic: https://lists.fd.io/mt/92231790/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] Connecting two VPP instances on different computers

2022-07-07 Thread Krisztián Varga
Dear Support,



I am writing this e-mail because I’m stuck with a problem spending my
internship at a company. The main use-case is, that there are 2 laptops,
connected to each other trough ethernet cable, and there are two seperate
VPP instances running on the laptops. I want to ping from VPP1 to VPP2 and
vica versa, I was trying for like 2 week but I just dont find any specific
information in the documentation related to this problem. It is highly
possible, that the routing is not configured correctly. I have the
following interfaces: the specific ethernet interface on both notebooks, on
the VPP instances i created host-interfaces for them. I put IP from the
10.10.1.0/24 pool on every interface. I also tried creating veth interfaces
as shown in the tutrial and bridging them with the etherenet interfaces,
but that also did not work.

Is it even possible, to handle VPP like that?


I appreciate any comments!


Best regards

Krisztian Varga

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

2022-07-07 Thread Zhang Dongya
Hi list,

It seems there is memory overwrite in our plugin which corrupts the memory,
after fix that, the deadloop vanished.


Zhang Dongya via lists.fd.io 
于2022年7月6日周三 15:52写道:

> Hi list,
>
> Recently I encountered a deadloop in 1 master + 1 worker mode of vpp(also
> happens in 1 master 0 worker mode) when I do some vpp (based on vpp 21.10)
> configuration through govpp.
>
> The thread stats in gdb is:
> (gdb) info threads
>   Id   Target IdFrame
> * 1Thread 0x7f735c3287c0 (LWP 274213) "vpp_main"
>  internal_mallinfo (m=0x7f731c227040) at
> /home/fortitude/glx/vpp/src/vppinfra/dlmalloc.c:2100
>   2Thread 0x7f73127d2700 (LWP 274214) "eal-intr-thread"
> 0x7f735c5f449e in epoll_wait (epfd=16, events=0x7f73127d1d30,
> maxevents=7, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
>   3Thread 0x7f7311fd1700 (LWP 274215) "vpp_wk_0"
>  0x7f735c5d774b in sched_yield () at
> ../sysdeps/unix/syscall-template.S:78
>
> From what I observed, it is the inner loop (segment_holds) become a dead
> loop, and I still
> have not found the reason (see bottom of the mail.)
>
> there is old mail https://lists.fd.io/mt/89947053/675661 in this list
> report the same issue,
> but no answer yet and I can't reply to that thread, so I create this one.
>
> Hope someone can give some clue on this.
>
> static struct dlmallinfo internal_mallinfo(mstate m) {
> struct dlmallinfo nm = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
> ensure_initialization();
> if (!PREACTION(m)) {
> check_malloc_state(m);
> if (is_initialized(m)) {
> size_t nfree = SIZE_T_ONE; /* top always free */
> size_t mfree = m->topsize + TOP_FOOT_SIZE;
> size_t sum = mfree;
> msegmentptr s = >seg;
> while (s != 0) {
> mchunkptr q = align_as_chunk(s->base);
> while (segment_holds(s, q) &&
> q != m->top && q->head != FENCEPOST_HEAD) {
> size_t sz = chunksize(q);
> sum += sz;
> if (!is_inuse(q)) {
> mfree += sz;
> ++nfree;
> }
> q = next_chunk(q);
> }
> s = s->next;
> }
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21620): https://lists.fd.io/g/vpp-dev/message/21620
Mute This Topic: https://lists.fd.io/mt/92202054/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] [presentation] VPP as a OSPF/BGP router - talk at VirtualNOG

2022-07-07 Thread Pim van Pelt
Hoi Denis,

This setup will fundamentally not work. The only packets Linux sees through
the LCP interface pair, are those which are destined to IP addresses on the
router itself, not through the dataplane. While you may be able to
construct a TAP with a bridge on the Linux side and a bridge-domain on the
VPP side, the throughput in this case will be the same, or slightly worse,
than Linux natively.

groet,
Pim

On Thu, Jul 7, 2022 at 7:37 AM Denis Lotarev via lists.fd.io  wrote:

> Hi there!
> I want to know is it improve perfomance if i create two LCP interfaces
> (in/out) and use this with iptables NAT vs using iptables NAT together with
> kernel network stack?
> Thanks!
> 
>
>

-- 
Pim van Pelt 
PBVP1-RIPE - http://www.ipng.nl/

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