Crash in mlx5e_dealloc_rx_wqe [mlx5_core]
Kal Cutter Conley <[email protected]> Mon, 6 Mar 2023 16:19:29 +0100
| Newsgroups | org.kernel.vger.xdp-newbies |
|---|---|
| Message-ID | <CAHApi-kp-jsQxu7XEAxEodhjb_oCJgpVEbbia2wMD0qdZ9bK6A@mail.gmail.com> |
Hi XDP developers, I am getting an intermittent kernel crash using XDP with Mellanox hardware. I can reproduce this on two different machines by running the `xdpsock` example. Setup: (0) I am using kernel version 6.1.14 and NICs "MT27700 Family [ConnectX-4]" and NIC "MT2892 Family [ConnectX-6 Dx]" (both crash). (1) ethtool -N <INTERFACE> flow-type udp4 src-ip <SOURCE_IP> action 0 (2) Generate traffic on <INTERFACE> from an external machine. I am using `trafgen` to send jumbo packets (payload size 3401 bytes). How to crash it: (1) Run `xdpsock` from the bpf-examples repo (it may not trigger the first time, try killing xdpsock and restarting it multiple times). ./xdpsock -i <INTERFACE> <CTRL-C> ./xdpsock -i <INTERFACE> --frame-size=2048 <CTRL-C> ... Sometimes it crashes when killing `xdpsock` (I think), sometimes it crashes immediately on start (e.g. with --frame-size=2048). I have a screenshot of the error message. Please email me directly and I will send it to you. Thanks, Kal