ibdump: Protocol not supported


I’m trying to run ibdump on a ConnectX-3, but the tool fails with following error message:

ibdump -i 2

Initiating resources …

searching for IB devices in host

Port active_mtu=4096

MR was registered with addr=0x559b60496900, lkey=0x40010100, rkey=0x40010100, flags=0x1

Device : “mlx4_0”

Physical port : 2

Link layer : Infiniband

Dump file : sniffer.pcap

Sniffer WQEs (max burst size) : 4096

-E- Failed to set sniffer mode. ibv_create_flow failed: Protocol not supported

This problem might be because Flow Steering is not enabled, to enable it:

  1. Add the following to /etc/modprobe.d/mlnx.conf file:

options mlx4_core log_num_mgm_entry_size=-1

  1. Restart the drivers.

I have the right value in mlx4_core options:

cat /sys/module/mlx4_core/parameters/log_num_mgm_entry_size


Further relevant information:

ofed_info | head -n 1

MLNX_OFED_LINUX-4.6- (OFED-4.6-1.0.1):


hca_id: mlx4_0

transport: InfiniBand (0)

fw_ver: 2.42.5000

node_guid: f452:1403:0010:a4a0

sys_image_guid: f452:1403:0010:a4a3

vendor_id: 0x02c9

vendor_part_id: 4099

hw_ver: 0x1

board_id: MT_1090120019

phys_port_cnt: 2

port: 1

state: PORT_DOWN (1)

max_mtu: 4096 (5)

active_mtu: 4096 (5)

sm_lid: 0

port_lid: 0

port_lmc: 0x00

link_layer: InfiniBand

port: 2

state: PORT_ACTIVE (4)

max_mtu: 4096 (5)

active_mtu: 4096 (5)

sm_lid: 1

port_lid: 3

port_lmc: 0x00

link_layer: InfiniBand

uname -a

Linux ib1 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19) x86_64 GNU/Linux

Could you help me to debug this issue?


what is the output ‘dmesg|egrep mlx’?

Are you using SR-IOV (lspci -d 15b3:)? If yes, disable and re-run ibdump