Re: [PATCH] Broadcom Sysport: Support 64bit net status report on 32bit Platform

2017-07-15 Thread kiki good
Hi Florian: Thanks for the comment. The reason to use kzalloc() for bsysport_netstats instead of extending bcm_sysport_priv to have the network stats included in bcm_sysport_priv is to minimise the impact of increasing stack size if there are more 64bit stats to be added in the future. What

Re: [PATCH] Broadcom Sysport: Support 64bit net status report on 32bit Platform

2017-07-15 Thread Florian Fainelli
On 07/15/2017 08:20 AM, ?? ? wrote: > When using Broadcom Sysport 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. The subject of this patch should be: net: systemport:

Re: [PATCH] Broadcom Sysport: Support 64bit net status report on 32bit Platform

2017-07-15 Thread kiki good
When using Broadcom Sysport 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. The patch is used to add 64bit support for Broadcom Sysport device in 32bit Platform. On Sat, Jul 15, 2017

[PATCH] Broadcom Sysport: Support 64bit net status report on 32bit Platform

2017-07-15 Thread kiki good
Signed-off-by: Jianming Qiao --- drivers/net/ethernet/broadcom/bcmsysport.c | 81 - drivers/net/ethernet/broadcom/bcmsysport.h | 8 2 files changed, 68 insertions(+), 21 deletions(-)