]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Add reserved values to enums for low-level driver use
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Sun, 7 Jul 2013 14:25:52 +0000 (17:25 +0300)
committerRoland Dreier <roland@purestorage.com>
Mon, 8 Jul 2013 02:21:21 +0000 (19:21 -0700)
commit7a8524cdd3bd073600837b581a5c1052f8a93697
tree3307473ccef02d89066aca1130a05a32204b6099
parent49893123657af27845db136dcf0c31f0fef6b130
IB/core: Add reserved values to enums for low-level driver use

Continue the approach taken by commit 7d3f1c6e0c3 ("IB/core: Reserve
bits in enum ib_qp_create_flags for low-level driver use") and add
reserved entries to the ib_qp_type and ib_wr_opcode enums.  Low-level
drivers can then define macros to use these reserved values, giving
proper names to the macros for readability.  Also add a range of
reserved flags to enum ib_send_flags.

The mlx5 IB driver uses the new additions.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <roland@purestorage.com>
include/rdma/ib_verbs.h