Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4214700ybi; Tue, 11 Jun 2019 02:57:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQQBCnq4/mACtpwxaHL85YZWqukZRU9lLLwpll/fCAHQWZVu9O5L/meOY3oWdsSvH+8GiI X-Received: by 2002:a65:5347:: with SMTP id w7mr19419364pgr.375.1560247020386; Tue, 11 Jun 2019 02:57:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560247020; cv=none; d=google.com; s=arc-20160816; b=RfwZpSRU563Swo8+k2A9wUZLSBR+oUGI895+D60yIiwYHNvpphL+e65RuxNHn1NTPd iEoTuyLZUZf5N76rjzwOGddLdJhH7kTDfiWpdsvY6Jf3M5duoqufBV+Yiz1rfaIN/q4N xezkwgSBzEIQhx8L/sFb0sH+s3e9vW6/CmE7NuoWmlBkRlBdZlUttxZTzvAyp3zf8iFl EHIktA18SjgO1crUnzqep7aUl1J8BLUJ34Rmh3wZBw7CBduLKhCQXMylNkzt92eyAers hxOO8Twiwl4fEo+dvDn5dK7j2E+6Iq45ecLMgZkf++MRlyi0YmQwRHUbZygYfViU8CBW JruQ== 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=Xl+Y5hoCUw/zoL3cx1GZuArGlXkaMls7uBmZmXa2pZU=; b=g9O9IlzwSgukoCtcWPE/ZvILbDNst5fCJ7gdQcaMQnwRJPksAyFiXFGNd4ZBeXvCsn lZ9etAIKEbtQl3uyv7iXUMnNta4gSv73Ey8Ai6n1o54aCEYKsfxf3yZuarbCcECMG5Qp MD1zGgNS5Pzrc6JKwFCYTEGdDgFU/XbYkPQCp+9acODiME5NJ2xSYs7WaKSr83goWTtp TFBS1zUwZymGXa+H+oarTcyWB4kHi+MIYyv4IKYvpw52hTicIJ805vMv/Oy9iJJ3NJG0 ojdSTJqfZZG5f/P/pOtApM2f7svWAb47O2BRivNvQUvj3aZ+3Vc7bK2te0VDiIwWoIrS 05Zw== 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 t10si4564362plo.297.2019.06.11.02.56.45; Tue, 11 Jun 2019 02:57:00 -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 S2405022AbfFKJvq (ORCPT + 99 others); Tue, 11 Jun 2019 05:51:46 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:55095 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728865AbfFKJvp (ORCPT ); Tue, 11 Jun 2019 05:51:45 -0400 Received: from mc-bl-xps13.lan (aaubervilliers-681-1-40-246.w90-88.abo.wanadoo.fr [90.88.159.246]) (Authenticated sender: maxime.chevallier@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id C9946200003; Tue, 11 Jun 2019 09:51:39 +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 Subject: [PATCH net 0/2] net: mvpp2: prs: Fixes for VID filtering Date: Tue, 11 Jun 2019 11:51:41 +0200 Message-Id: <20190611095143.2810-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 This series fixes some issues with VID filtering offload, mainly due to the wrong ranges being used in the TCAM header parser. The first patch fixes a bug where removing a VLAN from a port's whitelist would also remove it from other port's, if they are on the same PPv2 instance. The second patch makes so that we don't invalidate the wrong TCAM entries when clearing the whole whitelist. Maxime Chevallier (2): net: mvpp2: prs: Fix parser range for VID filtering net: mvpp2: prs: Use the correct helpers when removing all VID filters .../net/ethernet/marvell/mvpp2/mvpp2_prs.c | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) -- 2.20.1