Re: xdp_bonding/xdp_bonding_redirect_multi is failing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alexei,

On Fri, Apr 14, 2023 at 3:26 AM Alexei Starovoitov
<alexei.starovoitov@xxxxxxxxx> wrote:
>
> is failing with:
> test_xdp_bonding_redirect_multi:FAIL:expected packets on veth1_2
> unexpected expected packets on veth1_2: actual 1 < expected 100

I bisected this down to:
fccca038f3 veth: take into account device reconfiguration for xdp_features flag.

This seems to break XDP redirection from a veth device to another veth device.
Since bonding just delegates the XDP loading to the slave devices the
failure should
also be reproducible with just a pair of veth devices:

 pkt -> veth1_1  <|> veth1_2 (xdp_redirect_map_multi_prog redirects)
                  |              /
     <- veth2_1  <|> veth2_2   <-

It seems like this is the same failure as with the xdp_do_redirect test:
https://lore.kernel.org/bpf/ea5cda51-e8f0-2bcd-abfa-b6bf4b11d354@xxxxxxxxx/

Lorenzo: if you fix the xdp_do_redirect test, could you also check
that xdp_bonding passes?

Cheers,
Jussi




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux