IB/uverbs: Enable WQ creation and modification with cvlan offload
Enable user space application via WQ creation and modification to turn on and off cvlan offload. Signed-off-by: Noa Osherovich <noaos@mellanox.com> Reviewed-by: Maor Gottlieb <maorg@mellanox.com> Reviewed-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:

committed by
Doug Ledford

parent
5f23d4265f
commit
af1cb95d2e
@@ -1061,6 +1061,8 @@ struct ib_uverbs_ex_create_wq {
|
||||
__u32 cq_handle;
|
||||
__u32 max_wr;
|
||||
__u32 max_sge;
|
||||
__u32 create_flags; /* Use enum ib_wq_flags */
|
||||
__u32 reserved;
|
||||
};
|
||||
|
||||
struct ib_uverbs_ex_create_wq_resp {
|
||||
@@ -1089,6 +1091,8 @@ struct ib_uverbs_ex_modify_wq {
|
||||
__u32 wq_handle;
|
||||
__u32 wq_state;
|
||||
__u32 curr_wq_state;
|
||||
__u32 flags; /* Use enum ib_wq_flags */
|
||||
__u32 flags_mask; /* Use enum ib_wq_flags */
|
||||
};
|
||||
|
||||
/* Prevent memory allocation rather than max expected size */
|
||||
|
Reference in New Issue
Block a user