aboutsummaryrefslogtreecommitdiff
path: root/include/linux/input-polldev.h
diff options
context:
space:
mode:
authorSathya Perla <[email protected]>2011-08-22 19:41:53 +0000
committerDavid S. Miller <[email protected]>2011-08-24 16:19:29 -0700
commit09c1c68f2239dcd99b76be2c44e84811fba273db (patch)
treebbbede1f08fb5663a39528deabae91a20cef8969 /include/linux/input-polldev.h
parentdb3ea7819d035ff01c8260fce364511adfae0eaa (diff)
be2net: fix erx->rx_drops_no_frags wrap around
The rx_drops_no_frags HW counter for RSS rings is 16bits in HW and can wraparound often. Maintain a 32-bit accumulator in the driver to prevent frequent wraparound. Also, incorporated Eric's feedback to use ACCESS_ONCE() for the accumulator write. Signed-off-by: Sathya Perla <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/input-polldev.h')
0 files changed, 0 insertions, 0 deletions