diff options
author | Matan Barak | 2018-03-28 09:27:44 +0300 |
---|---|---|
committer | Jason Gunthorpe | 2018-04-04 12:06:24 -0600 |
commit | 766d8551ada05326f0cafc5fc0bd32a666cebeed (patch) | |
tree | 34173f611ad7a8c9660ccfad3c87e6a07d1bdadd /include/uapi | |
parent | 8510020d2916b9f7d8e406aa2fb2d35fbe692f4d (diff) |
IB/uverbs: Refactor kern_spec_to_ib_spec_filter
The current implementation of kern_spec_to_ib_spec_filter, which takes
a uAPI based flow steering specification and creates the respective kernel
API flow steering structure, gets a ib_uverbs_flow_spec structure.
The new flow_action uAPI gets a match mask and filter from user-space
which aren't encoded in the flow steering's ib_uverbs_flow_spec structure.
Exporting the logic out of kern_spec_to_ib_spec_filter to get user-space
blobs rather than ib_uverbs_flow_spec structure.
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 'include/uapi')
0 files changed, 0 insertions, 0 deletions