* [net-next-2.6 PATCH 1/3] bonding: print information about speed and duplex seen by the driver
@ 2010-09-30 16:18 Krzysztof Piotr Oledzki
2010-10-06 21:28 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Piotr Oledzki @ 2010-09-30 16:18 UTC (permalink / raw)
To: fubar, bonding-devel, netdev
>From d4fb10933bb88f2bf410b0abe42f151c13e3df85 Mon Sep 17 00:00:00 2001
From: Krzysztof Piotr Oledzki <ole@ans.pl>
Date: Thu, 30 Sep 2010 17:05:19 +0200
Subject: bonding: print information about speed and duplex seen by the driver
before:
bonding: bond0: link status definitely up for interface eth5
bonding: bond0: link status definitely up for interface eth0
after:
bonding: bond0: link status definitely up for interface eth5, 100 Mbps full duplex.
bonding: bond0: link status definitely up for interface eth0, 100 Mbps full duplex.
Signed-off-by: Krzysztof Piotr Oledzki <ole@ans.pl>
---
drivers/net/bonding/bond_main.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index fb70c3e..721abc4 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -2368,8 +2368,9 @@ static void bond_miimon_commit(struct bonding *bond)
slave->state = BOND_STATE_BACKUP;
}
- pr_info("%s: link status definitely up for interface %s.\n",
- bond->dev->name, slave->dev->name);
+ pr_info("%s: link status definitely up for interface %s, %d Mbps %s duplex.\n",
+ bond->dev->name, slave->dev->name,
+ slave->speed, slave->duplex ? "full" : "half");
/* notify ad that the link status has changed */
if (bond->params.mode == BOND_MODE_8023AD)
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [net-next-2.6 PATCH 1/3] bonding: print information about speed and duplex seen by the driver
2010-09-30 16:18 [net-next-2.6 PATCH 1/3] bonding: print information about speed and duplex seen by the driver Krzysztof Piotr Oledzki
@ 2010-10-06 21:28 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-10-06 21:28 UTC (permalink / raw)
To: ole; +Cc: fubar, bonding-devel, netdev
From: Krzysztof Piotr Oledzki <ole@ans.pl>
Date: Thu, 30 Sep 2010 18:18:59 +0200
>>From d4fb10933bb88f2bf410b0abe42f151c13e3df85 Mon Sep 17 00:00:00 2001
> From: Krzysztof Piotr Oledzki <ole@ans.pl>
> Date: Thu, 30 Sep 2010 17:05:19 +0200
> Subject: bonding: print information about speed and duplex seen by the driver
>
> before:
> bonding: bond0: link status definitely up for interface eth5
> bonding: bond0: link status definitely up for interface eth0
>
> after:
> bonding: bond0: link status definitely up for interface eth5, 100 Mbps full duplex.
> bonding: bond0: link status definitely up for interface eth0, 100 Mbps full duplex.
>
>
> Signed-off-by: Krzysztof Piotr Oledzki <ole@ans.pl>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-06 21:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-30 16:18 [net-next-2.6 PATCH 1/3] bonding: print information about speed and duplex seen by the driver Krzysztof Piotr Oledzki
2010-10-06 21:28 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox