]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Avoid using the MAD_IFC command under ISSI > 0 mode
authorMajd Dibbiny <majd@mellanox.com>
Thu, 4 Jun 2015 16:30:46 +0000 (19:30 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jun 2015 23:41:02 +0000 (16:41 -0700)
commit986aedcbbcd906b0802ffd1696d0511740d814ed
tree9d8b5812858b545eb325bc1dbaab429630deabf5
parent08358264a13c01cd76d9ec42b64e4bd2814a11fa
IB/mlx5: Avoid using the MAD_IFC command under ISSI > 0 mode

In ISSI > 0 mode, most of the MAD_IFC command features are deprecated, and can't
be used. Therefore, when in that mode, we replace all of them with other commands
that provide the required functionality.

Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/mlx5/mad.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h