mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
i40e/i40evf: Only track one ITR setting per ring instead of Tx/Rx
The rings are already split out into Tx and Rx rings so it doesn't make sense to have any single ring store both a Tx and Rx itr_setting value. Since that is the case drop the pair in favor of storing just a single ITR value. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
committed by
Jeff Kirsher
parent
11a350c965
commit
40588ca651
@@ -315,9 +315,9 @@ static void i40e_dbg_dump_vsi_seid(struct i40e_pf *pf, int seid)
|
||||
i, rx_ring->vsi,
|
||||
rx_ring->q_vector);
|
||||
dev_info(&pf->pdev->dev,
|
||||
" rx_rings[%i]: rx_itr_setting = %d (%s)\n",
|
||||
i, rx_ring->rx_itr_setting,
|
||||
ITR_IS_DYNAMIC(rx_ring->rx_itr_setting) ? "dynamic" : "fixed");
|
||||
" rx_rings[%i]: itr_setting = %d (%s)\n",
|
||||
i, rx_ring->itr_setting,
|
||||
ITR_IS_DYNAMIC(rx_ring->itr_setting) ? "dynamic" : "fixed");
|
||||
}
|
||||
for (i = 0; i < vsi->num_queue_pairs; i++) {
|
||||
struct i40e_ring *tx_ring = READ_ONCE(vsi->tx_rings[i]);
|
||||
@@ -366,9 +366,9 @@ static void i40e_dbg_dump_vsi_seid(struct i40e_pf *pf, int seid)
|
||||
" tx_rings[%i]: DCB tc = %d\n",
|
||||
i, tx_ring->dcb_tc);
|
||||
dev_info(&pf->pdev->dev,
|
||||
" tx_rings[%i]: tx_itr_setting = %d (%s)\n",
|
||||
i, tx_ring->tx_itr_setting,
|
||||
ITR_IS_DYNAMIC(tx_ring->tx_itr_setting) ? "dynamic" : "fixed");
|
||||
" tx_rings[%i]: itr_setting = %d (%s)\n",
|
||||
i, tx_ring->itr_setting,
|
||||
ITR_IS_DYNAMIC(tx_ring->itr_setting) ? "dynamic" : "fixed");
|
||||
}
|
||||
rcu_read_unlock();
|
||||
dev_info(&pf->pdev->dev,
|
||||
|
||||
Reference in New Issue
Block a user