summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/ib_rep.c
diff options
context:
space:
mode:
authorMark Bloch <markb@mellanox.com>2019-03-28 15:27:40 +0200
committerJason Gunthorpe <jgg@mellanox.com>2019-04-10 15:05:39 -0300
commita989ea01cb10a12bcf339ddcbbea9c49e098609f (patch)
treea9a8e54532dc12f620bf9a3fdcba48a47bb25772 /drivers/infiniband/hw/mlx5/ib_rep.c
parent35b0aa67b29867cdeaee32f920da3cb300dbb851 (diff)
downloadlinux-a989ea01cb10a12bcf339ddcbbea9c49e098609f.tar.gz
linux-a989ea01cb10a12bcf339ddcbbea9c49e098609f.tar.bz2
linux-a989ea01cb10a12bcf339ddcbbea9c49e098609f.zip
RDMA/mlx5: Move SMI caps logic
We store the SMI information in the core device's struct, make sure we set that information only once (and not per port), while here make the for loop based on the actual size of the array. Signed-off-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/ib_rep.c')
0 files changed, 0 insertions, 0 deletions