]> git.baikalelectronics.ru Git - kernel.git/commit
hyperv: Add support for setting MAC from within guests
authorHaiyang Zhang <haiyangz@microsoft.com>
Tue, 10 Jul 2012 07:19:22 +0000 (07:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jul 2012 05:54:24 +0000 (22:54 -0700)
commit0983ca066da8c6f477e0ec23cff6cd368b074474
tree953c896879802b24e3596a51b403ec03d3677ccd
parent019e12d956a598955cb2f4bba8df9d2d357fd0b3
hyperv: Add support for setting MAC from within guests

This adds support for setting synthetic NIC MAC address from within Linux
guests. Before using this feature, the option "spoofing of MAC address"
should be enabled at the Hyper-V manager / Settings of the synthetic
NIC.

Thanks to Kin Cho <kcho@infoblox.com> for the initial implementation and
tests. And, thanks to Long Li <longli@microsoft.com> for the debugging
works.

Reported-and-tested-by: Kin Cho <kcho@infoblox.com>
Reported-by: Long Li <longli@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc_drv.c
drivers/net/hyperv/rndis_filter.c