linux/drivers/infiniband/hw
Shiraz Saleem 295c95aa7e RDMA/irdma: Drop unused kernel push code
The driver has code blocks for kernel push WQEs but does not
map the doorbell page rendering this mode non functional [1]

Remove code associated with this feature from the kernel fast
path as there is currently no plan of record to support this.

This also address a sparse issue reported by lkp.

drivers/infiniband/hw/irdma/uk.c:285:24: sparse: sparse: incorrect type in assignment (different base types) @@     expected bool [usertype] push_wqe:1 @@     got restricted __le32 [usertype] *push_db @@
drivers/infiniband/hw/irdma/uk.c:285:24: sparse:     expected bool [usertype] push_wqe:1
drivers/infiniband/hw/irdma/uk.c:285:24: sparse:     got restricted __le32 [usertype] *push_db
drivers/infiniband/hw/irdma/uk.c:386:24: sparse: sparse: incorrect type in assignment (different base types) @@     expected bool [usertype] push_wqe:1 @@     got restricted __le32 [usertype] *push_db @@

[1] https://lore.kernel.org/linux-rdma/20230815051809.GB22185@unreal/T/#t

Fixes: 272bba19d6 ("RDMA: Remove unnecessary ternary operators")
Fixes: 551c46edc7 ("RDMA/irdma: Add user/kernel shared libraries")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308110251.BV6BcwUR-lkp@intel.com/
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Link: https://lore.kernel.org/r/20230816001209.1721-1-shiraz.saleem@intel.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2023-08-16 09:24:52 +03:00
..
bnxt_re RDMA/bnxt_re: Add support for dmabuf pinned memory regions 2023-08-15 15:54:08 -03:00
cxgb4 RDMA/cxgb4: Set sq_sig_type correctly 2023-08-13 10:26:11 +03:00
efa RDMA/efa: Add RDMA write HW statistics counters 2023-07-12 15:07:32 +03:00
erdma RDMA/erdma: use vmalloc_array and vcalloc 2023-07-21 15:51:58 -03:00
hfi1 RDMA: Make all 'class' structures const 2023-08-08 13:25:15 +03:00
hns RDMA/hns: Remove unused declaration hns_roce_modify_srq() 2023-08-08 21:35:05 +03:00
irdma RDMA/irdma: Drop unused kernel push code 2023-08-16 09:24:52 +03:00
mana RDMA/mana_ib: Use v2 version of cfg_rx_steer_req to enable RX coalescing 2023-06-01 12:52:01 -03:00
mlx4 RDMA/mlx: Remove unnecessary variable initializations 2023-07-31 10:05:23 +03:00
mlx5 IB/mlx5: Add HW counter called rx_dct_connect 2023-07-31 11:40:32 +03:00
mthca RDMA/mthca: Remove unnecessary NULL assignments 2023-07-31 10:59:06 +03:00
ocrdma RDMA: Remove unnecessary ternary operators 2023-07-31 15:16:12 +03:00
qedr RDMA: Remove unnecessary ternary operators 2023-07-31 15:16:12 +03:00
qib RDMA: Make all 'class' structures const 2023-08-08 13:25:15 +03:00
usnic mm/gup: remove vmas parameter from pin_user_pages() 2023-06-09 16:25:26 -07:00
vmw_pvrdma RDMA/vmw_pvrdma: Remove unnecessary check on wr->opcode 2023-06-09 14:11:53 -03:00
Makefile RDMA/mana_ib: Add a driver for Microsoft Azure Network Adapter 2022-11-11 11:40:09 +02:00