summaryrefslogtreecommitdiffstats
path: root/contrib/ofed/libibverbs/fixes/qpt_raw_eth.patch
blob: 67869f417af2e285d1063f3d0dd7ff332b8b0342 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
libibverbs: add raw ethernet QP type IBV_QPT_RAW_ETH=7

The patch enables usage of L2 raw ethernet QP type for user-space 
applications.

Miroslaw Walukiewicz


Signed-off-by: Mirek Walukiewicz <miroslaw.walukiewicz@intel.com>
---
 include/infiniband/verbs.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/include/infiniband/verbs.h b/include/infiniband/verbs.h
index fe9ab62..a340ffb 100644
--- a/include/infiniband/verbs.h
+++ b/include/infiniband/verbs.h
@@ -397,7 +397,8 @@ enum ibv_qp_type {
 	IBV_QPT_RC = 2,
 	IBV_QPT_UC,
 	IBV_QPT_UD,
-	IBV_QPT_XRC
+	IBV_QPT_XRC,
+	IBV_QPT_RAW_ETH = 8
 };
 
 struct ibv_qp_cap {
OpenPOWER on IntegriCloud