net/mlx4_core: set port QoS attributes
authorAmir Vadai <amirv@mellanox.com>
Wed, 4 Apr 2012 21:33:25 +0000 (21:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Apr 2012 09:08:03 +0000 (05:08 -0400)
commite5395e92a470769d67369c002a41e59619f5214b
tree2fd6a4d09c6e4514856f8e4762fe8ed301b8c9b5
parent0e98b523c4a4119cbd17e58dff385cc329064694
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>
drivers/net/ethernet/mellanox/mlx4/en_port.h
drivers/net/ethernet/mellanox/mlx4/mlx4.h
drivers/net/ethernet/mellanox/mlx4/port.c
include/linux/mlx4/cmd.h
include/linux/mlx4/device.h