]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: MC_CMD_SET_MAC can only be called by the link control Function
authorShradha Shah <sshah@solarflare.com>
Wed, 20 May 2015 10:08:56 +0000 (11:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 May 2015 22:43:52 +0000 (18:43 -0400)
commitcbd34c43ba09d2f8cb5129f04d8ed109d00062f0
tree03df815ea563ab32feb4a8e41c4ec5844cc1c257
parent601bc018f459149f03ec43dd2b18704c6783125a
sfc: MC_CMD_SET_MAC can only be called by the link control Function

MC_CMD_SET_MAC is privileged and can only by called by the link
control function.

This patch adds efx_ef10_mac_reconfigure_vf which avoids the call
to MC_CMD_SET_MAC by the Virtual function

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c