staging: octeon-ethernet: add queue information to carrier note
Add queue information to carrier note. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3c33914558
commit
36a1457241
@ -120,10 +120,10 @@ static void cvm_oct_note_carrier(struct octeon_ethernet *priv,
|
|||||||
cvmx_helper_link_info_t li)
|
cvmx_helper_link_info_t li)
|
||||||
{
|
{
|
||||||
if (li.s.link_up) {
|
if (li.s.link_up) {
|
||||||
pr_notice_ratelimited("%s: %u Mbps %s duplex, port %d\n",
|
pr_notice_ratelimited("%s: %u Mbps %s duplex, port %d, queue %d\n",
|
||||||
netdev_name(priv->netdev), li.s.speed,
|
netdev_name(priv->netdev), li.s.speed,
|
||||||
(li.s.full_duplex) ? "Full" : "Half",
|
(li.s.full_duplex) ? "Full" : "Half",
|
||||||
priv->port);
|
priv->port, priv->queue);
|
||||||
} else {
|
} else {
|
||||||
pr_notice_ratelimited("%s: Link down\n",
|
pr_notice_ratelimited("%s: Link down\n",
|
||||||
netdev_name(priv->netdev));
|
netdev_name(priv->netdev));
|
||||||
|
Loading…
Reference in New Issue
Block a user