]> 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)
commit1c3511e715221b9af634ed9084652a0851b45737
tree953c896879802b24e3596a51b403ec03d3677ccd
parent6a4e9f9824f20195af6d0c4a81579685f0c48b8c
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