Re: [PATCH next] netdevice: shrink size of struct netdev_queue

2016-05-02 Thread David Miller
From: Florian Westphal Date: Tue, 3 May 2016 03:29:09 +0200 > - trans_timeout is incremented when tx queue timed out (tx watchdog). > - tx_maxrate is set via sysfs > > Moving tx_maxrate to read-mostly part shrinks the struct by 64 bytes. > While at it, also move trans_timeout (it is out-of-plac

Re: [PATCH next] netdevice: shrink size of struct netdev_queue

2016-05-02 Thread Eric Dumazet
On Tue, 2016-05-03 at 03:29 +0200, Florian Westphal wrote: > - trans_timeout is incremented when tx queue timed out (tx watchdog). > - tx_maxrate is set via sysfs > > Moving tx_maxrate to read-mostly part shrinks the struct by 64 bytes. > While at it, also move trans_timeout (it is out-of-place in

[PATCH next] netdevice: shrink size of struct netdev_queue

2016-05-02 Thread Florian Westphal
- trans_timeout is incremented when tx queue timed out (tx watchdog). - tx_maxrate is set via sysfs Moving tx_maxrate to read-mostly part shrinks the struct by 64 bytes. While at it, also move trans_timeout (it is out-of-place in the 'write-mostly' part). Signed-off-by: Florian Westphal --- inc