]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Add extended device capability flags
authorMajd Dibbiny <majd@mellanox.com>
Sun, 17 Apr 2016 14:19:34 +0000 (17:19 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 13 May 2016 23:40:27 +0000 (19:40 -0400)
commit3ad64451bd32c3862401a72fe0407b66ec137305
tree0e793fd248056bf1b2038ad63da2b775f03f1136
parent8f674f11a32b5a4563992397cd3e5859fee8768a
IB/core: Add extended device capability flags

Since all the uverbs device_cap_flags are occupied, we need a place to
expose more device capabilities.

This patch adds a new 64 bit device_cap_flags_ex to expose new
device capabilities.

The lower 32 bits will be identical to the original device_cap_flags,
The upper 32 bits will be new capabilities.

Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/uverbs_cmd.c
include/uapi/rdma/ib_user_verbs.h