2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/drivers/net/hyperv
Simon Xiao 3f300ff41d hv_netvsc: introduce netif-msg into netvsc module
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@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-04-29 14:45:17 -04:00
..
hyperv_net.h hv_netvsc: introduce netif-msg into netvsc module 2015-04-29 14:45:17 -04:00
Kconfig
Makefile
netvsc_drv.c hv_netvsc: introduce netif-msg into netvsc module 2015-04-29 14:45:17 -04:00
netvsc.c hv_netvsc: introduce netif-msg into netvsc module 2015-04-29 14:45:17 -04:00
rndis_filter.c hv_netvsc: introduce netif-msg into netvsc module 2015-04-29 14:45:17 -04:00