Skip to content

Commit 600c881

Browse files
tlendackydavem330
authored andcommitted
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: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 9ae5eec commit 600c881

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

drivers/net/ethernet/amd/xgbe/xgbe-dev.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2004,7 +2004,8 @@ static void xgbe_config_tx_fifo_size(struct xgbe_prv_data *pdata)
20042004
for (i = 0; i < pdata->tx_q_count; i++)
20052005
XGMAC_MTL_IOWRITE_BITS(pdata, i, MTL_Q_TQOMR, TQS, fifo_size);
20062006

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

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

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

0 commit comments

Comments
 (0)