Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp425789rwr; Wed, 3 May 2023 00:10:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6RwX5P0wpsyXZ57pD9QiSCXdXw9Lidfx3G6nSeSLbWmdQr221aQ1sUVO1+BGaputMPUWj1 X-Received: by 2002:a05:6a20:3d83:b0:f3:6746:ba37 with SMTP id s3-20020a056a203d8300b000f36746ba37mr20580047pzi.13.1683097845117; Wed, 03 May 2023 00:10:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683097845; cv=none; d=google.com; s=arc-20160816; b=umZcH8Sh0FfFcgSkOw9tXm4+CmJDy6Wv4+GJmyo6dFusCcKfm4Nf/mhqWkmnDEHdnO cwFkFE1RA/BETlIp6erIqdY7tENk4YZ1jx+K12t+wC5/IgY+uvXBvszKvfRF9/qTEqBV Oc491XqQlrMHCCroWLWRizkB1b3v9qO0UubBH/ehTsMHJQiBmUNbDH3um+1DKYZJzyW0 akWaT/WWORx5Q524R3+enjkWSmqeYCEfUlVZQ2admMr7N0NGLFkrfl4fVbAgcyVlFYXo pG3Pe9tNJ1GEXzxdcmH1buqDFySW8zf4HdSqOwuXQR2RJtr1w8LGE0Erst2ltCWxnwr7 8/kw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w68-20020a626247000000b0063b87f60f7bsi32313519pfb.48.2023.05.03.00.10.31; Wed, 03 May 2023 00:10:45 -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 S229694AbjECHKX (ORCPT + 99 others); Wed, 3 May 2023 03:10:23 -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 ); 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 To: , , , , , , , , , , , , , CC: Sai Krishna 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: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.25.1