net: systemport: Implement TX coalescing control knobs
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 11 May 2015 22:12:41 +0000 (15:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 May 2015 03:08:46 +0000 (23:08 -0400)
commitb1a15e8643c444f9fc185d296e99424618ad1180
tree7287546e72023958b7f15befd342cdf503fe90aa
parenta2029240e5836e73ebcc1a8ddb8c22d636f89c9a
net: systemport: Implement TX coalescing control knobs

Add the ability to configure both 'tx-frames' which controls how many frames
are doing to trigger a single interrupt and 'tx-usecs' which dictates how long
to wait before an interrupt should be services.

Since our timer resolution is close to 8.192 us, we round up to the nearest
value the 'tx-usecs' timeout value.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcmsysport.c