Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757282AbaLKKQx (ORCPT ); Thu, 11 Dec 2014 05:16:53 -0500 Received: from eusmtp01.atmel.com ([212.144.249.243]:49716 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750825AbaLKKQw (ORCPT ); Thu, 11 Dec 2014 05:16:52 -0500 From: Cyrille Pitchen To: , , , , CC: , Cyrille Pitchen Subject: [PATCH v2 0/1] net/macb: add TX multiqueue support for gem Date: Thu, 11 Dec 2014 11:16:50 +0100 Message-ID: X-Mailer: git-send-email 1.8.2.2 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ChangeLog v2: fix compilation warnings for netdev_vdbg("%u...", queue - bp->queues, ...) calls v1: At the first look this patch may look quite big but it cannot be splitted. Each queue has its own dedicated IRQ, which should be handled. Also the Transmit Base Queue Pointer register of each available queue must be initialized before starting the transmission, otherwise the transmission will be halted immediately as HRESP errors are likely to occur. In addition, some fields had to be moved from struct macb into struct macb_queue so a common code could manage the queues. This patch was applied to net-next and tested on a sama5d36ek board, which embeds both macb and gem IPs, to check the backward compatibility. Also it was tested on a sama5dx FPGA platform with a gem designed to use 3 queues. Then we used the tc program to set a queue discipline policy as describe in the Documentation/networking/multiqueue.txt: we successfully used each queue. Cyrille Pitchen (1): net/macb: add TX multiqueue support for gem drivers/net/ethernet/cadence/macb.c | 451 +++++++++++++++++++++++------------- drivers/net/ethernet/cadence/macb.h | 71 +++++- 2 files changed, 358 insertions(+), 164 deletions(-) -- 1.8.2.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/