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)
commit862f894cb98c50d037d0c62da2aab3b9a2428c34
tree03df815ea563ab32feb4a8e41c4ec5844cc1c257
parentaf6a074d125558e420453c0068f9bdf13f42cadf
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