diff options
author | Mintz, Yuval <Yuval.Mintz@cavium.com> | 2017-05-09 15:07:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-09 18:24:22 +0300 |
commit | c9f0523bb3d1e70fbfd3245842de855096194925 (patch) | |
tree | d30b59803a5843000253e3f38d4655f1c6544f05 /drivers | |
parent | 5f027d7a48aee110e5f66ef5f9e2d90d214cd06b (diff) | |
download | linux-c9f0523bb3d1e70fbfd3245842de855096194925.tar.xz |
qed: Tell QM the number of tasks
Driver doesn't pass the number of tasks to the QM init logic
which would cause back-pressure in scenarios requiring many tasks
[E.g., using max MRs] and thus reduced performance.
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed_cxt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_cxt.c b/drivers/net/ethernet/qlogic/qed/qed_cxt.c index b3aaa985956e..694845793af2 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_cxt.c +++ b/drivers/net/ethernet/qlogic/qed/qed_cxt.c @@ -1460,6 +1460,7 @@ void qed_qm_init_pf(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) params.is_first_pf = p_hwfn->first_on_engine; params.num_pf_cids = iids.cids; params.num_vf_cids = iids.vf_cids; + params.num_tids = iids.tids; params.start_pq = qm_info->start_pq; params.num_pf_pqs = qm_info->num_pqs - qm_info->num_vf_pqs; params.num_vf_pqs = qm_info->num_vf_pqs; |