path: root/drivers/infiniband/core/uverbs_ioctl.c
diff options
authorMatan Barak <matanb@mellanox.com>2018-03-28 09:27:41 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-04-04 12:06:23 -0600
commit8c84660bb437fe8692e6a2b4e85023ccb874a520 (patch)
tree05b2ebe02b4326e92c08446fe599c5f8b4f304f9 /drivers/infiniband/core/uverbs_ioctl.c
parentRDMA: Use ib_gid_attr during GID modification (diff)
IB/mlx5: Initialize the parsing tree root without the help of uverbs
In order to have a custom parsing tree, a provider driver needs to assign its parsing tree to ib_device specs_tree field. Otherwise, the uverbs client assigns a common default parsing tree for it. In downstream patches, the mlx5_ib driver gains a custom parsing tree, which contains both the common objects and a new flags field for the UVERBS_FLOW_ACTION_ESP_CREATE command. This patch makes mlx5_ib assign its own tree to specs_root, which later on will be extended. Reviewed-by: Yishai Hadas <yishaih@mellanox.com> 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/core/uverbs_ioctl.c')
0 files changed, 0 insertions, 0 deletions