Open mpodles opened 2 months ago
@mpodles, I assume you work within ARM OS, and not x86 host, is that correct?
If so, please add the outputs for the following: cat /etc/mlnx-release sudo flint -d 03:00.0 q ip a sudo ovs-vsctl show sudo ibdev2netdev -v sudo mlxconfig -d 03:00.0 -e q
Dear @iftahl
Thanks for support but we've manged to debug the issue, which was using PF instead of SF on the Bluefield ARM SoC. I've assumed that XLIO being userspace stack could leverage the p1 (PF) in the same way that DPDK can, without OvS being in the way but it appears that software netdev representor and OvS is required.
Thanks for getting back to me and I believe this can be closed.
Subject
Dear Team,
I'm trying to benchmark NVMe-oF over TCP/IP with and without XLIO. I'm able to get iperf and spdk_perf working between machines but when XLIO is used, no traffic is coming out of the initiator. It's not visible in either tcpdump, ethtool stats, switch that's in-between the machines or the target machine.
An example packet, that the spdk_perf tries to send is ARP:
After this, it successfully gets completion in:
I've checked the device It's using for the ARP and it looks correct - p1 (it's the name of physical function interface on Bluefield). Thanks in advance for any help.
Cheers
Issue type
Configuration:
Product version XLIO_VERSION: 3.21.2-0 Development Snapshot built on Mar 22 2024 12:01:27 -- DEBUG --
Git: d4767597a6478f5fddb6bc21dbb39455447cb627
OS Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal
OFED
MLNX_OFED_LINUX-5.8-3.0.5.0 (OFED-5.8-3.0.5)
Hardware Bluefield-2 MBF2M516A-CEEO_Ax_Bx (2x100Gbs)
Actual behavior:
No traffic coming out of the network interface even though WQ is posted and CQ is received.
Expected behavior:
SPDK perf or iperf are able to connect and send traffic
Steps to reproduce:
sudo LD_PRELOAD=/opt/mellanox/libxlio/lib/libxlio.so iperf -t 30 -c 20.20.20.4 -m -P 1 -i 1 -M 1500 or sudo SPDK_XLIO_PATH=/opt/mellanox/libxlio/lib/libxlio.so XLIO_TRACELEVEL=DEBUG ~/spdk-23.01/build/examples/perf -q 64 -o $((2**12)) -w randread -r 'trtype:nvda_tcp adrfam:IPv4 traddr:20.20.20.4 trsvcid:4420' -t 300 -c 0x01 --transport-stats -G --default-sock-impl xlio