History

RDMA/mlx5: Add support for flow tag to raw create flow

A user can provide a hint which will be attached to the packet and written to the CQE on receive. This can be used as a way to offload operations into the HW, for example parsing a packet which is a tunneled packet, and if so, pass 0x1 as the hint. The software can use that hint to decapsulate the packet and parse only the inner headers thus saving CPU cycles.

Mark Bloch committed 8 years ago

Commit ba4a4111 parent 645ba592 files · +15 −1Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/rdma/mlx5_user_ioctl_cmds.h+1−0
@@ -157,6 +157,7 @@ enum mlx5_ib_create_flow_attrs { · 156 unmodified lines
157157 MLX5_IB_ATTR_CREATE_FLOW_DEST_DEVX,
158158 MLX5_IB_ATTR_CREATE_FLOW_MATCHER,
159159 MLX5_IB_ATTR_CREATE_FLOW_ARR_FLOW_ACTIONS,
160+ MLX5_IB_ATTR_CREATE_FLOW_TAG,
160161 };
161162
162163 enum mlx5_ib_destoy_flow_attrs {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t