aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qed/qed_hsi.h
diff options
context:
space:
mode:
authorManish Chopra <manish.chopra@qlogic.com>2016-04-26 10:56:08 -0400
committerDavid S. Miller <davem@davemloft.net>2016-04-26 13:56:25 -0400
commitbcd197c81f63afa4610e481ed353d1507ba401d0 (patch)
tree198ce9ebbd8d9f9253b351ec2eeafb0f9b916805 /drivers/net/ethernet/qlogic/qed/qed_hsi.h
parentMerge branch 'cxgb4-next' (diff)
downloadlinux-dev-bcd197c81f63afa4610e481ed353d1507ba401d0.tar.xz
linux-dev-bcd197c81f63afa4610e481ed353d1507ba401d0.zip
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>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_hsi.h')
-rw-r--r--drivers/net/ethernet/qlogic/qed/qed_hsi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_hsi.h b/drivers/net/ethernet/qlogic/qed/qed_hsi.h
index 15e02ab9be5a..7d5ed0c17da7 100644
--- a/drivers/net/ethernet/qlogic/qed/qed_hsi.h
+++ b/drivers/net/ethernet/qlogic/qed/qed_hsi.h
@@ -5116,4 +5116,6 @@ struct hw_set_image {
struct hw_set_info hw_sets[1];
};
+int qed_init_vport_wfq(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt,
+ u16 first_tx_pq_id[NUM_OF_TCS], u16 vport_wfq);
#endif