Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp635555pxb; Thu, 12 Nov 2020 12:19:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJw8xUUzmc61YUAzNUxOgia3RcciMAeT6AXH2l8w6f1J0iSYWVBjlZSNCdMy7YMyd4FiGltU X-Received: by 2002:a17:906:171a:: with SMTP id c26mr1081615eje.380.1605212343168; Thu, 12 Nov 2020 12:19:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605212343; cv=none; d=google.com; s=arc-20160816; b=EnNNEItQZe+uiXHEwiNQChzWi87IFtIbQNnqVo6MjAen/TaBxgG2pDbDSUGV79vqJU mbxTPW1rX5Xxqj35oLR7ATPHjA7awGc0lMdDd+/k5SqJwfkpNWecXXVuMEHTq6gNYGo1 bOmxwmBEGE/ogmw7AcSN9ng1OvjlE1pnvWdyWKrbJFhOlQYj3sxHvR+7l9vcrpEfbh4R ygATrvkDgIvdmL9OAxHhlthfYeoaGn2VxK5A171ZKVt7tMRg66LiYb0MEjvEq54E2ZRw VI1/ZMHbTDkRRLIYACnDzMcyxLP4Cl0XJ1t7+NpU+qXf4/pMz59ncXar4TotsaxhjN4O H8zw== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=wUvRjP9B7P54+a2Y3whH8Vxq6CXXEziyDkYgJSt9/WI=; b=uk+q+Bznw7NLspU0EXVyXmvuUtAMMXot9c0Jwl6S+kIk1z2KAYC9IYA5Z0RDE1iV8/ 4aFwDcmGeNgIBHdluGsJwC9Mmxh9avzkHg/aTJzHS8MOvrrIGco/Ohq7hCbNalCaT5kR GM1sKYk0ehOpNzhpnGKJq+hursMsKj2yo3OfJClrg9/z/b2EY4ppUKFz/YQRx6x1sAC7 OAPWXDlEyNZsvXOGAhTV8n02UmmkGHSz9QOniydntMC6k9KSOGPdlIthgcCrTYYmcVPi vWhWM6hj/6ZtiyAn0ViRD3LuteQaNDcZ02DaQpv78cLj+xH76QmhCsx7O89JPg6BDLVm XUfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GUvWOnJ0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x91si4594066edc.41.2020.11.12.12.18.39; Thu, 12 Nov 2020 12:19:03 -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; dkim=pass header.i=@kernel.org header.s=default header.b=GUvWOnJ0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727043AbgKLUQq (ORCPT + 99 others); Thu, 12 Nov 2020 15:16:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:49308 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726963AbgKLUQp (ORCPT ); Thu, 12 Nov 2020 15:16:45 -0500 Received: from lt-jalone-7480.mtl.com (c-24-6-56-119.hsd1.ca.comcast.net [24.6.56.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BDD3520A8B; Thu, 12 Nov 2020 20:16:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605212204; bh=EHyeO0MPE0SxSjAa03kCUgKzknAdmQkHHmJPJH295oM=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=GUvWOnJ0bMa4wuvbDzTC9q1lyH4T+mXV5NiTRFM1FdWoIRvf9LymzSgt53eJK2KyZ /v/eXj3nSPOPXo4uw22YqnKCGOjkzvNlB/2iktBBH1g3BXNPg0+c7W/Xq0ILz7vctH oruCZYjSkCgV24KVTFMSpW13+80GZL83MOO3J4lw= Message-ID: <0b91885ea6395a139f5d8a317f6a897af9d76cc6.camel@kernel.org> Subject: Re: [PATCH v3 net-next 00/13] Add ethtool ntuple filters support From: Saeed Mahameed To: Naveen Mamindlapalli , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kuba@kernel.org, davem@davemloft.net, sgoutham@marvell.com, lcherian@marvell.com, gakula@marvell.com, jerinj@marvell.com, sbhatta@marvell.com, hkelam@marvell.com Date: Thu, 12 Nov 2020 12:16:40 -0800 In-Reply-To: <20201111071404.29620-1-naveenm@marvell.com> References: <20201111071404.29620-1-naveenm@marvell.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2020-11-11 at 12:43 +0530, Naveen Mamindlapalli wrote: > This patch series adds support for ethtool ntuple filters, unicast > address filtering, VLAN offload and SR-IOV ndo handlers. All of the > above features are based on the Admin Function(AF) driver support to > install and delete the low level MCAM entries. Each MCAM entry is > programmed with the packet fields to match and what actions to take > if the match succeeds. The PF driver requests AF driver to allocate > set of MCAM entries to be used to install the flows by that PF. The > entries will be freed when the PF driver is unloaded. > > * The patches 1 to 4 adds AF driver infrastructure to install and > delete the low level MCAM flow entries. > * Patch 5 adds ethtool ntuple filter support. > * Patch 6 adds unicast MAC address filtering. > * Patch 7 adds support for dumping the MCAM entries via debugfs. > * Patches 8 to 10 adds support for VLAN offload. > * Patch 10 to 11 adds support for SR-IOV ndo handlers. > * Patch 12 adds support to read the MCAM entries. > > Misc: > * Removed redundant mailbox NIX_RXVLAN_ALLOC. > > Change-log: > v3: > - Fixed Saeed's review comments on v2. > - Fixed modifying the netdev->flags from driver. > - Fixed modifying the netdev features and hw_features after > register_netdev. > - Removed unwanted ndo_features_check callback. > v2: > - Fixed the sparse issues reported by Jakub. > Reviewed-by: Saeed Mahameed