aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net/cpsw.txt
diff options
context:
space:
mode:
authorAndy Gospodarek <gospo@cumulusnetworks.com>2014-09-28 22:34:37 -0400
committerDavid S. Miller <davem@davemloft.net>2014-09-30 01:20:07 -0400
commit5f0c5f73e5efaee2928c4cabcf48b03f6ba99fc8 (patch)
tree692fa18ddfe4fea8c3a9a43210dcfdb44300f95c /Documentation/devicetree/bindings/net/cpsw.txt
parentnet: sched: enable per cpu qstats (diff)
downloadlinux-dev-5f0c5f73e5efaee2928c4cabcf48b03f6ba99fc8.tar.xz
linux-dev-5f0c5f73e5efaee2928c4cabcf48b03f6ba99fc8.zip
bonding: make global bonding stats more reliable
As the code stands today, bonding stats are based simply on the stats from the member interfaces. If a member was to be removed from a bond, the stats would instantly drop. This would be confusing to an admin would would suddonly see interface stats drop while traffic is still flowing. In addition to preventing the stats drops mentioned above, new members will now be added to the bond and only traffic received after the member was added to the bond will be counted as part of bonding stats. Bonding counters will also be updated when any slaves are dropped to make sure the reported stats are reliable. v2: Changes suggested by Nik to properly allocate/free stats memory. v3: Properly destroy workqueue and fix netlink configuration path. v4: Moved cached stats into bonding and slave structs as there does not seem to be a complexity/performance benefit to using alloc'd memory vs in-struct memory. Signed-off-by: Andy Gospodarek <gospo@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net/cpsw.txt')
0 files changed, 0 insertions, 0 deletions