diff options
author | Steve Wise <swise@opengridcomputing.com> | 2018-05-03 17:40:49 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-05-03 21:51:27 +0200 |
commit | 25a0ad85156a7b697d4340560fff0d25a3b19243 (patch) | |
tree | 61f328527830210d9e8291fea03305bba14c84c2 /include/uapi/rdma/rdma_netlink.h | |
parent | RDMA/qedr: fix spelling mistake: "failes" -> "fails" (diff) | |
download | linux-25a0ad85156a7b697d4340560fff0d25a3b19243.tar.xz linux-25a0ad85156a7b697d4340560fff0d25a3b19243.zip |
RDMA/nldev: Add explicit pad attribute
Add a specific RDMA_NLDEV_ATTR_PAD attribute to be used for 64b
attribute padding. To preserve the ABI, make this attribute equal to
RDMA_NLDEV_ATTR_UNSPEC, which has a value of 0, because that has been
used up until now as the pad attribute.
Change all the previous use of 0 as the pad with this
new enum.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi/rdma/rdma_netlink.h')
-rw-r--r-- | include/uapi/rdma/rdma_netlink.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h index 0ce0943fc808..fbf99aa8a03c 100644 --- a/include/uapi/rdma/rdma_netlink.h +++ b/include/uapi/rdma/rdma_netlink.h @@ -253,6 +253,9 @@ enum rdma_nldev_attr { /* don't change the order or add anything between, this is ABI! */ RDMA_NLDEV_ATTR_UNSPEC, + /* Pad attribute for 64b alignment */ + RDMA_NLDEV_ATTR_PAD = RDMA_NLDEV_ATTR_UNSPEC, + /* Identifier for ib_device */ RDMA_NLDEV_ATTR_DEV_INDEX, /* u32 */ |