diff options
author | Matan Barak <matanb@mellanox.com> | 2018-03-19 15:02:39 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-03-19 14:45:17 -0600 |
commit | 3d64addd435997a445d201fcbbde2fa753709971 (patch) | |
tree | 8aebc94ded3ec642008f02474d8521a426305ef9 /drivers/infiniband/Kconfig | |
parent | 41b2a71fc848e200e023b7ccd502c3b96714248d (diff) | |
download | linux-3d64addd435997a445d201fcbbde2fa753709971.tar.bz2 |
IB/uverbs: Add macros to simplify adding driver specific attributes
Previously, adding driver specific attributes required drivers to
declare all the hierarchy - object tree, object, methods and the
attributes themselves. A common use case is adding a few attributes to
an existing common method.
In order to simplify the driver's code, we add some macros to do all
these declarations automatically.
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/Kconfig')
0 files changed, 0 insertions, 0 deletions