Searched hist:"0 f9c5a61d4b2330b12c59126aa5a9108dbfce555" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/net/mac80211/ |
H A D | sta_info.h | diff 0f9c5a61d4b2330b12c59126aa5a9108dbfce555 Thu Mar 31 12:02:09 CDT 2016 Johannes Berg <johannes.berg@intel.com> mac80211: fix RX u64 stats consistency on 32-bit platforms
On 32-bit platforms, the 64-bit counters we keep need to be protected to be consistently read. Use the u64_stats_sync mechanism to do that.
In order to not end up with overly long lines, refactor the tidstats assignments a bit.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
H A D | sta_info.c | diff 0f9c5a61d4b2330b12c59126aa5a9108dbfce555 Thu Mar 31 12:02:09 CDT 2016 Johannes Berg <johannes.berg@intel.com> mac80211: fix RX u64 stats consistency on 32-bit platforms
On 32-bit platforms, the 64-bit counters we keep need to be protected to be consistently read. Use the u64_stats_sync mechanism to do that.
In order to not end up with overly long lines, refactor the tidstats assignments a bit.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
H A D | rx.c | diff 0f9c5a61d4b2330b12c59126aa5a9108dbfce555 Thu Mar 31 12:02:09 CDT 2016 Johannes Berg <johannes.berg@intel.com> mac80211: fix RX u64 stats consistency on 32-bit platforms
On 32-bit platforms, the 64-bit counters we keep need to be protected to be consistently read. Use the u64_stats_sync mechanism to do that.
In order to not end up with overly long lines, refactor the tidstats assignments a bit.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|