Message ID | 20230503070944.960190-1-saikrishnag@marvell.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1133446vqo; Wed, 3 May 2023 00:18:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7mqhS1XN/eowU4q//wl2SYurqAAQWpYNnjaaxmbii9sges2zJ8Ufeui+G9QZjgbl5KYcwE X-Received: by 2002:a17:90a:ec0c:b0:24e:14a4:9b93 with SMTP id l12-20020a17090aec0c00b0024e14a49b93mr7074332pjy.43.1683098281499; Wed, 03 May 2023 00:18:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683098281; cv=none; d=google.com; s=arc-20160816; b=ssx8MosX5WEyihpCtWQit/Ej/jO1nXLBnpPWlPLpGvsW3iayMgxR6kFXgI09dZykya T0a3bVIoBeizfbCmHBoMBXtaoolrer5/3mJRxJrD/T8CLf/qminFYlVD7sLtqpIl4nND IHDxiKqn3WiYaNfcRxwMDfT+BHyDGmAEld2oLMYg/L8AM731aQsRnhF+rfigFReCgKAH IhVQZabXozPwIy/hSLbAPznJ79d5IJhHNE/dLbxgMRuiFQ+P+OHDtJ0ziq1UR2iRTGpk bTGvscyBbAftmgWB+39QduGrX2nuuZFJL/TgV1Jhe4RqxBLFWMqoY8zlZoLPS6JkOt6A QP/Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=6Mcsx5t9iR9kcFBpaV+wzj9CUlqadPfT07oLtT9p/0k=; b=cBiJKIU1luGN+6heFFqbjBJVvLfyaL7CgAyuL9HdkboH5U4CdCOLBTw52AvHRDD7Vd ICTBTqH8Ni4knq1VQvF1IwJvgMsVUEpxXpQY8WBoheWls1yVS+MfpwAINkd7MLx9H+fy vOYdzQyOwXzXUruRn7mrbPJ1EaYebVN8ALaMZbW7ZdC6SwYZZnY78csgNoP9fbHmsJko WQsk2mk33zMJve+AXe0laksn/7yQ+Q8UvJTUmxM0osCPgr6W5a5rj3Txm5HKWTk22y3O dGGTKlyPV1QeqVeKltlQKAkL1HliDf6HpKtt1plFFj6IDLwMMyBmx6FeaDYQiyDFHg45 /uxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=a6iHMGBV; 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=REJECT dis=NONE) header.from=marvell.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 6-20020a17090a1a4600b0024e5126c0a2si290274pjl.84.2023.05.03.00.17.48; Wed, 03 May 2023 00:18:01 -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=@marvell.com header.s=pfpt0220 header.b=a6iHMGBV; 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=REJECT dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229690AbjECHKY (ORCPT <rfc822;heyuhang3455@gmail.com> + 99 others); Wed, 3 May 2023 03:10:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229581AbjECHKV (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 3 May 2023 03:10:21 -0400 Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D27212736; Wed, 3 May 2023 00:10:14 -0700 (PDT) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34369xsr003337; Wed, 3 May 2023 00:09:59 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=6Mcsx5t9iR9kcFBpaV+wzj9CUlqadPfT07oLtT9p/0k=; b=a6iHMGBVq87mTHctmJEogOUBVU7gDbHsdggE48vyKmjn99es2ofQhEnwFMHRyxfa+BZm BLH9QsrULCCwQyIgMZW/ryG3lXemCIeFwICXgHI9zlCX13JjYXLc6ZpDBQGwcABwDIY6 iaXatoil+aOONwfjD47JyRcuIj1JWHofuEBKAp43SrrcoqM8SZl1hRTtPI1ld2HAqfqc O6g18CG/diFxHPdUgXx7SUNhxSumCOCNSooYoi7Ioihc9bVvRJufpin83siKyYGHTBiy foBorHIgRiOOFdXq1J8BQpYnYxelSg1gIRTYlgUlabhNmYLpTNaew4lXGyxxyWPZMgrJ fg== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3q92rp3m6s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 03 May 2023 00:09:58 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 3 May 2023 00:09:51 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Wed, 3 May 2023 00:09:51 -0700 Received: from hyd1425.marvell.com (unknown [10.29.37.83]) by maili.marvell.com (Postfix) with ESMTP id 1D3D23F70A6; Wed, 3 May 2023 00:09:46 -0700 (PDT) From: Sai Krishna <saikrishnag@marvell.com> To: <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>, <pabeni@redhat.com>, <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <simon.horman@corigine.com>, <leon@kernel.org>, <sgoutham@marvell.com>, <gakula@marvell.com>, <lcherian@marvell.com>, <jerinj@marvell.com>, <hkelam@marvell.com>, <sbhatta@marvell.com> CC: Sai Krishna <saikrishnag@marvell.com> Subject: [net PATCH v5 00/11] octeontx2: Miscellaneous fixes Date: Wed, 3 May 2023 12:39:33 +0530 Message-ID: <20230503070944.960190-1-saikrishnag@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: QrAfS2EDw5wxNmfugFTLrNCvJlDd8Xho X-Proofpoint-GUID: QrAfS2EDw5wxNmfugFTLrNCvJlDd8Xho X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-03_04,2023-04-27_01,2023-02-09_01 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764856464084400809?= X-GMAIL-MSGID: =?utf-8?q?1764856464084400809?= |
Series |
octeontx2: Miscellaneous fixes
|
|
Message
Sai Krishna Gajula
May 3, 2023, 7:09 a.m. UTC
This patchset includes following fixes. Patch #1 Fix for the race condition while updating APR table Patch #2 Fix end bit position in NPC scan config Patch #3 Fix depth of CAM, MEM table entries Patch #4 Fix in increase the size of DMAC filter flows Patch #5 Fix driver crash resulting from invalid interface type information retrieved from firmware Patch #6 Fix incorrect mask used while installing filters involving fragmented packets Patch #7 Fixes for NPC field hash extract w.r.t IPV6 hash reduction, IPV6 filed hash configuration. Patch #8 Fix for NPC hardware parser configuration destination address hash, IPV6 endianness issues. Patch #9 Fix for skipping mbox initialization for PFs disabled by firmware. Patch #10 Fix disabling packet I/O in case of mailbox timeout. Patch #11 Fix detaching LF resources in case of VF probe fail. Geetha sowjanya (1): octeontx2-af: Secure APR table update with the lock Hariprasad Kelam (1): octeontx2-af: Add validation for lmac type Ratheesh Kannoth (6): octeontx2-af: Fix start and end bit for scan config octeontx2-af: Fix depth of cam and mem table. octeontx2-pf: Increase the size of dmac filter flows octeontx2-af: Update/Fix NPC field hash extract feature octeontx2-af: Fix issues with NPC field hash extract octeontx2-af: Skip PFs if not enabled Subbaraya Sundeep (2): octeontx2-pf: Disable packet I/O for graceful exit octeontx2-vf: Detach LF resources on probe cleanup Suman Ghosh (1): octeontx2-af: Update correct mask to filter IPv4 fragments --- v5 changes: Fixed review comments given by Simon Horman 1. Split the patch. 2. Modified/Elaborated commit messages. 3. Fixed duplicate code using goto statements. v4 changes: Fixed review comments given by Simon Horman 1. Replaced kcalloc() with bitmap_zalloc(). 2. Modified/Elaborated commit messages. 3. Fixed end bit position in NPC exact match bitmap enable. v3 changes: Fixed review comments given by Simon Horman 1. Split the patches 2. Replaced devm_kcalloc() with kcalloc. 3. Remove un-necessary validation before free_percpu 4. Modified/Elaborated commit message 5. Move the lock to inner function "rvu_get_lmtaddr()" to avoid synchronization issues. v2 changes: Fixed review comments given by Leon Romanovsky 1. Updated lmac_type in case of invalid lmac 2. Modified commit message .../net/ethernet/marvell/octeontx2/af/cgx.c | 8 ++ .../net/ethernet/marvell/octeontx2/af/mbox.c | 5 +- .../net/ethernet/marvell/octeontx2/af/mbox.h | 19 ++- .../net/ethernet/marvell/octeontx2/af/rvu.c | 49 +++++-- .../ethernet/marvell/octeontx2/af/rvu_cn10k.c | 13 +- .../marvell/octeontx2/af/rvu_npc_fs.c | 26 ++-- .../marvell/octeontx2/af/rvu_npc_fs.h | 4 + .../marvell/octeontx2/af/rvu_npc_hash.c | 125 ++++++++++-------- .../marvell/octeontx2/af/rvu_npc_hash.h | 10 +- .../marvell/octeontx2/nic/otx2_common.h | 4 +- .../ethernet/marvell/octeontx2/nic/otx2_pf.c | 11 +- .../ethernet/marvell/octeontx2/nic/otx2_tc.c | 2 +- .../ethernet/marvell/octeontx2/nic/otx2_vf.c | 2 +- 13 files changed, 187 insertions(+), 91 deletions(-)
Comments
Hello: This series was applied to netdev/net.git (main) by David S. Miller <davem@davemloft.net>: On Wed, 3 May 2023 12:39:33 +0530 you wrote: > This patchset includes following fixes. > > Patch #1 Fix for the race condition while updating APR table > > Patch #2 Fix end bit position in NPC scan config > > Patch #3 Fix depth of CAM, MEM table entries > > [...] Here is the summary with links: - [net,v5,01/11] octeontx2-af: Secure APR table update with the lock https://git.kernel.org/netdev/net/c/048486f81d01 - [net,v5,02/11] octeontx2-af: Fix start and end bit for scan config https://git.kernel.org/netdev/net/c/c60a6b90e789 - [net,v5,03/11] octeontx2-af: Fix depth of cam and mem table. https://git.kernel.org/netdev/net/c/60999cb83554 - [net,v5,04/11] octeontx2-pf: Increase the size of dmac filter flows https://git.kernel.org/netdev/net/c/2a6eecc592b4 - [net,v5,05/11] octeontx2-af: Add validation for lmac type https://git.kernel.org/netdev/net/c/cb5edce27176 - [net,v5,06/11] octeontx2-af: Update correct mask to filter IPv4 fragments https://git.kernel.org/netdev/net/c/2075bf150ddf - [net,v5,07/11] octeontx2-af: Update/Fix NPC field hash extract feature https://git.kernel.org/netdev/net/c/406bed11fb91 - [net,v5,08/11] octeontx2-af: Fix issues with NPC field hash extract https://git.kernel.org/netdev/net/c/f66155905959 - [net,v5,09/11] octeontx2-af: Skip PFs if not enabled https://git.kernel.org/netdev/net/c/5eb1b7220948 - [net,v5,10/11] octeontx2-pf: Disable packet I/O for graceful exit https://git.kernel.org/netdev/net/c/c926252205c4 - [net,v5,11/11] octeontx2-vf: Detach LF resources on probe cleanup https://git.kernel.org/netdev/net/c/99ae1260fdb5 You are awesome, thank you!