Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4387548imw; Thu, 7 Jul 2022 18:27:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t7ZcjIF2l/xzjofv/R4qNrrIRxpR0N8yCFlyqYvRJ/t1iHpZliiZZyXleD3RwVlM/z/8Wg X-Received: by 2002:a05:6a00:22cb:b0:525:ba83:559a with SMTP id f11-20020a056a0022cb00b00525ba83559amr1215518pfj.54.1657243645489; Thu, 07 Jul 2022 18:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657243645; cv=none; d=google.com; s=arc-20160816; b=rMst81h6r5a5/io6oqNMqNZKEUyLRaWuNH1Gm8S5AdPmLECTsj198Ay8AN8zIutckI L9W2elCe0Za0Nh0zoYR5nS+dn6mbUAXq8NJtgZxbUKvQIuQNNpqeyyWswRWj0rQJ9S+l wIRieXAKFRW6y/Rbe//DgNaChfmNQU7yuVLLk63PDuZqaA4u667QOYTpz4lgweYfu4Cp 4wdJoiSF1OdUlDnBVUyVoqsUkIjcTyJIUuAXWxxdv9QDu4WR8rpZu89pLfb6Q8eNXXuk jtA2t9sAIA8ptCcyVtniFbBpD5op7e8H744uGfZ/YeK/julwbj9+h9kiYcrgGp1slkCK m4Qg== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=QEgA13iKwA1QL7fXOk92JXb8eXFbCH0TCWooBQpHaHc=; b=FhSoMSsvg1FPpy0guleRct2nlT2ZVBse41v1e2tmntAlmWKjhTqA3i5Rl7P3JUxEJL 7wmzbis52JWIT595MA0Yl7BJ6zmLROco3T8mhmkocBFmFzoQzTXq5IDJAs3uWW/AXCPW c2rgUS6/3O93IKEr6uV7NdFRJWRzJaliuYf7bO8K96t1EHR62cowTNHN4rdqpyB6yIDe 3i6k+tEFkAxesPrudypNdR9Rh73tzg4CKJHrRoSucR4kutVK30oy44PnYINpXO10S0iR d/sHoiJTKMEOq+Gh4tMz0ejZobY+EpCTq9bso2zRl5LFZ4aQmtX4ZPr1Va7L5SOa9opa EDJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aDOAjVDO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i66-20020a639d45000000b00412a8c9c628si8999507pgd.81.2022.07.07.18.27.11; Thu, 07 Jul 2022 18:27:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aDOAjVDO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S236188AbiGHAxT (ORCPT + 99 others); Thu, 7 Jul 2022 20:53:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbiGHAxR (ORCPT ); Thu, 7 Jul 2022 20:53:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7106D70E47; Thu, 7 Jul 2022 17:53:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E1A7B60AF9; Fri, 8 Jul 2022 00:53:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 181E0C3411E; Fri, 8 Jul 2022 00:53:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657241596; bh=TDiLu1rwvodJqPnwKWHyS0Wn+8q/Byec3xL72R5c0zw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=aDOAjVDOPWxre5eCVFbyyvEtIOkIZ6cSftEAxCZIw9yYVDNicaq5/THlBg13JxIw9 fPkN1ao0vaUR+FDEjAmkw01KpUijFK9TSzseg3s7l+ZE4+0xjvVgxLFoxMWPPVdef7 ShZTn8fIjcIbH+ostm4flSc1rHrxwJbkyj9La3VkNjZIlNQowOn4Z28D39cnhlGMLP Aa7SEHQqj9e2mMKBeIyvWEdVKEqQ8iNogMORPxNoygCc/V8z+fWj8D2FgrdMErtJfT 9sfC2o4bUYO32NksPZdw+B9pFyHyHHo62BOg9/AQQcT4pJzj1KSLIodYlfYOmZjnct eqxgGiZcHUjYQ== Date: Thu, 7 Jul 2022 17:53:07 -0700 From: Jakub Kicinski To: Ratheesh Kannoth Cc: , , , , , Subject: Re: [net-next PATCH V3 02/12] octeontx2-af: Exact match support Message-ID: <20220707175307.4e83ad48@kernel.org> In-Reply-To: <20220707073353.2752279-3-rkannoth@marvell.com> References: <20220707073353.2752279-1-rkannoth@marvell.com> <20220707073353.2752279-3-rkannoth@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 7 Jul 2022 13:03:43 +0530 Ratheesh Kannoth wrote: > CN10KB silicon has support for exact match table. This table > can be used to match maimum 64 bit value of KPU parsed output. > Hit/non hit in exact match table can be used as a KEX key to > NPC mcam. > > This patch makes use of Exact match table to increase number of > DMAC filters supported. NPC mcam is no more need for each of these > DMAC entries as will be populated in Exact match table. > > This patch implements following > > 1. Initialization of exact match table only for CN10KB. > 2. Add/del/update interface function for exact match table. > > Signed-off-by: Ratheesh Kannoth Build with C=1 (i.e. with the sparse checker) we get: drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c:558:21: warning: dubious: x & !y could you figure out which one it is and if it can be muted?