]> 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)
commit45d261b38e367f21ee7f6d99d44da0fce9675cd7
tree03df815ea563ab32feb4a8e41c4ec5844cc1c257
parentb28e8f1b6909da408e007649b90ed9b16d198f6f
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