Re: [PATCH net 2/2] selftests: udpgro: no need to load xdp for gro

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

 



On 8/14/24 09:57, Hangbin Liu wrote:
After commit d7db7775ea2e ("net: veth: do not manipulate GRO when using
XDP"), there is no need to load XDP program to enable GRO. On the other
hand, the current test is failed due to loading the XDP program. e.g.

  # selftests: net: udpgro.sh
  # ipv4
  #  no GRO                                  ok
  #  no GRO chk cmsg                         ok
  #  GRO                                     ./udpgso_bench_rx: recv: bad packet len, got 1472, expected 14720
  #
  # failed

  [...]

  #  bad GRO lookup                          ok
  #  multiple GRO socks                      ./udpgso_bench_rx: recv: bad packet len, got 1452, expected 14520
  #
  # ./udpgso_bench_rx: recv: bad packet len, got 1452, expected 14520
  #
  # failed
  ok 1 selftests: net: udpgro.sh

After fix, all the test passed.

  # ./udpgro.sh
  ipv4
   no GRO                                  ok
   [...]
   multiple GRO socks                      ok

Fixes: d7db7775ea2e ("net: veth: do not manipulate GRO when using XDP")
Reported-by: Yi Chen <yiche@xxxxxxxxxx>
Closes: https://issues.redhat.com/browse/RHEL-53858
Signed-off-by: Hangbin Liu <liuhangbin@xxxxxxxxx>

LGTM,

Acked-by: Paolo Abeni <pabeni@xxxxxxxxxx>





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux