[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150429.144539.270258012829964745.davem@davemloft.net>
Date: Wed, 29 Apr 2015 14:45:39 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: sixiao@...rosoft.com
Cc: kys@...rosoft.com, haiyangz@...rosoft.com,
devel@...uxdriverproject.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next,v3,1/1] hv_netvsc: introduce netif-msg into
netvsc module
From: sixiao@...rosoft.com
Date: Tue, 28 Apr 2015 01:05:17 -0700
> From: Simon Xiao <sixiao@...rosoft.com>
>
> 1. Introduce netif-msg to netvsc to control debug logging output
> and keep msg_enable in netvsc_device_context so that it is
> kept persistently.
> 2. Only call dump_rndis_message() when NETIF_MSG_RX_ERR or above
> is specified in netvsc module debug param.
> In non-debug mode, in current code, dump_rndis_message() will not
> dump anything but it still initialize some local variables and
> process the switch logic which is unnecessary, especially in
> high network throughput situation.
>
> Signed-off-by: Simon Xiao <sixiao@...rosoft.com>
> Reviewed-by: K. Y. Srinivasan <kys@...rosoft.com>
> Reviewed-by: Haiyang Zhang <haiyangz@...rosoft.com>
Applied.
--
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