net/mlx4: New file for QoS related firmware commands
authorIdo Shamay <idos@mellanox.com>
Thu, 2 Apr 2015 13:31:10 +0000 (16:31 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2015 20:25:02 +0000 (16:25 -0400)
commit12a889c057504fbf307dd237aedb87263ef2848a
treeaa3f413fa9da99a37d70d69d1e568d8350ac504e
parent4abccb61578694372dc9b245afd41f55b5f1e546
net/mlx4: New file for QoS related firmware commands

Create two new files fw_qos.h and fw_qos.c in mlx4_core module.

It gathers all relevant QoS firmware related commands etc, thus improving
encapsulation of the mlx4_core module. For now it contains the QoS existing
commands: mlx4_SET_PORT_SCHEDULER and mlx4_SET_PORT_PRIO2TC.

Signed-off-by: Ido Shamay <idos@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/Makefile
drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c
drivers/net/ethernet/mellanox/mlx4/fw_qos.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx4/fw_qos.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx4/mlx4.h
drivers/net/ethernet/mellanox/mlx4/port.c
include/linux/mlx4/device.h