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

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