Re: [PATCH net-next] bonding: refine bond_fold_stats() wrap detection

2017-03-30 Thread David Miller
From: Eric Dumazet Date: Wed, 29 Mar 2017 10:45:44 -0700 > From: Eric Dumazet > > Some device drivers reset their stats at down/up events, possibly > fooling bonding stats, since they operate with relative deltas. > > It is nearly not possible to fix drivers, since some of them compute the > t

[PATCH net-next] bonding: refine bond_fold_stats() wrap detection

2017-03-29 Thread Eric Dumazet
From: Eric Dumazet Some device drivers reset their stats at down/up events, possibly fooling bonding stats, since they operate with relative deltas. It is nearly not possible to fix drivers, since some of them compute the tx/rx counters based on per rx/tx queue stats, and the queues can be recon