RDMA/core: Unify style of IOCTL commands
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 4 Sep 2016 11:30:35 +0000 (14:30 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 10 Jan 2017 17:43:53 +0000 (12:43 -0500)
commitfa83b7936e9799d9cd96a26fbcba22d2baa7ae11
tree2ab6cf114f3b303fda8c2d55b8e8f456a4a7df58
parent10b31e792e5862ad9e232d7aa2c65e7b7e46bc39
RDMA/core: Unify style of IOCTL commands

MAD and HFI1 have different naming convention, this patch
simplifies and unifies their defines and names.

As part of cleanup, the HFI1 _NUM() macro and command indexes
were removed (controversial). This will cause intentional (and
arguably unnecessary) breakage to the PSM user space library.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/uapi/rdma/rdma_user_ioctl.h