summaryrefslogtreecommitdiff
path: root/Documentation/infiniband/ipoib.txt
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2013-09-27 17:52:49 (GMT)
committerBen Hutchings <bhutchings@solarflare.com>2013-10-04 22:31:51 (GMT)
commit4bae913bd372aab90fdbd91e7e5fb841a2a0dc15 (patch)
tree182cf2705eb6349cb1fea0cc69dd2cd446b0be64 /Documentation/infiniband/ipoib.txt
parent87648cc925222f16c3bd119af8ae8e8fb2f3fe1d (diff)
downloadlinux-fsl-qoriq-4bae913bd372aab90fdbd91e7e5fb841a2a0dc15.tar.xz
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>
Diffstat (limited to 'Documentation/infiniband/ipoib.txt')
0 files changed, 0 insertions, 0 deletions