diff options
| author | Hadar Hen Zion <hadarh@mellanox.co.il> | 2012-07-05 00:03:45 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2012-07-07 19:23:05 -0400 |
| commit | 8fcfb4db74352d3d447b7a559ad54f7577074d19 (patch) | |
| tree | 3d60738ca8b0323189041305fb03128c839104bf /include/linux | |
| parent | c96d97f4d127b61def87b3ee056bec20cfc265d1 (diff) | |
net/mlx4_core: Add firmware commands to support device managed flow steering
Add support for firmware commands to attach/detach a new device managed
steering mode. Such network steering rules allow the user to provide an
L2/L3/L4 flow specification to the firmware and have the device to steer
traffic that matches that specification to the provided QP.
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mlx4/cmd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mlx4/cmd.h b/include/linux/mlx4/cmd.h index 1f3860a8a109..260695186256 100644 --- a/include/linux/mlx4/cmd.h +++ b/include/linux/mlx4/cmd.h | |||
| @@ -154,6 +154,10 @@ enum { | |||
| 154 | /* set port opcode modifiers */ | 154 | /* set port opcode modifiers */ |
| 155 | MLX4_SET_PORT_PRIO2TC = 0x8, | 155 | MLX4_SET_PORT_PRIO2TC = 0x8, |
| 156 | MLX4_SET_PORT_SCHEDULER = 0x9, | 156 | MLX4_SET_PORT_SCHEDULER = 0x9, |
| 157 | |||
| 158 | /* register/delete flow steering network rules */ | ||
| 159 | MLX4_QP_FLOW_STEERING_ATTACH = 0x65, | ||
| 160 | MLX4_QP_FLOW_STEERING_DETACH = 0x66, | ||
| 157 | }; | 161 | }; |
| 158 | 162 | ||
| 159 | enum { | 163 | enum { |
