]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/ofed/libibverbs/fixes/qpt_raw_eth.patch
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / ofed / libibverbs / fixes / qpt_raw_eth.patch
1 libibverbs: add raw ethernet QP type IBV_QPT_RAW_ETH=7
2
3 The patch enables usage of L2 raw ethernet QP type for user-space 
4 applications.
5
6 Miroslaw Walukiewicz
7
8
9 Signed-off-by: Mirek Walukiewicz <miroslaw.walukiewicz@intel.com>
10 ---
11  include/infiniband/verbs.h |    3 ++-
12  1 files changed, 2 insertions(+), 1 deletions(-)
13
14
15 diff --git a/include/infiniband/verbs.h b/include/infiniband/verbs.h
16 index fe9ab62..a340ffb 100644
17 --- a/include/infiniband/verbs.h
18 +++ b/include/infiniband/verbs.h
19 @@ -397,7 +397,8 @@ enum ibv_qp_type {
20         IBV_QPT_RC = 2,
21         IBV_QPT_UC,
22         IBV_QPT_UD,
23 -       IBV_QPT_XRC
24 +       IBV_QPT_XRC,
25 +       IBV_QPT_RAW_ETH = 8
26  };
27  
28  struct ibv_qp_cap {