> I have used the latest master which includes the patch.
Ok thanks. To confirm this is an issue with the zero-copy mode, can you try to
create the af_xdp interface in copy mode by adding the 'no-zero-copy' keyword
in the create command, eg.
~# vppctl create int af_xdp host-if no-zero-copy
If
Hi, Ben
I have used the latest master which includes the patch.
commit 1a06e53341224bb08cff2fb6d218415c50f947d3
Author: BenoƮt Ganne
Date: Wed May 19 16:41:03 2021 +0200
af_xdp: use desc offset on rx
Instead of pre-programming the data offset on rx, use offset passed in
the desc
Hi Xuekun,
Can you try with the latest master which now contains
https://gerrit.fd.io/r/c/vpp/+/32384 if you did not already tried it?
I suspect that could be an offset issue and this change should be more robust
for those.
Best
ben
> -Original Message-
> From: Hu, Xuekun
> Sent: mard
Hi, Ben.
I figured out the problem in my setup that on the ixgbe driver.
1. ixgbe 5.1.0 (which don't have XDP enabled yet) + VPP master (that have your
below patch) : work
2. ixgbe 5.8.1 (which have XDP enabled) + VPP master : doesn't work
Strange. Have any ideas?
Thanks.
Thx, Xuekun
-
Hi Xuekun,
> Thanks for reply. However my kernel is 5.7.19, and I checked that only the
> first patch was included.
> So, any more thoughts?
Can you try https://gerrit.fd.io/r/c/vpp/+/32384 and see if it fixes you issue?
Best
ben
> -Original Message-
> From: Benoit Ganne (bganne)
> Se
Hi, Ben
Thanks for reply. However my kernel is 5.7.19, and I checked that only the
first patch was included.
So, any more thoughts?
Thx, Xuekun
-Original Message-
From: Benoit Ganne (bganne)
Sent: Monday, May 17, 2021 4:26 PM
To: Hu, Xuekun ; vpp-dev@lists.fd.io
Subject: RE: AF_XDP
Hi Xuekun,
I suspect you are using a Linux kernel >= 5.9. There was an ABI change between
5.8 and 5.9, the issue is discussed here:
https://lore.kernel.org/bpf/byapr11mb365382c5db1e5fcc53242609c1...@byapr11mb3653.namprd11.prod.outlook.com/
I'd recommend using a Linux kernel between 5.6 and 5.9 f