diff options
author | Amir Vadai <amirv@mellanox.com> | 2012-04-04 21:33:25 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-05 05:08:03 -0400 |
commit | e5395e92a470769d67369c002a41e59619f5214b (patch) | |
tree | 2fd6a4d09c6e4514856f8e4762fe8ed301b8c9b5 /include/linux/mlx4/cmd.h | |
parent | 0e98b523c4a4119cbd17e58dff385cc329064694 (diff) | |
download | op-kernel-dev-e5395e92a470769d67369c002a41e59619f5214b.zip op-kernel-dev-e5395e92a470769d67369c002a41e59619f5214b.tar.gz |
net/mlx4_core: set port QoS attributes
Adding QoS firmware commands:
- mlx4_en_SET_PORT_PRIO2TC - set UP <=> TC
- mlx4_en_SET_PORT_SCHEDULER - set promised BW, max BW and PG number
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx4/cmd.h')
-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 9958ff2..1f3860a 100644 --- a/include/linux/mlx4/cmd.h +++ b/include/linux/mlx4/cmd.h @@ -150,6 +150,10 @@ enum { /* statistics commands */ MLX4_CMD_QUERY_IF_STAT = 0X54, MLX4_CMD_SET_IF_STAT = 0X55, + + /* set port opcode modifiers */ + MLX4_SET_PORT_PRIO2TC = 0x8, + MLX4_SET_PORT_SCHEDULER = 0x9, }; enum { |