Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3017755pxb; Fri, 12 Feb 2021 07:16:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxxPT4Va6OCs/AJ4CGu5tgHPkxk+n5+7HjqtrlgrCMafI46RUKLmRw7PlB+3l7IqOGOuKCn X-Received: by 2002:a05:6402:10c8:: with SMTP id p8mr3759475edu.144.1613142981609; Fri, 12 Feb 2021 07:16:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613142981; cv=none; d=google.com; s=arc-20160816; b=0u88L9TDVeAZ6PyqRgZTf4XLUzWBuJDzNiNa0bCNmM3aJo4JsfdWSLl4iC8wGuk10H OC4XwblNlSSMINM2ovA954jm+ZuigxSoNC86cVcdQ+sCKRl3gyJEtKH8sInluQX535pM HigF8emQTX7gGZainHFsjlTw7y+14CbtejnhSwY8spZ5iPSH4NjIXhl1qtsl7ZPZtpeP QgGYrw/VOYr+dCEqmqCqw5P3rEeKHO1cI7dMqPKXMqPvkSfOMHNrqFYz+Y9xMGorq8cL VMgDypywyiKkXwTxidQD4/1EBvzxXj46n8STWQqHci/lcNBUpDknQsAwOQXf4S9LGwbW e9dg== 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=JORfeB3IDZwpxpNC5X3kYKWneWAaqwfwqRn4Zo4mTDc=; b=bLuvJy0aYgZ1XA7Z5RnY/hk77KM26JJHI2YN8yM0s9ojVJtXCZZzl0dU2qu+JffpEJ q210bVsY5WVkTSJblctgSmfW2IQG/BKiLWZYqyh5J3mao47MqKkLpmY4Tkcv2W2+TuZF ZMkA+Ur5kyj9w5iGoe9+ztMeQgwse1UGaV+oqdrFYS+ZNuvHmHC2d578g/5Mq9pYlzCX 8u+s2fJft1r28fRD1bNzZtBLupzd19TGrxGdqcjanfNP6hnTIGTlGh5pXUExjrcOO+pm fFeSqScU4FdEiNZTt/VDbkvQ8DsmKmCy++trAH7SYleQrvrAOtCDsXnMdYlXaqKdnEB1 uBpA== 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 k27si6420462eje.568.2021.02.12.07.15.58; Fri, 12 Feb 2021 07:16:21 -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 S230384AbhBLPN1 (ORCPT + 99 others); Fri, 12 Feb 2021 10:13:27 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:57605 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229965AbhBLPNQ (ORCPT ); Fri, 12 Feb 2021 10:13:16 -0500 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 relay11.mail.gandi.net (Postfix) with ESMTPSA id BE1E410000E; Fri, 12 Feb 2021 15:12:28 +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 Subject: [PATCH net-next 0/2] net: mvneta: Implement basic MQPrio support Date: Fri, 12 Feb 2021 16:12:18 +0100 Message-Id: <20210212151220.84106-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 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. 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 | 74 ++++++++++++++++++++++++++- 1 file changed, 73 insertions(+), 1 deletion(-) -- 2.25.4