Re: [PATCH 4/4] net: stmmac: adding multiple napi mechanism

2017-04-04 Thread Thierry Reding
On Tue, Apr 04, 2017 at 06:54:27PM +0100, Joao Pinto wrote: [...] > diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c > b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c [...] > @@ -1259,7 +1317,6 @@ static int init_dma_tx_desc_rings(struct net_device > *dev) > /* TX

[PATCH 4/4] net: stmmac: adding multiple napi mechanism

2017-04-04 Thread Joao Pinto
This patch adds the napi variable to the stmmac_rx_queue structure and forces that operations like netif_queue_stopped, netif_wake_queue, netif_stop_queue, netdev_reset_queue and netdev_sent_queue be made by queue. Signed-off-by: Joao Pinto --- drivers/net/ethernet/stmicro/stmmac/stmmac.h |