twx-linux/include/linux/mlx5
Maor Gottlieb 7852546f52 RDMA/mlx5: Fix query RoCE port
mlx5_is_roce_enabled returns the devlink RoCE init value, therefore it
should be used only when driver is loaded. Instead we just need to read
the roce_en field.

In addition, rename mlx5_is_roce_enabled to mlx5_is_roce_init_enabled.

Fixes: 7a58779edd75 ("IB/mlx5: Improve query port for representor port")
Link: https://lore.kernel.org/r/20210304124517.1100608-2-leon@kernel.org
Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-03-11 20:12:39 -04:00
..
accel.h
cq.h
device.h Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2021-02-16 14:53:30 -08:00
doorbell.h
driver.h RDMA/mlx5: Fix query RoCE port 2021-03-11 20:12:39 -04:00
eq.h
eswitch.h net/mlx5e: Match recirculated packet miss in slow table using reg_c1 2021-02-05 20:53:37 -08:00
fs_helpers.h
fs.h net/mlx5: Treat host PF vport as other (non eswitch manager) vport 2020-11-26 18:45:03 -08:00
mlx5_ifc_fpga.h
mlx5_ifc_vdpa.h vdpa/mlx5: Make hardware definitions visible to all mlx5 devices 2020-12-04 14:46:56 +02:00
mlx5_ifc.h RDMA 5.12 merge window pull request 2021-02-22 10:27:48 -08:00
port.h
qp.h net/mlx5e: IPsec: Add TX steering rule per IPsec state 2020-10-12 15:37:45 -07:00
rsc_dump.h
transobj.h
vport.h