Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2211033pxb; Sat, 14 Nov 2020 18:17:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbPDEjuLhUWK3rGYFCAWNi3JWzoY3mvxHK4I6H6LOjbWezNsxXyHIWVDtMISuwWOOI7B51 X-Received: by 2002:a05:6402:b6e:: with SMTP id cb14mr9913462edb.308.1605406663411; Sat, 14 Nov 2020 18:17:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605406663; cv=none; d=google.com; s=arc-20160816; b=WJF3STqnuKG72WzrHZzLybtMMF8Zea8PwpQBv2hxh5S4+g/jnQfuvvhygToVPal+2i 2Nqx1XDrY+XGGPGGu0t+Pd2KM0mH9v9h9G+KXVoLbSMT1XkdUZh9M18OMaskXr0UDCIq sfGjIxJE0AvW0KlUHQcGZjvW5E7BA+exERb1nJOHTywwRxviPMmYkeClc495YxuwgF/d UAjZuwqmqlBKcOT5qmdm67SPOkaOsLlzghqGdMBTbl974b/0KSltTfO7R8OkxEFaJLB2 brHlbyJuALtBoww0l9pMJVgYiUJjOnaTMg6K4Ntu2kWBUeHe4xbOsti2OdYibEC3ey30 YTLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=K/e78vdW3xJotp+AAjK17+PH3gOt2pFCPppFwbJKMJQ=; b=UVDKUlFKD6NDqx42BcawvF/5/9jt+Y+ROsGcnsxXVzF4/ABJkUzk5lsxMWQPiuI4Ui fYRvR1SMUUvzpVZiN39WGLLnHTGcQy3NuRZAIOHRDMbXynOzc4/jxcgLAaT146/ZVnn4 D/6GgqU7AurVaM20ohpwNDyD/7So2AP6nbQqpgre5F2yOCl2puBkInJ9szk0/ctuuM0p YFdf2thj77cJrzHXsGpLJ/7MoURb9e3cQLlullXmLyFRWmnf78/XSaTej5hf0DczVkQP 3met1kwVlRrw+uUoVvaNdszP3eRPoKd8N7tCAz6VlE64tTvssXqb4Pb2uuuOyCHUYIZ3 Glpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TTJS3Ra0; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b13si9741412edq.75.2020.11.14.18.17.20; Sat, 14 Nov 2020 18:17:43 -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=@gmail.com header.s=20161025 header.b=TTJS3Ra0; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726497AbgKOCKt (ORCPT + 99 others); Sat, 14 Nov 2020 21:10:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726198AbgKOCKs (ORCPT ); Sat, 14 Nov 2020 21:10:48 -0500 Received: from mail-il1-x144.google.com (mail-il1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 962DDC0613D1; Sat, 14 Nov 2020 18:10:47 -0800 (PST) Received: by mail-il1-x144.google.com with SMTP id k1so11976179ilc.10; Sat, 14 Nov 2020 18:10:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=K/e78vdW3xJotp+AAjK17+PH3gOt2pFCPppFwbJKMJQ=; b=TTJS3Ra0S7T86MU1Dr4DUYLtKbP2beneyH9rwrZ5tg1HUqevWaCPhMesziebE5jkUE 8TIDF9mLNB+rmiQW5ujY1sLVxBh3ODa6fsh4W+RNXL6vHRyuij4SfIhrwfbKLDlOyJNM 2KNnL0ZU/BImyPk+iUIobqUUu1wOYEmL02dkP7m/UoAIQ/AlV48zJY3zcKrVv9CmAC3u MWCRWifbQyNr8YAES2LmfA1a3nsUU/RduLv7Rk5IBui9XAyHPmzUvG0QeI6qb1eZfj2J dJLtMj3kaQmBJ7jF6VQS3773eBFdkdLyH9JQ/LyK9gWZpn2c60bjtX+EAHJIQ53wu/sL SY4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=K/e78vdW3xJotp+AAjK17+PH3gOt2pFCPppFwbJKMJQ=; b=XnDvV6tbzMegNrXEYyHLMV/oU92S493rpCaI1qezln30Flb5XY6OEjxsr8ynoOPN69 EXmfiqEy5POozGLi1yfSsFqwe/OjbGXzDLFgOp9pHz6CuUlojHThxGwPVD/yNGD4N+n0 P+/V1njnw3B4CcnMxjEhAn5YvZVlQhCcBfMmQZDZpOlNx5IbAXqUsbtgN3AzHYG2h6EM AisEzfseONup2dvTEM9Grove+g0XlOQWmfvh/FS+P4aOvx7tr3NGrEDBy+3M9jtYgx+E qRMxDPgYrNGE2imh4IXom4BhJa2fU7xMiXWlSyhm6XatrWjOy7E+yU6XR7dDrhULWfly Ddlg== X-Gm-Message-State: AOAM530Kt4DpElMcFC2vlyPDE1JY1qVQpo8NU++yINVA5l/05Nch90ke ozVqP7n+6mS8gzKQJUgyrazWIE5+5KFtS6zcb+0= X-Received: by 2002:a92:6706:: with SMTP id b6mr4613302ilc.42.1605406246404; Sat, 14 Nov 2020 18:10:46 -0800 (PST) MIME-Version: 1.0 References: <20201114195303.25967-1-naveenm@marvell.com> In-Reply-To: <20201114195303.25967-1-naveenm@marvell.com> From: Alexander Duyck Date: Sat, 14 Nov 2020 18:10:35 -0800 Message-ID: Subject: Re: [PATCH v4 net-next 00/13] Add ethtool ntuple filters support To: Naveen Mamindlapalli Cc: Netdev , LKML , Jakub Kicinski , David Miller , saeed@kernel.org, sgoutham@marvell.com, lcherian@marvell.com, gakula@marvell.com, jerinj@marvell.com, sbhatta@marvell.com, hkelam@marvell.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 14, 2020 at 11:53 AM 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: > v4: > - Fixed review comments from Alexander Duyck on v3. > - Added macros for KEX profile configuration values. > - TCP/UDP SPORT+DPORT extracted using single entry. > - Use eth_broadcast_addr() instead of memcpy to avoid one extra variable. > - Fix "ether type" to "Ethertype" & "meta data" to "metadata" in comments. > - Added more comments. > 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. All of the fixes look like they are in place. Reviewed-by: Alexander Duyck