freebsd-dev/sys/dev/mlx5/mlx5_ib
Hans Petter Selasky 9b6e45d459 Fix broken MLX5_IB_INDEX() macro in mlx5ib(4).
The index should be computed as distance from arg[0] and not
the beginning of struct mlx5_ib_congestion .

While at it fix a use of zero length array to avoid depending
on undefined compiler behaviour.

MFC after:	1 week
Sponsored by:	Mellanox Technologies
2020-02-21 10:14:02 +00:00
..
mlx5_ib_ah.c Optimize ibcore RoCE address handle creation from user-space. 2018-03-05 14:34:52 +00:00
mlx5_ib_cong.c Fix broken MLX5_IB_INDEX() macro in mlx5ib(4). 2020-02-21 10:14:02 +00:00
mlx5_ib_cq.c Make sure to error out when arming the CQ fails in mlx4ib and mlx5ib. 2019-05-08 10:33:09 +00:00
mlx5_ib_doorbell.c Update mlx5ib(4) to match Linux 4.9 and the new ibcore APIs. 2017-11-10 15:02:17 +00:00
mlx5_ib_gsi.c Update mlx5ib(4) to match Linux 4.9 and the new ibcore APIs. 2017-11-10 15:02:17 +00:00
mlx5_ib_mad.c Update mlx5ib(4) to match Linux 4.9 and the new ibcore APIs. 2017-11-10 15:02:17 +00:00
mlx5_ib_main.c Bump driver version for mlx5core, mlx5en(4) and mlx5ib(4). 2019-10-02 11:15:35 +00:00
mlx5_ib_mem.c Update mlx5ib(4) to match Linux 4.9 and the new ibcore APIs. 2017-11-10 15:02:17 +00:00
mlx5_ib_mr.c Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
mlx5_ib_qp.c Fix reported max SGE calculation in mlx5ib. 2019-10-02 09:09:28 +00:00
mlx5_ib_srq.c mlx5ib: Fix null pointer dereference in mlx5_ib_create_srq 2018-12-05 13:48:10 +00:00
mlx5_ib_virt.c Update mlx5ib(4) to match Linux 4.9 and the new ibcore APIs. 2017-11-10 15:02:17 +00:00
mlx5_ib.h Fix broken MLX5_IB_INDEX() macro in mlx5ib(4). 2020-02-21 10:14:02 +00:00