linux/drivers/net/ethernet/sfc
Edward Cree 4bae913bd3 sfc: Refactor EF10 stat mask code to allow for more conditional stats
Previously, efx_ef10_stat_mask returned a static const unsigned long[], which
meant that each possible mask had to be declared statically with
STAT_MASK_BITMAP.  Since adding a condition would double the size of the
decision tree, we now create the bitmask dynamically.

To do this, we have two functions efx_ef10_raw_stat_mask, which returns a u64,
and efx_ef10_get_stat_mask, which fills in an unsigned long * argument.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2013-10-04 23:31:51 +01:00
..
bitfield.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
ef10.c sfc: Refactor EF10 stat mask code to allow for more conditional stats 2013-10-04 23:31:51 +01:00
ef10_regs.h sfc: Add EF10 register and structure definitions 2013-08-29 18:12:16 +01:00
efx.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
efx.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
enum.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
ethtool.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
falcon.c sfc: check for allocation failure 2013-09-04 13:07:47 -04:00
falcon_boards.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
farch.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
farch_regs.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
filter.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
io.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
Kconfig sfc: Minimal support for 40G link speed 2013-09-05 22:32:57 +01:00
Makefile sfc: Add support for Solarflare SFC9100 family 2013-08-29 19:19:29 +01:00
mcdi.c sfc: Increase MCDI status timeout to 250ms 2013-09-20 17:24:35 +01:00
mcdi.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
mcdi_mon.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
mcdi_pcol.h sfc: Allocate NVRAM partition ID range for PHY images 2013-08-29 18:12:17 +01:00
mcdi_port.c sfc: Minimal support for 40G link speed 2013-09-05 22:32:57 +01:00
mdio_10g.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
mdio_10g.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
mtd.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
net_driver.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
nic.c sfc: Fix internal indices of ethtool stats for EF10 2013-10-04 23:31:50 +01:00
nic.h sfc: Reinitialise and re-validate datapath caps after MC reboot 2013-09-11 15:29:53 +01:00
phy.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
ptp.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
qt202x_phy.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
rx.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
selftest.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
selftest.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
siena.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
siena_sriov.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
tenxpress.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
tx.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
txc43128_phy.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
vfdi.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
workarounds.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00