linux/include/uapi/rdma
Bryan Tan 9f206f7398 RDMA/vmw_pvrdma: Fix network_hdr_type reported in WC
The PVRDMA device HW interface defines network_hdr_type according to an
old definition of the internal kernel rdma_network_type enum that has
since changed, resulting in the wrong rdma_network_type being reported.

Fix this by explicitly defining the enum used by the PVRDMA device and
adding a function to convert the pvrdma_network_type to rdma_network_type
enum.

Cc: stable@vger.kernel.org # 5.10+
Fixes: 1c15b4f2a4 ("RDMA/core: Modify enum ib_gid_type and enum rdma_network_type")
Link: https://lore.kernel.org/r/1611026189-17943-1-git-send-email-bryantan@vmware.com
Reviewed-by: Adit Ranadive <aditr@vmware.com>
Signed-off-by: Bryan Tan <bryantan@vmware.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-01-19 20:17:27 -04:00
..
hfi
bnxt_re-abi.h
cxgb4-abi.h
efa-abi.h RDMA/efa: Introduce SRD RNR retry 2020-08-18 14:52:45 -03:00
hns-abi.h RDMA/hns: Move capability flags of QP and CQ to hns-abi.h 2020-12-07 15:48:51 -04:00
i40iw-abi.h
ib_user_ioctl_cmds.h RDMA/uverbs: Expose the new GID query API to user space 2020-10-01 21:20:11 -03:00
ib_user_ioctl_verbs.h RDMA/uverbs: Expose the new GID query API to user space 2020-10-01 21:20:11 -03:00
ib_user_mad.h
ib_user_sa.h
ib_user_verbs.h RDMA: Check attr_mask during modify_qp 2020-10-26 19:27:58 -03:00
mlx4-abi.h
mlx5_user_ioctl_cmds.h net/mlx5: Add misc4 to mlx5_ifc_fte_match_param_bits 2020-11-26 18:43:47 -08:00
mlx5_user_ioctl_verbs.h
mlx5-abi.h RDMA/mlx5: Return ECE data after modify QP 2020-05-27 16:07:49 -03:00
mthca-abi.h
ocrdma-abi.h
qedr-abi.h RDMA/qedr: Add EDPM max size to alloc ucontext response 2020-07-16 16:01:55 -03:00
rdma_netlink.h RDMA/counter: Add PID category support in auto mode 2020-07-10 16:50:53 -03:00
rdma_user_cm.h
rdma_user_ioctl_cmds.h
rdma_user_ioctl.h RDMA: rdma_user_ioctl.h: fix a duplicated word + clarify 2020-07-20 16:42:08 -03:00
rdma_user_rxe.h RDMA/rxe: Use acquire/release for memory ordering 2020-12-11 19:57:48 -04:00
rvt-abi.h
siw-abi.h
vmw_pvrdma-abi.h RDMA/vmw_pvrdma: Fix network_hdr_type reported in WC 2021-01-19 20:17:27 -04:00