diff options
author | Matan Barak <matanb@mellanox.com> | 2017-08-03 16:07:04 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-31 15:35:13 +0300 |
commit | d70724f149b107f8e4062320270d3d8b6713a1bb (patch) | |
tree | 8424166e2e28c3f99666db14f7afd20e290b1fa1 /Kbuild | |
parent | 64b19e1323e96c34af7ca90d1954e70890c7a98e (diff) | |
download | linux-d70724f149b107f8e4062320270d3d8b6713a1bb.tar.xz |
IB/core: Add legacy driver's user-data
In this phase, we don't want to change all the drivers to use
flexible driver's specific attributes. Therefore, we add two default
attributes: UHW_IN and UHW_OUT. These attributes are optional in some
methods and they encode the driver specific command data. We add
a function that extract this data and creates the legacy udata over
it.
Driver's data should start from UVERBS_UDATA_DRIVER_DATA_FLAG. This
turns on the first bit of the namespace, indicating this attribute
belongs to the driver's namespace.
Signed-off-by: Matan Barak <matanb@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions