Re: struct ipipstat: use 64 bits counters

2017-02-20 Thread Alexander Bluhm
On Mon, Feb 20, 2017 at 04:30:31PM +0100, Jeremie Courreges-Anglas wrote: > Jeremie Courreges-Anglas writes: > > > Using a mix of 32 and 64 bits counters leads to an ugly conversion to > > percpu counters. Why not move to 64 bits counters? struct ipipstat is > > afaik only used by netstat and p

Re: struct ipipstat: use 64 bits counters

2017-02-20 Thread Jeremie Courreges-Anglas
Jeremie Courreges-Anglas writes: > Using a mix of 32 and 64 bits counters leads to an ugly conversion to > percpu counters. Why not move to 64 bits counters? struct ipipstat is > afaik only used by netstat and ports/shells/nsh (I can cook a fix for > the latter). > > ok? ping > Index: sys/net

struct ipipstat: use 64 bits counters

2017-02-10 Thread Jeremie Courreges-Anglas
Using a mix of 32 and 64 bits counters leads to an ugly conversion to percpu counters. Why not move to 64 bits counters? struct ipipstat is afaik only used by netstat and ports/shells/nsh (I can cook a fix for the latter). ok? Index: sys/netinet/ip_ipip.h =