Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp239550ybi; Fri, 24 May 2019 03:07:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyl4+LTvjwM04vQApWV1lCCtK0G/w39C2VSooPh5AptVNV/hb0Xh1l+4ceslEuN4jNWJH6C X-Received: by 2002:a17:902:fa2:: with SMTP id 31mr106701312plz.128.1558692471248; Fri, 24 May 2019 03:07:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558692471; cv=none; d=google.com; s=arc-20160816; b=FjkEgBzfUk2F+H+hJjohYzTrsxPhTEePdIsnEs2b2PDdz5kNz3KjtJST54MAZDRujp m22BFKBUkw9RZN0XSSD0iTguSTxVxjgjeYlD31Et3JwE5FXTu4cxcpwvoGnMooQzlktA fYfSbM6MwfzsbDwYP6FHCXe3jAflNMFVCSmIgqhGLX+FDPNmOLavI8hB9d504z0aM3+t 9Js5U1yp2Y8QFDXMS3pCj6m73xCt862xpUS+EppuPjBHs7IKqnUNF4a6D+zHcydL/6sG 7nKpMZMXmcHgnL7zJ6m6yY9sG5fPgHpPzdFdNxnvE4hnzYdZp8KRobcZcD5kFKyxHhw5 cyNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Uycn50nVxsnOhi6qaUU11jutQ9tLN0rN5Bu0zmF0FnM=; b=vB9lXdIZbrFqAeKye0w701OtxnSZlkqd4adRf3Ai9VtDHohmzXB7uldWBlB3MnDG45 8NAnXVKRjIrO9nZL9aAhAw+rGLue2qtaqdN1h+2KTBa2BnvhkQVE/dG59UUgfG2sthFd wXi5hMqgpk0e8lnk0a1lpLVPXfs9xaXPQjwzCfxDAU7WCxKzgACYu3hk+ezpPae0PjYt cwhT9L44T8rG6XdXI1WaBCDo06Y32xIEvSJnPk5w1xJFJn4kYB38vY4lTOcqOjTQNQcg OJg2rCdTsEOCPZn04sf/qZELlQaOFZ1A1a227hG1+2oh7UgRsFTtRtFiapsRSUmD8Bul vDRA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z1si3497601plo.211.2019.05.24.03.07.32; Fri, 24 May 2019 03:07:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390390AbfEXKGE (ORCPT + 99 others); Fri, 24 May 2019 06:06:04 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:35921 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389745AbfEXKGD (ORCPT ); Fri, 24 May 2019 06:06:03 -0400 X-Originating-IP: 90.88.147.134 Received: from mc-bl-xps13.lan (aaubervilliers-681-1-27-134.w90-88.abo.wanadoo.fr [90.88.147.134]) (Authenticated sender: maxime.chevallier@bootlin.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 559E740013; Fri, 24 May 2019 10:05:58 +0000 (UTC) From: Maxime Chevallier To: davem@davemloft.net Cc: Maxime Chevallier , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Antoine Tenart , thomas.petazzoni@bootlin.com, gregory.clement@bootlin.com, miquel.raynal@bootlin.com, nadavh@marvell.com, stefanc@marvell.com, mw@semihalf.com, Russell King , linux-arm-kernel@lists.infradead.org Subject: [PATCH net-next 0/5] net: mvpp2: Classifier updates, RSS Date: Fri, 24 May 2019 12:05:49 +0200 Message-Id: <20190524100554.8606-1-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello everyone, Here is a set of updates for the PPv2 classifier, the main feature being the support for steering to RSS contexts, to leverage all the available RSS tables in the controller. The first two patches are non-critical fixes for the classifier, the first one prevents us from allocating too much room to store the classification rules, the second one configuring the C2 engine as suggested by the PPv2 functionnal specs. Patches 3 to 5 introduce support for RSS contexts in mvpp2, allowing us to steer traffic to dedicated RSS tables. Thanks, Maxime Maxime Chevallier (5): net: mvpp2: cls: Use the correct number of rules in various places net: mvpp2: cls: Bypass C2 internals FIFOs at init net: mvpp2: cls: Use RSS contexts to handle RSS tables net: mvpp2: cls: Extract the RSS context when parsing the ethtool rule net: mvpp2: cls: Support steering to RSS contexts drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 20 +- .../net/ethernet/marvell/mvpp2/mvpp2_cls.c | 272 ++++++++++++++++-- .../net/ethernet/marvell/mvpp2/mvpp2_cls.h | 15 +- .../net/ethernet/marvell/mvpp2/mvpp2_main.c | 67 ++++- 4 files changed, 326 insertions(+), 48 deletions(-) -- 2.20.1