qed: Add vport WFQ configuration APIs
authorManish Chopra <manish.chopra@qlogic.com>
Tue, 26 Apr 2016 14:56:08 +0000 (10:56 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Apr 2016 17:56:25 +0000 (13:56 -0400)
commitbcd197c81f63afa4610e481ed353d1507ba401d0
tree198ce9ebbd8d9f9253b351ec2eeafb0f9b916805
parent101e63b454ccd48120e4b39ae12ff2faec790acf
qed: Add vport WFQ configuration APIs

This patch adds relevant APIs needed to configure WFQ
(Weighted fair queueing) values for the vports. WFQ configuration
is used per vport basis when minimum bandwidth update/configuration
is notified to the PF by the management firmware.

Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed.h
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_hsi.h
drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c
drivers/net/ethernet/qlogic/qed/qed_reg_addr.h