OSDN Git Service

net: ll_temac: Allow configuration of IRQ coalescing
authorEsben Haabendal <esben@geanix.com>
Tue, 30 Apr 2019 07:17:58 +0000 (09:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 May 2019 18:33:30 +0000 (14:33 -0400)
commit7e97a194aca03c6ff86f84e46e196f5c9ed5c32c
treedfed285b7a785eca6bed68eb41fb9563d7de859e
parent901d14ab5584753a72116a53fbc4fa67832ad1a5
net: ll_temac: Allow configuration of IRQ coalescing

This allows custom setup of IRQ coalescing for platforms using legacy
platform_device. The irq timeout and count parameters can be used for
tuning cpu load vs. latency.

I have maintained the 0x00000400 bit in TX_CHNL_CTRL.  It is specified as
unused in the documentation I have available.  It does not make any
difference in the hardware I have available, so it is left in to not risk
breaking other platforms where it might be used.

Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/ll_temac.h
drivers/net/ethernet/xilinx/ll_temac_main.c
include/linux/platform_data/xilinx-ll-temac.h