using RDMA raw ethernet with SRQ

Dear support team,

I tried to use SRQ (shared receive queue) with RDMA raw ethernet, while initial test shows failed using the linux tool, such as example in https://community.mellanox.com/s/article/raw-ethernet-lat as following, remove --use-srq works as expected.

My question is does my connectX-5 card support SRQ + raw ethernet?


$ raw_ethernet_lat -d mlx5_0 -B xxxx -E yyy --client --use-srq

Min msg size for RawEth is 64B - changing msg size to 64

---------------------------------------------------------------------------------------

Send Latency Test

Dual-port : OFF Device : mlx5_0

Number of qps : 1 Transport type : IB

Connection type : RawEth Using SRQ : ON

TX depth : 1

RX depth : 512

Mtu : 1518[B]

Link type : Ethernet

GID index : 0

Max inline data : 236[B]

rdma_cm QPs : OFF

Data ex. method : Ethernet

---------------------------------------------------------------------------------------

MAC attached : xxx

error: Invalid argument

Couldn't attach QP

update: I also test enable SRQ at server side, doesn’t have luck.


$ raw_ethernet_lat -d mlx5_0 -B yyy -E xxx --server --use-srq

Min msg size for RawEth is 64B - changing msg size to 64

---------------------------------------------------------------------------------------

Send Latency Test

Dual-port : OFF Device : mlx5_0

Number of qps : 1 Transport type : IB

Connection type : RawEth Using SRQ : ON

TX depth : 1

RX depth : 512

Mtu : 1518[B]

Link type : Ethernet

GID index : 0

Max inline data : 236[B]

rdma_cm QPs : OFF

Data ex. method : Ethernet

---------------------------------------------------------------------------------------

MAC attached : 98:03:9B:77:DF:9E

error: Invalid argument

Couldn't attach QP

Hi,

Please note the below flag is not supported with this combination.

Thanks,

Samer