Re: [PATCH v3 net-next] net: systemport: Support 64bit statistics

2017-07-27 Thread kiki good
How about the changes below then ? of course, we need to remove bcm_sysport_free_cb(cb) from bcm_sysport_tx_reclaim_one() as well. u64_stats_update_begin(>syncp); ring->bytes += len; if (cb->skb) { ring->packets++; +bcm_sysport_free_cb(cb);

Re: [PATCH v3 net-next] net: systemport: Support 64bit statistics

2017-07-26 Thread Florian Fainelli
On 07/26/2017 05:40 PM, Jianming.qiao wrote: > When using Broadcom Systemport device in 32bit Platform, ifconfig can > only report up to 4G tx,rx status, which will be wrapped to 0 when the > number of incoming or outgoing packets exceeds 4G, only taking > around 2 hours in busy network