alistair23-linux/drivers/net/ethernet/sfc
Daniel Pieczko 7a186f4703 sfc: add legacy method for changing a PF's MAC address
Some versions of MCFW do not support the MC_CMD_VADAPTOR_SET_MAC
command, and ENOSYS will be returned.

If the PF created its own vport, the function's datapath must be
stopped and the vport can be reconfigured to reflect the new MAC
address.

If the MCFW created the vport for the PF (which is the case when
the nic_data->vport_mac is blank), nothing further needs to be
done as the vport is not under the control of the PF.

This only applies to PFs because the MCFW in question does not
support VFs.

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-07-08 16:07:33 -07:00
..
bitfield.h
ef10.c sfc: add legacy method for changing a PF's MAC address 2015-07-08 16:07:33 -07:00
ef10_regs.h
ef10_sriov.c sfc: add legacy method for changing a PF's MAC address 2015-07-08 16:07:33 -07:00
ef10_sriov.h sfc: add legacy method for changing a PF's MAC address 2015-07-08 16:07:33 -07:00
efx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2015-06-24 16:49:49 -07:00
efx.h sfc: add ndo_set_vf_mac() function for EF10 2015-05-21 18:43:54 -04:00
enum.h sfc: Change entity reset on MC reboot to a new datapath-only reset. 2015-05-21 18:43:54 -04:00
ethtool.c sfc: protect filter table against use-after-free 2015-05-21 18:43:53 -04:00
falcon.c sfc: Bind the sfc driver to any available VF's 2015-05-09 16:16:48 -04:00
falcon_boards.c
farch.c sfc: Own header for nic-specific sriov functions, single instance of netdev_ops and sriov removed from Falcon code 2015-05-09 16:16:46 -04:00
farch_regs.h
filter.h
io.h
Kconfig sfc: add sysfs entry to control MCDI tracing 2015-05-27 13:54:51 -04:00
Makefile sfc: Enable VF's via a write to the sysfs file sriov_numvfs 2015-05-09 16:16:46 -04:00
mcdi.c sfc: add module parameter to enable MCDI logging on new functions 2015-05-27 13:54:51 -04:00
mcdi.h sfc: add sysfs entry to control MCDI tracing 2015-05-27 13:54:51 -04:00
mcdi_mon.c
mcdi_pcol.h sfc: suppress vadaptor stats when EVB is not present 2015-06-02 12:57:29 -07:00
mcdi_port.c sfc: suppress ENOENT error messages from MC_CMD_MAC_STATS 2015-06-02 12:57:29 -07:00
mdio_10g.c
mdio_10g.h
mtd.c
net_driver.h sfc: Implement ndo_gets_phys_port_id() for EF10 VFs 2015-06-02 12:57:26 -07:00
nic.c
nic.h sfc: display vadaptor statistics for all interfaces 2015-06-02 12:57:28 -07:00
phy.h
ptp.c sfc: Initialise MCDI buffers to 0 on declaration. 2015-05-21 18:43:53 -04:00
qt202x_phy.c
rx.c sfc: free multiple Rx buffers when required 2015-05-31 17:36:20 -07:00
selftest.c sfc: Fix memcpy() with const destination compiler warning. 2015-04-17 15:15:40 -04:00
selftest.h
siena.c sfc: set the MAC address using MC_CMD_VADAPTOR_SET_MAC 2015-05-21 18:43:55 -04:00
siena_sriov.c sfc: save old MAC address in case sriov_mac_address_changed fails 2015-05-21 18:43:53 -04:00
siena_sriov.h sfc: save old MAC address in case sriov_mac_address_changed fails 2015-05-21 18:43:53 -04:00
sriov.c sfc: Implement ndo_gets_phys_port_id() for EF10 VFs 2015-06-02 12:57:26 -07:00
sriov.h sfc: Implement ndo_gets_phys_port_id() for EF10 VFs 2015-06-02 12:57:26 -07:00
tenxpress.c
tx.c
txc43128_phy.c
vfdi.h
workarounds.h