Linux-RDMA Archive on
 help / color / Atom feed
* ibv_devinfo -ve max_mcast_qp_attach value with MLX4 driver - known issue?
@ 2020-07-31 23:14 sharath.srinivasan
  0 siblings, 0 replies; only message in thread
From: sharath.srinivasan @ 2020-07-31 23:14 UTC (permalink / raw)
  To: linux-rdma, ayal, tariqt


I have a CX3/IB card (MLX4 driver) assigned to a Xen VM and notice the 
following with/without the below patch applied. Is this a known issue 
and are there any fixes available for it? I couldn't find any references 
to it and thought I should check with the list/author. I do not see this 
issue with baremetal or KVM, but only on a Xen VM. Thanks.

1. ibv_devinfo with patch a40ded604365 applied (all other HCA attribs 
are OK):/
# ibv_devinfo -v | grep max_mcast_qp_attach/
/max_mcast_qp_attach: -8

2. ibv_devinfo without patch a40ded604365 applied:/
///# ibv_devinfo -v | grep max_mcast_qp_attach/
/max_mcast_qp_attach: 248
/ /


commit a40ded6043658444ee4dd6ee374119e4e98b33fc
Author: Aya Levin <>
Date:   Tue Jan 22 15:19:44 2019 +0200

     net/mlx4_core: Add masking for a few queries on HCA caps

     Driver reads the query HCA capabilities without the corresponding 
     Without the correct masks, the base addresses of the queues are
     unaligned.  In addition some reserved bits were wrongly read.  
Using the
     correct masks, ensures alignment of the base addresses and allows 
     firmware versions safe use of the reserved bits.

     Fixes: ab9c17a009ee ("mlx4_core: Modify driver initialization flow 
to accommodate SRIOV for Ethernet")
     Fixes: 0ff1fb654bec ("{NET, IB}/mlx4: Add device managed flow 
steering firmware API")
     Signed-off-by: Aya Levin <>
     Signed-off-by: Tariq Toukan <>
     Signed-off-by: David S. Miller <>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-31 23:14 ibv_devinfo -ve max_mcast_qp_attach value with MLX4 driver - known issue? sharath.srinivasan

Linux-RDMA Archive on

Archives are clonable:
	git clone --mirror linux-rdma/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-rdma linux-rdma/ \
	public-inbox-index linux-rdma

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone