net: systemport: Implement adaptive interrupt coalescing
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 23 Mar 2018 01:19:32 +0000 (18:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Mar 2018 00:48:25 +0000 (20:48 -0400)
commitb6e0e875421ef6debfbe05d3aa99ac788d886074
tree6622c4c4151faad1627de5ce223c10e419043fe1
parent9259f134a7dd1372ab142b2860994b993db34917
net: systemport: Implement adaptive interrupt coalescing

Implement support for adaptive RX and TX interrupt coalescing using
net_dim. We have each of our TX ring and our single RX ring implement a
bcm_sysport_net_dim structure which holds an interrupt counter, number
of packets, bytes, and a container for a net_dim instance.

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