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)
commit0134f16bc91cc15a38c867b81568b791c9b626aa
tree3307473ccef02d89066aca1130a05a32204b6099
parentfedaf4ffc224a194e2d13a3ec2abe5df0bc94258
IB/core: Add reserved values to enums for low-level driver use

Continue the approach taken by commit d2b57063e4a ("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