diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/core/verbs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/infiniband/core/verbs.c b/drivers/infiniband/core/verbs.c index c69334dc8012..cae0845f472a 100644 --- a/drivers/infiniband/core/verbs.c +++ b/drivers/infiniband/core/verbs.c | |||
@@ -366,10 +366,12 @@ static const struct { | |||
366 | .opt_param = { | 366 | .opt_param = { |
367 | [IB_QPT_UD] = (IB_QP_CUR_STATE | | 367 | [IB_QPT_UD] = (IB_QP_CUR_STATE | |
368 | IB_QP_QKEY), | 368 | IB_QP_QKEY), |
369 | [IB_QPT_UC] = (IB_QP_ACCESS_FLAGS | | 369 | [IB_QPT_UC] = (IB_QP_CUR_STATE | |
370 | IB_QP_ACCESS_FLAGS | | ||
370 | IB_QP_ALT_PATH | | 371 | IB_QP_ALT_PATH | |
371 | IB_QP_PATH_MIG_STATE), | 372 | IB_QP_PATH_MIG_STATE), |
372 | [IB_QPT_RC] = (IB_QP_ACCESS_FLAGS | | 373 | [IB_QPT_RC] = (IB_QP_CUR_STATE | |
374 | IB_QP_ACCESS_FLAGS | | ||
373 | IB_QP_ALT_PATH | | 375 | IB_QP_ALT_PATH | |
374 | IB_QP_PATH_MIG_STATE | | 376 | IB_QP_PATH_MIG_STATE | |
375 | IB_QP_MIN_RNR_TIMER), | 377 | IB_QP_MIN_RNR_TIMER), |
@@ -419,7 +421,6 @@ static const struct { | |||
419 | [IB_QPT_UD] = (IB_QP_PKEY_INDEX | | 421 | [IB_QPT_UD] = (IB_QP_PKEY_INDEX | |
420 | IB_QP_QKEY), | 422 | IB_QP_QKEY), |
421 | [IB_QPT_UC] = (IB_QP_AV | | 423 | [IB_QPT_UC] = (IB_QP_AV | |
422 | IB_QP_CUR_STATE | | ||
423 | IB_QP_ALT_PATH | | 424 | IB_QP_ALT_PATH | |
424 | IB_QP_ACCESS_FLAGS | | 425 | IB_QP_ACCESS_FLAGS | |
425 | IB_QP_PKEY_INDEX | | 426 | IB_QP_PKEY_INDEX | |
@@ -431,7 +432,6 @@ static const struct { | |||
431 | IB_QP_RNR_RETRY | | 432 | IB_QP_RNR_RETRY | |
432 | IB_QP_MAX_QP_RD_ATOMIC | | 433 | IB_QP_MAX_QP_RD_ATOMIC | |
433 | IB_QP_MAX_DEST_RD_ATOMIC | | 434 | IB_QP_MAX_DEST_RD_ATOMIC | |
434 | IB_QP_CUR_STATE | | ||
435 | IB_QP_ALT_PATH | | 435 | IB_QP_ALT_PATH | |
436 | IB_QP_ACCESS_FLAGS | | 436 | IB_QP_ACCESS_FLAGS | |
437 | IB_QP_PKEY_INDEX | | 437 | IB_QP_PKEY_INDEX | |