Solved. The error was due to that NIC not having UCTX_EN enabled in the
firmware.
Maybe a less cryptic message/warning would be helpful though? DV was
enabled so I did not thought the problem could be below. A warning when
the user explicitly asks for dv_flow_en=1 but UCTX_EN is not enabled maybe?
Thanks,
Tom
Le 30/11/2019 à 12:19, Tom Barbette a écrit :
Hi all,
I'm struggling to use the group feature with MLX5.
I'm using 19.08.2 for now (while
https://bugs.dpdk.org/show_bug.cgi?id=371 gets fixed).
I use the latest OFED (no inbox driver this time).
I have dv_flow_en=1, but I still get "cannot create jump action.:
Operation not supported". when I want to use the jump action or "cannot
create table: Cannot allocate memory" when trying to add a rule to table
1, all of this with testpmd but my own app does not work better.
sudo ~/dpdk-skylake/x86_64-native-linuxapp-gcc/app/testpmd –l 0-3 -w
0000:17:00.0,dv_flow_en=1 –n 6 -- -i
EAL: Detected 36 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: PCI device 0000:17:00.0 on NUMA socket 0
EAL: probe driver: 15b3:1017 net_mlx5
net_mlx5: can not get IB device "mlx5_0" ports number
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=283456,
size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=283456,
size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Warning! port-topology=paired and odd forward ports number, the last
port will pair with itself.
Configuring Port 0 (socket 0)
Port 0: 50:6B:4B:43:8A:DA
Checking link statuses...
Done
testpmd> flow create 0 group 1 ingress pattern eth / end actions queue
index 0 / end
Caught error type 1 (cause unspecified): cannot create table: Cannot
allocate memory
testpmd> flow validate 0 group 1 ingress pattern eth / end actions queue
index 0 / end
Flow rule validated
testpmd> flow create 0 group 0 ingress pattern eth / end actions jump
group 1 / end
Caught error type 16 (specific action): cannot create jump action.:
Operation not supported
testpmd>
Thanks,
Tom