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)
commit1b5daf11b015123108686a9060ee6de705a03e76
tree9d8b5812858b545eb325bc1dbaab429630deabf5
parenta124d13ef59e09941fc0924fd7c29ae6d7cd77a3
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