Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4216416pxf; Tue, 16 Mar 2021 08:14:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGoTmGu16lv+tzL4rX1jIjG5CpgEJWjYnGPHkmqzaYyCbrkEmeN5wb6rrFjQhDS4t/fsof X-Received: by 2002:a17:906:73d5:: with SMTP id n21mr30787091ejl.8.1615907681469; Tue, 16 Mar 2021 08:14:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615907681; cv=none; d=google.com; s=arc-20160816; b=YwmPqm1PnMODWe+c4V7olshKIswoo0qVkvyMAIAyBFWXtYZc+lbLYkpiA4YQ/zv9zP biPEK0XwDC9VVG+t48jAiUw6yGVEsajPSkODr10TTX/GTOuYnnFm1obbMIUxqPwinhdM GEU33qDptI9g6h8VxkpWUoQ++b7TFFhF/76Z9yvM0icHcRYJNehscCupnHpsCtpofw5O bjQKarN17LWXx0mGmZG73WOWKWaLLRyYVyJpZkW4bTTW7ssZV/hX6d84GfoPy2M2GVZ1 tQIm/FzhibcxTG0KV9TSZ6TZoCd/1xbXlgGWf8cm+Yuc4Tqb5Zef8FEhshPtlwdS4LZi TUgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=KvfXCDX7XiyIyyAZXt1r3F7riXVwVyiaOzjegUt6zt8=; b=fUSDqhe5qvkhnJ8ZFo3AH6ZzcZXO+W/7rAiWx+Mz1UAlhM0OQZpaKOagzY6sOs4kLw jTjO/kbXNO/zczSdgeotVy9iommtQeoY4iXiSBzvL84d3AGc3imT/w+ZhCrZp3m73Qw0 mQv8+ZJFrqGwHqtL8mRcVP8weA6pJdx+4li8tT1KZVAJoJ4ppyFtYlgQ/jfL6Q5ACY+9 z0JMruAPjCkmdIZ8+Ky86I9magmQsaZJN93Nv7d24asd9LTJdRPyf4pave8pukVwSdFm GFbJM4fkjEzkVxX1n/6jEXJ97lI4zcsqWuO+nGie8Tlhnp9qbVSHjAHH66DW3Ya7j5K2 Scig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=NkrWShuG; 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=REJECT dis=NONE) header.from=marvell.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v4si14072120ejx.329.2021.03.16.08.14.19; Tue, 16 Mar 2021 08:14:41 -0700 (PDT) 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=@marvell.com header.s=pfpt0220 header.b=NkrWShuG; 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=REJECT dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236240AbhCPJ1y (ORCPT + 99 others); Tue, 16 Mar 2021 05:27:54 -0400 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:16338 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233155AbhCPJ1e (ORCPT ); Tue, 16 Mar 2021 05:27:34 -0400 Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12G9QRwe020155; Tue, 16 Mar 2021 02:27:33 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=pfpt0220; bh=KvfXCDX7XiyIyyAZXt1r3F7riXVwVyiaOzjegUt6zt8=; b=NkrWShuGAwW9JKY99jvdR2Vxk/eNSSVJ7FSdB3873VQgHBADIHm5uN/GKqVmMvNl916X B+6egDYmZPKv5g57mg6F21+YDe6X56pO+WRVrAUyN+4vomoEnfYdb6rmiyF6QAWAJVHT nYDgiJnSgghMdnM9c6bv7m8x6PnbhBNyNZoJETh+PmJl11s6iUpxqEvUv3lmGbfy4b+q XePZp7Gpl9B5Va2e3Uu3ThMbT8M3cgR2bhSziw8as/D3sHqAWk+yvJnbZUDNQcitgurA 3zSIyObFiUoCy0Kcu/1a89Hw27vBVK7rwhFokPOvgU7xeBRJZYUJCJMiAZUsh4fkddNN vQ== Received: from dc6wp-exch01.marvell.com ([4.21.29.232]) by mx0a-0016f401.pphosted.com with ESMTP id 378umtfrbg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 16 Mar 2021 02:27:33 -0700 Received: from DC6WP-EXCH01.marvell.com (10.76.176.21) by DC6WP-EXCH01.marvell.com (10.76.176.21) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 16 Mar 2021 05:27:31 -0400 Received: from maili.marvell.com (10.76.176.51) by DC6WP-EXCH01.marvell.com (10.76.176.21) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 16 Mar 2021 05:27:31 -0400 Received: from hyd1soter2.marvell.com (unknown [10.29.37.45]) by maili.marvell.com (Postfix) with ESMTP id 68AEC3F703F; Tue, 16 Mar 2021 02:27:28 -0700 (PDT) From: Hariprasad Kelam To: , CC: , , , , , , , Subject: [net PATCH 4/9] octeontx2-af: Remove TOS field from MKEX TX Date: Tue, 16 Mar 2021 14:57:08 +0530 Message-ID: <1615886833-71688-5-git-send-email-hkelam@marvell.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1615886833-71688-1-git-send-email-hkelam@marvell.com> References: <1615886833-71688-1-git-send-email-hkelam@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.761 definitions=2021-03-16_03:2021-03-15,2021-03-16 signatures=0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Subbaraya Sundeep TOS overlaps with DMAC field in mcam search key and hence installing rules for TX side are failing. Hence remove TOS field from TX profile. Fixes: 42006910("octeontx2-af: cleanup KPU config data") Signed-off-by: Subbaraya Sundeep Signed-off-by: Hariprasad Kelam Signed-off-by: Sunil Kovvuri Goutham --- drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h b/drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h index b192692..5c372d2 100644 --- a/drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h +++ b/drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h @@ -13499,8 +13499,6 @@ static struct npc_mcam_kex npc_mkex_default = { [NPC_LT_LC_IP] = { /* SIP+DIP: 8 bytes, KW2[63:0] */ KEX_LD_CFG(0x07, 0xc, 0x1, 0x0, 0x10), - /* TOS: 1 byte, KW1[63:56] */ - KEX_LD_CFG(0x0, 0x1, 0x1, 0x0, 0xf), }, /* Layer C: IPv6 */ [NPC_LT_LC_IP6] = { -- 2.7.4