Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp144785ybi; Tue, 18 Jun 2019 19:27:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwIxbIc3AyIUlf8vQsigzJWS3HCZJ1F74JoYxlrMUwIhLD4I4ExMAF6GoyR0EAkARRFEFrD X-Received: by 2002:a63:614c:: with SMTP id v73mr1151882pgb.445.1560911238016; Tue, 18 Jun 2019 19:27:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560911238; cv=none; d=google.com; s=arc-20160816; b=Y+3XBdSqitpfoB4y6pzksopr8c71dGr+RA78EdjWxU34PhNgZoT3ocaMfnwQC2Dy/Q iJB9SbstO8oOeiM/BwUgeeYuBSZv/tlyctzGeMeGiXpZDsHhf1GmpNIKlpLrQBufH1+B n+Iws7FBQjTQ0rLXv83BTGAudSi3iPbacqAiNPar/dVpTCz9pTrB1LuLa4JydfMt0bLc A9g5UzO/wtfbmu0vo52GiJdajp2fJmZBnm5XTHF2bxFbCP6305VFVCkOlF7lfO4rQLN1 qeFP6GrkVvTc6c0A0/htWesfiJGZ8mpF1j7PJgBzRuHvUtREJZUwaPSTRbEG12+JlYTb bZSA== 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 :references:in-reply-to:from:subject:cc:to:message-id:date; bh=uQVa2SFheTZtZWuo1r2IWEWWYaVbLbQqIB0xS6BDdV0=; b=HUgym2pbda8PWfj4iPPTHjIJLfngUk8gyL+wQWn0ZOL1lsKjTHHvLioRjnYjsHv8mg LRVU0UB3i2I2YubdLLdSAa1Lo+ccRUZWGjdr1xmr9Cr2oQglZC9xi7UmLqTFOCP/CQc8 fWl+5HPjib9ZuC7poONSOjDF9kdtBBDo2BBlgHp5i1Af6o4Cs6uDaaWE/up9im9M9MUs RsEeV0kdZe4SrQLQBahMfLUUQY5msRUvcHw5ILRUpgGU+0+j36K7Vclag68a6BJJbtz+ mxjd8d5mussTbG3UfdmXYjLasICy2xadXPw6MCGmG1GwUGPQ5v2npcJJogqkzcjgaqp/ qYww== 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 h3si1773633pgq.94.2019.06.18.19.27.02; Tue, 18 Jun 2019 19:27:18 -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 S1730172AbfFSC0u (ORCPT + 99 others); Tue, 18 Jun 2019 22:26:50 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:56692 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726037AbfFSC0u (ORCPT ); Tue, 18 Jun 2019 22:26:50 -0400 Received: from localhost (unknown [8.46.76.24]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 69CB614DB02AD; Tue, 18 Jun 2019 19:26:33 -0700 (PDT) Date: Tue, 18 Jun 2019 22:26:24 -0400 (EDT) Message-Id: <20190618.222624.192769316432594413.davem@davemloft.net> To: maxime.chevallier@bootlin.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, antoine.tenart@bootlin.com, thomas.petazzoni@bootlin.com, gregory.clement@bootlin.com, miquel.raynal@bootlin.com, nadavh@marvell.com, stefanc@marvell.com, mw@semihalf.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH net-next 0/4] net: mvpp2: cls: Allow steering based on vlan tag From: David Miller In-Reply-To: <20190618145519.27705-1-maxime.chevallier@bootlin.com> References: <20190618145519.27705-1-maxime.chevallier@bootlin.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 18 Jun 2019 19:26:50 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maxime Chevallier Date: Tue, 18 Jun 2019 16:55:15 +0200 > The PPv2 classifier can perform flow steering based on keys extracted > from the VLAN tag. This series adds support for using the vlan id and > the vlan prio as keys, using the ethtool interface. > > Patch 1 is a preparatory patch that prevent false-positive matches, > using a dedicated lookup id for the RSS C2 lookup. > > Patch 2 allows to separate the flows based on the header fields they > contain. The main goal is to be able to separate tagged traffic from > untagged traffic for flow steering, just as we already do for RSS. > > Patch 3 solves an issue we have when extracting fields that aren't full > bytes, such as the vlan tag which is 12 bits wide, or the priority which > is 3 bits wide. > > Finally, patch 4 adds support for steering based on both vlan id and > priority, extracted from the outermost tag. Series applied, thanks.