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.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -157,6 +157,7 @@ enum mlx5_ib_create_flow_attrs { · 156 unmodified lines | |||
| 157 | MLX5_IB_ATTR_CREATE_FLOW_DEST_DEVX, | 157 | MLX5_IB_ATTR_CREATE_FLOW_DEST_DEVX, |
| 158 | MLX5_IB_ATTR_CREATE_FLOW_MATCHER, | 158 | MLX5_IB_ATTR_CREATE_FLOW_MATCHER, |
| 159 | MLX5_IB_ATTR_CREATE_FLOW_ARR_FLOW_ACTIONS, | 159 | MLX5_IB_ATTR_CREATE_FLOW_ARR_FLOW_ACTIONS, |
| 160 | MLX5_IB_ATTR_CREATE_FLOW_TAG, | ||
| 160 | }; | 161 | }; |
| 161 | 162 | ||
| 162 | enum mlx5_ib_destoy_flow_attrs { | 163 | enum mlx5_ib_destoy_flow_attrs { |