[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <385c1581-b18d-4476-b1c9-2120ff4e0095@CMEXHTCAS2.ad.emulex.com>
Date: Thu, 23 Apr 2015 08:30:18 +0000
From: Sathya Perla <Sathya.Perla@...lex.Com>
To: Ivan Vecera <ivecera@...hat.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: Subramanian Seetharaman <subbu.seetharaman@...lex.com>,
"Ajit Kumar Khaparde" <Ajit.Khaparde@...lex.Com>
Subject: RE: [PATCH net-next] be2net: log link status
> -----Original Message-----
> From: Ivan Vecera [mailto:ivecera@...hat.com]
>
> The driver unlike other drivers does not log link state changes.
>
> Cc: Sathya Perla <sathya.perla@...lex.com>
> Cc: Subbu Seetharaman <subbu.seetharaman@...lex.com>
> Cc: Ajit Khaparde <ajit.khaparde@...lex.com>
> Signed-off-by: Ivan Vecera <ivecera@...hat.com>
> ---
> drivers/net/ethernet/emulex/benet/be_main.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c
> index fb0bc3c..e349131 100644
> --- a/drivers/net/ethernet/emulex/benet/be_main.c
> +++ b/drivers/net/ethernet/emulex/benet/be_main.c
> @@ -662,6 +662,8 @@ void be_link_status_update(struct be_adapter *adapter, u8 link_status)
> netif_carrier_on(netdev);
> else
> netif_carrier_off(netdev);
> +
> + netdev_info(netdev, "Link is %s\n", link_status ? "Up" : "Down");
> }
>
Acked-by: Sathya Perla <sathya.perla@...lex.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists