linux/drivers/net/ethernet/marvell
Thomas Petazzoni 213f428f50 net: mvpp2: add support for TX interrupts and RX queue distribution modes
This commit adds the support for two related features:

 - Support for TX interrupts, with one interrupt for each CPU

 - Support for different RX queue distribution modes
   MVPP2_QDIST_SINGLE_MODE where a single interrupt, shared by all
   CPUs, receives the RX events, and MVPP2_QDIST_MULTI_MODE, where the
   per-CPU interrupts used for TX events are also used for RX events.

Since additional interrupts are needed, an update to the Device Tree
binding is needed. However, backward compatibility is preserved with
the old Device Tree binding, by gracefully degrading to the original
behavior, with only one RX interrupt, and TX completion being handled
by an hrtimer.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-03 15:16:09 -07:00
..
Kconfig net: mvpp2: finally add the PPv2.2 compatible string 2017-03-09 10:12:11 -08:00
Makefile net: mvneta: bm: add support for hardware buffer management 2016-03-14 12:19:46 -04:00
mv643xx_eth.c mv643xx_eth: fix of_irq_to_resource() error check 2017-07-31 17:56:47 -07:00
mvmdio.c net: mvmdio: simplify the smi read and write error paths 2017-06-16 12:27:12 -04:00
mvneta_bm.c net: mvneta: Fix lacking spinlock initialization 2016-05-25 12:35:08 -07:00
mvneta_bm.h net: mvneta: use IS_ENABLED() instead of checking for built-in or module 2016-09-12 20:27:59 -07:00
mvneta.c networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
mvpp2.c net: mvpp2: add support for TX interrupts and RX queue distribution modes 2017-08-03 15:16:09 -07:00
pxa168_eth.c net: pxa168_eth: Adjust four checks for null pointers 2017-04-18 13:55:10 -04:00
skge.c skge: Adjust a null pointer check in skge_down() 2017-04-18 13:55:10 -04:00
skge.h skge: Rename LED_OFF and LED_ON in marvel skge driver to avoid conflicts with leds namespace 2016-10-18 11:56:30 -04:00
sky2.c sky2: Use seq_puts() in sky2_debug_show() 2017-04-18 13:55:11 -04:00
sky2.h net: Remove usage of net_device last_rx member 2017-01-18 17:22:49 -05:00