alistair23-linux/drivers/net/ethernet/sfc
Shradha Shah 7b8c7b54f0 sfc: manually allocate and free vadaptors
To be able to use MC_CMD_VADAPTOR_SET_MAC, vadaptors must be
manually allocated and freed as automatic vadaptors will disappear
when their reference_count reaches zero, which must happen before
the MAC address is changed.

Vadaptors are allocated and freed in the vswitching_probe/remove
functions for PFs and VFs, and this means that vadaptors are restored
correctly following an MC reboot or other reset when required.

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-05-09 16:16:48 -04:00
..
bitfield.h
ef10.c sfc: manually allocate and free vadaptors 2015-05-09 16:16:48 -04:00
ef10_regs.h
ef10_sriov.c sfc: manually allocate and free vadaptors 2015-05-09 16:16:48 -04:00
ef10_sriov.h sfc: manually allocate and free vadaptors 2015-05-09 16:16:48 -04:00
efx.c sfc: Prepare to bind the sfc driver to the VF. 2015-05-09 16:16:47 -04:00
efx.h sfc: Prepare to bind the sfc driver to the VF. 2015-05-09 16:16:47 -04:00
enum.h
ethtool.c
falcon.c sfc: Prepare to bind the sfc driver to the VF. 2015-05-09 16:16:47 -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
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: Record [rt]x_dpcpu_fw_id in EF10 nic_data 2015-05-09 16:16:47 -04:00
mcdi.h
mcdi_mon.c
mcdi_pcol.h
mcdi_port.c
mdio_10g.c
mdio_10g.h
mtd.c
net_driver.h sfc: Prepare to bind the sfc driver to the VF. 2015-05-09 16:16:47 -04:00
nic.c
nic.h sfc: create vports for VFs and assign random MAC addresses 2015-05-09 16:16:48 -04:00
phy.h
ptp.c ptp: sfc: convert to the 64 bit get/set time methods. 2015-03-31 12:01:18 -04:00
qt202x_phy.c
rx.c
selftest.c sfc: Fix memcpy() with const destination compiler warning. 2015-04-17 15:15:40 -04:00
selftest.h
siena.c sfc: Prepare to bind the sfc driver to the VF. 2015-05-09 16:16:47 -04:00
siena_sriov.c sfc: Enable VF's via a write to the sysfs file sriov_numvfs 2015-05-09 16:16:46 -04:00
siena_sriov.h sfc: Enable VF's via a write to the sysfs file sriov_numvfs 2015-05-09 16:16:46 -04:00
sriov.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
sriov.h 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
tenxpress.c
tx.c
txc43128_phy.c
vfdi.h
workarounds.h