History

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma

Pull rdma fixes from Jason Gunthorpe: "Several recent regressions and some bug fixes: - Typo corrupting the max_recv_sge for cxgb4 - Regression from re-using kernel enums as a HW AbI in vmw_pvrdma - Sleeping inside a spinlock in hns - Revert the attempt to fix devlink deadlocks as the fix is more buggy - Typo in sysfs_emit_at conversions - Revert the removal of VLAN support in rxe" * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: Revert "RDMA/rxe: Remove VLAN code leftovers from RXE" RDMA/usnic: Fix misuse of sysfs_emit_at Revert "RDMA/mlx5: Fix devlink deadlock on net namespace deletion" RDMA/hns: Use mutex instead of spinlock for ida allocation RDMA/vmw_pvrdma: Fix network_hdr_type reported in WC RDMA/cxgb4: Fix the reported max_recv_sge value

Linus Torvalds committed 5 years ago

Commit b0dfa642 parents 25221c9 f1b0a8e12 files · +51 −34Browse files

Showing the changes to include/uapi (1 of 12 files). Show all

Unified · Split

include/uapi/rdma/vmw_pvrdma-abi.h+7−0
@@ -133,6 +133,13 @@ enum pvrdma_wc_flags { · 132 unmodified lines
133133 PVRDMA_WC_FLAGS_MAX = PVRDMA_WC_WITH_NETWORK_HDR_TYPE,
134134 };
135135
136+enum pvrdma_network_type {
137+ PVRDMA_NETWORK_IB,
138+ PVRDMA_NETWORK_ROCE_V1 = PVRDMA_NETWORK_IB,
139+ PVRDMA_NETWORK_IPV4,
140+ PVRDMA_NETWORK_IPV6
141+};
142+
136143 struct pvrdma_alloc_ucontext_resp {
137144 __u32 qp_tab_size;
138145 __u32 reserved;