diff options
| author | Matan Barak <[email protected]> | 2018-03-28 09:27:44 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-04-04 12:06:24 -0600 |
| commit | 766d8551ada05326f0cafc5fc0bd32a666cebeed (patch) | |
| tree | 34173f611ad7a8c9660ccfad3c87e6a07d1bdadd /drivers/net/xen-netback/interface.c | |
| 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 <[email protected]>
Signed-off-by: Matan Barak <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions