[dpdk-users] DPDK KNI with LACP

Paras Jha dreadiscool at gmail.com
Mon Jun 25 22:44:23 CEST 2018


Hello all,

I'm running a Debian 9 system with 4x10G courtesy of  X710 card.

I have a small test running where traffic from the NIC is forwarded onto
KNI, and vice versa. This works without an issue.

However, if I try to set up a bond using these interfaces using the Linux
kernel itself (not the bonding PMD that DPDK provides) then on the router
side, the interface is marked as LACP-BLOCKED. Does anyone have any idea as
to why this may be happening?

Running tcpdump on the KNI shows that the LACP packets are indeed being
forwarded into the kernel, but I can't see any response from the kernel.
The same bond configuration works fine without DPDK's KNI.

Here's a hexdump snippet of the traffic that I'm seeing come through.

01 80 C2 00 00 02 00 0C DB FA D7 91 88 09 01 01 01 14 00 01 00 0C DB FA D7
00 00 64 00 01 00 92 4F 00 00 00 02 14 00 01 00 00 00 00 00 00 00 91 00 01
00 00 78 00 00 00 03 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

I'm aware that the LACP driver that exists within DPDK itself can be
utilized, but at this point I'm more curious as to what could be causing
this behavior, and if there are any gotchas that I am inadvertently missing

Many thanks in advance!


More information about the users mailing list