Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5562299pxb; Tue, 16 Feb 2021 01:29:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxKgwoWT36xdYZQ5SaoelAxfD2iLyP2aHeCpIth3l3ts+/01/wLLgQ2l6X98f0NaavdP4ST X-Received: by 2002:a17:906:c0c9:: with SMTP id bn9mr19778403ejb.318.1613467777265; Tue, 16 Feb 2021 01:29:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613467777; cv=none; d=google.com; s=arc-20160816; b=TY+9lPtv2HmVryoH+hfPklakl7fai8xRV+1ZKlJcQe8fuG6isR7sKJ994z+XU8ZO8e Z51PEDAgK57ReJXQ08wtWpBRUfbehgLmo5zADwwo77vAGn/uOG15rUtwEAXd7qVde9rb 2b0x9QJjSdGRuBfnmX2PMJoDkrwI27D4wWWapTlmLBC0WkbA59C0cU7bFMkdbcV+eh/W aFJB7VpxJhhEQQ9fBj1BfnmAQYxsyhGzCgbrxRViMwMiZVBrrnu41Q2MKHOxuzG3QK1d RWgwsk7OLsJck2G2smnos0CXDpYq/AM9KoKzjS5kj/t7K2PemPWI9Ygj/6jm5E5a145K SlbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=PLGrKBkeVuuQrArppLDzOJrShizpzkt0bAhwdQWpGrE=; b=OHcUHquUAmrRW8RmEQMc+0O0nFmHGHWXjYb8anATBS/Dxj4UQuq32A41+WThzUQ8KB l5JMIbP+n6O2vrPSwzge7aZRwI0aUMDRkzywpVMuwGYLWNTjD1qoAg89TYVdHRxRNxhQ 3IKqNRjrwqt/Mh+CT7Dt56Q+BnaZE6/oFxbnXIGDcITGqRxe4nuh5Ms3EoVwmZOaivX9 Y31ZXmVaOSRZz0qg+nzUXyCnKj80uZve6tv6FRSf5uR1Ojj2vm8pAuKbmki9WbdZKncG +vNFMZ4Z0thLsjBD3ST1hIbnfu1r4ZbQwftXb+Ld1lhtPziaO0MZ7SxWWXk5NaAlF0Nw vJEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bs14si2838342ejb.673.2021.02.16.01.29.14; Tue, 16 Feb 2021 01:29:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229757AbhBPJ1R (ORCPT + 99 others); Tue, 16 Feb 2021 04:27:17 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:41109 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229830AbhBPJ01 (ORCPT ); Tue, 16 Feb 2021 04:26:27 -0500 X-Originating-IP: 90.55.97.122 Received: from pc-2.home (apoitiers-259-1-26-122.w90-55.abo.wanadoo.fr [90.55.97.122]) (Authenticated sender: maxime.chevallier@bootlin.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 6717A1BF20A; Tue, 16 Feb 2021 09:25:37 +0000 (UTC) From: Maxime Chevallier To: davem@davemloft.net Cc: Maxime Chevallier , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, gregory.clement@bootlin.com, Andrew Lunn , =?UTF-8?q?Pali=20Roh=C3=A1r?= Subject: [PATCH net-next v2 0/2] net: mvneta: implement basic MQPrio support Date: Tue, 16 Feb 2021 10:25:34 +0100 Message-Id: <20210216092536.1153864-1-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi everyone, This is V2 for the MQPrio support in mvneta. This small series adds basic support for mqprio offloading, by having the rx queueing mirroring the TCs based on VLAN prio fields. This was tested on Armada 3700, and proves useful to make sure high-priority traffic has a better chance not getting dropped when there's lots of packets incoming. The first patch of the series deals with the per-cpu interrupts on the armada 3700. Since they don't work, there were already some patches applied to keep all queue mappings to CPU0, but there still were some remaining mappings left to be dealt with. The second patch implements the MQPrio offloading for the receive path. Changes in V2 : - Add a Fixes tag for the first patch - Fix some warnings and the xmas tree in the second patch Thanks, Maxime Maxime Chevallier (2): net: mvneta: Remove per-cpu queue mapping for Armada 3700 net: mvneta: Implement mqprio support drivers/net/ethernet/marvell/mvneta.c | 70 ++++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-) -- 2.25.4