Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-147374

[xdp-tools][xsk-drop] After running xsk-drop with zero-copy and poll option failed to spawn xdp-bench with xsk-drop with any option.

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.8
    • xdp-tools
    • None
    • No
    • Important
    • rhel-net-core
    • 5
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

      What were you trying to do that didn't work?

      Trying to run multiple tests while automating  xdp-tools new feature xsk-drop/xsk-tx.

      What is the impact of this issue to you?

      Blocking automation of xsk-drop/xsk-tx .

      Please provide the package NVR for which the bug is seen:

      Kernel=5.14.0-673.el9.x86_64
      Package Mode used for testing
      bpftool-7.5.0-804.el9.x86_64
      iproute-6.17.0-2.el9.x86_64
      xdp-tools-1.6.0-1.el9.x86_64
      libbpf-1.5.0-3.el9.x86_64
      libxdp-1.6.0-1.el9.x86_64

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. Run xdp-bench test in native mode with xsk-drop ,zero-copy and poll option

      **

      xdp-bench xsk-drop ens4f0np0 -q 23 --attach-mode native -C zero-copy --poll

      2. After running this test xdp-bench is not getting spawn with any other options.

      [root@netqe50 ~]# xdp-bench xsk-drop ens4f0np0 -q 23 --attach-mode native  -vvv
      Current rlimit 8388608 already >= minimum 1048576

      Seems like the process is hanged and could not be terminated by pkill -f

      [root@netqe50 ~]# ps -ef | grep xdp
      root      467247       1 99 Feb05 ?        14:59:00 xdp-bench xsk-drop ens4f0np0 -q 23 --attach-mode native -C zero-copy --poll
      root     1625377 1625206  0 00:52 pts/0    00:00:00 grep --color=auto xdp
      
      [root@netqe50 ~]# pkill -f xdp-bench
      [root@netqe50 ~]# ps -ef | grep xdp
      root      467247       1 99 Feb05 ?        15:06:12 xdp-bench xsk-drop ens4f0np0 -q 23 --attach-mode native -C zero-copy --poll
      root     1625383 1625206  0 00:59 pts/0    00:00:00 grep --color=auto xdp
      
      
      [root@netqe50 ~]# date
      Fri Feb  6 01:02:41 AM EST 2026

       

      [root@netqe50 ~]# ps -p 467247 -o pid,stat,wchan:30,comm
          PID STAT WCHAN                          COMMAND
       467247 Sl   futex_do_wait                  xdp-bench
      [root@netqe50 ~]# grep -r . /proc/467247/task/*/stack
      /proc/467247/task/467247/stack:[<0>] futex_do_wait+0x37/0x70
      /proc/467247/task/467247/stack:[<0>] __futex_wait+0x90/0x100
      /proc/467247/task/467247/stack:[<0>] futex_wait+0x66/0x100
      /proc/467247/task/467247/stack:[<0>] do_futex+0x138/0x1d0
      /proc/467247/task/467247/stack:[<0>] __x64_sys_futex+0x73/0x1d0
      /proc/467247/task/467247/stack:[<0>] do_syscall_64+0x5f/0xe0
      /proc/467247/task/467247/stack:[<0>] entry_SYSCALL_64_after_hwframe+0x76/0x7e
      [root@netqe50 ~]#   

      Expected results:

      xsk-drop/tx should run with zero-copy poll option 

      Actual results:

      After running xsk-drop with zero-copy and poll option failed to spawn xdp-bench with xsk-drop with any option. 

              tohojo Toke Høiland-Jørgensen
              rh-ee-pmukherj Prasenjit Mukherjee
              nst-kernel-bugs nst-kernel-bugs
              Prasenjit Mukherjee Prasenjit Mukherjee
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: