Re: [PATCH] net: mv643xx_eth: ensure coalesce settings survive read-modify-write

2016-11-01 Thread David Miller
From: Russell King Date: Tue, 01 Nov 2016 10:50:01 + > The coalesce settings behave badly when changing just one value: > > ... # ethtool -c eth0 > rx-usecs: 249 > ... # ethtool -C eth0 tx-usecs 250 > ... # ethtool -c eth0 > rx-usecs: 248 > > This occurs due to rounding errors when calculat

Re: [PATCH] net: mv643xx_eth: ensure coalesce settings survive read-modify-write

2016-11-01 Thread Andrew Lunn
On Tue, Nov 01, 2016 at 10:50:01AM +, Russell King wrote: > The coalesce settings behave badly when changing just one value: > > ... # ethtool -c eth0 > rx-usecs: 249 > ... # ethtool -C eth0 tx-usecs 250 > ... # ethtool -c eth0 > rx-usecs: 248 > > This occurs due to rounding errors when calcu