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

2017-08-18 Thread Florian Fainelli
On 08/06/2017 09:21 PM, David Miller wrote: > From: "Jianming.qiao" > Date: Fri, 4 Aug 2017 00:07:45 +0100 > >> 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

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

2017-08-06 Thread David Miller
From: "Jianming.qiao" Date: Fri, 4 Aug 2017 00:07:45 +0100 > 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 >

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

2017-08-03 Thread David Miller
From: Florian Fainelli Date: Thu, 3 Aug 2017 16:20:04 -0700 > On 08/03/2017 04:16 PM, Stephen Hemminger wrote: >> On Fri, 4 Aug 2017 00:07:45 +0100 >> "Jianming.qiao" wrote: >> >>> static const struct bcm_sysport_stats bcm_sysport_gstrings_stats[] =

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

2017-08-03 Thread Florian Fainelli
On 08/03/2017 04:16 PM, Stephen Hemminger wrote: > On Fri, 4 Aug 2017 00:07:45 +0100 > "Jianming.qiao" wrote: > >> static const struct bcm_sysport_stats bcm_sysport_gstrings_stats[] = { >> /* general stats */ >> -STAT_NETDEV(rx_packets), >> -

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

2017-08-03 Thread Stephen Hemminger
On Fri, 4 Aug 2017 00:07:45 +0100 "Jianming.qiao" wrote: > static const struct bcm_sysport_stats bcm_sysport_gstrings_stats[] = { > /* general stats */ > - STAT_NETDEV(rx_packets), > - STAT_NETDEV(tx_packets), > - STAT_NETDEV(rx_bytes), > -

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

2017-08-03 Thread Jianming.qiao
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 environment (such as streaming). Therefore, it makes hard for