Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 600c8811 authored by Lendacky, Thomas's avatar Lendacky, Thomas Committed by David S. Miller
Browse files

amd-xgbe: Clarify output message about queues



Clarify that the queues referred to in a message when the device is
brought up are hardware queues and not necessarily related to the
Linux network queues.

Signed-off-by: default avatarTom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9ae5eecd
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -2004,7 +2004,8 @@ static void xgbe_config_tx_fifo_size(struct xgbe_prv_data *pdata)
	for (i = 0; i < pdata->tx_q_count; i++)
	for (i = 0; i < pdata->tx_q_count; i++)
		XGMAC_MTL_IOWRITE_BITS(pdata, i, MTL_Q_TQOMR, TQS, fifo_size);
		XGMAC_MTL_IOWRITE_BITS(pdata, i, MTL_Q_TQOMR, TQS, fifo_size);


	netdev_notice(pdata->netdev, "%d Tx queues, %d byte fifo per queue\n",
	netdev_notice(pdata->netdev,
		      "%d Tx hardware queues, %d byte fifo per queue\n",
		      pdata->tx_q_count, ((fifo_size + 1) * 256));
		      pdata->tx_q_count, ((fifo_size + 1) * 256));
}
}


@@ -2019,7 +2020,8 @@ static void xgbe_config_rx_fifo_size(struct xgbe_prv_data *pdata)
	for (i = 0; i < pdata->rx_q_count; i++)
	for (i = 0; i < pdata->rx_q_count; i++)
		XGMAC_MTL_IOWRITE_BITS(pdata, i, MTL_Q_RQOMR, RQS, fifo_size);
		XGMAC_MTL_IOWRITE_BITS(pdata, i, MTL_Q_RQOMR, RQS, fifo_size);


	netdev_notice(pdata->netdev, "%d Rx queues, %d byte fifo per queue\n",
	netdev_notice(pdata->netdev,
		      "%d Rx hardware queues, %d byte fifo per queue\n",
		      pdata->rx_q_count, ((fifo_size + 1) * 256));
		      pdata->rx_q_count, ((fifo_size + 1) * 256));
}
}