Star64_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
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
efx.c
efx.h
enum.h
ethtool.c
falcon.c
falcon_boards.c
farch.c
farch_regs.h
filter.h
io.h
Kconfig
Makefile
mcdi.c
mcdi.h
mcdi_mon.c
mcdi_pcol.h
mcdi_port.c
mdio_10g.c
mdio_10g.h
mtd.c
net_driver.h
nic.c
nic.h
phy.h
ptp.c
qt202x_phy.c
rx.c
selftest.c
selftest.h
siena.c
siena_sriov.c
tenxpress.c
tx.c
txc43128_phy.c
vfdi.h
workarounds.h