Message ID | 20230329170619.183064-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 b10csp565376vqo; Wed, 29 Mar 2023 10:11:31 -0700 (PDT) X-Google-Smtp-Source: AKy350ZYxbND2ggV0AtpbaTaEmYRRPuGcemqvyRnE2zJoNd3n2GUIR+EdAK1z2BenYvWHwIY/d/n X-Received: by 2002:a05:6402:658:b0:4fb:6523:2b38 with SMTP id u24-20020a056402065800b004fb65232b38mr21311395edx.27.1680109891506; Wed, 29 Mar 2023 10:11:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680109891; cv=none; d=google.com; s=arc-20160816; b=Et1QlCcilByJfLsfkWk3UuzDjl+PzbFHIn9+L2ZUmk5iZIFNfrQCFrz2WdmUs+jDJ4 kMSYoDgbqEcpsqnJGKBTKd46VEOOuwJR29T0d5Agdmbo/O3Q0Lr71Nxi/NIXtmvPstYu 1zuaFoCNtUqc9gwVdzSqCtm1XjLam2utt4YwQN5y/dhES1A4BN68On31X1xqg3XkQfX6 DpXULmtz8m+1lrkuO2bobzJ0svHdSQqelpmH3yS6LXG2KtbQcXJqvQH0Hi+CeDEZn+L+ ddeqB5Mzz+l0JwAzVPe+xJVkiMkXqFcEXI9mEPVu3Ds+9EAhx1Rz2sh8SYXadAvaQOYO Ex9A== 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=mcTr6C/VINCIhh/n2bFcYfbZySHmKBzy5wGzLXUqooY=; b=XS+Wc9dEOuf4LM+YzcpJ/WZCn02B/IGljl8s6XPIuFxxCCVDnbvSjrf04y520FMUdz 4B7ZPnDZpGgiwcPW/tsgpk4KRNwR/muZcMCAFPvg2yGRPqKVsrh/OEZwUfaS8qHXM3dk HRI4dlokoPxt+7L4jN7YkxysfCYTuBAmG1R511GTxl8PE8KHyc70Di+swGPH3Yci4DAY 5wGq/8g5CNSg2sQ8unS1y9WeXAjJtLbKMxF8gAcb8rmTbXZj3liIA1iTVbBF63nsegxl UnyXvQ5BB37aFaHtOjctTavISXq8W01CFVS/SSZ3ptUoTc1fVdj9qoW7JO+4MYQWCOgQ AyiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b="iJo+W/Dv"; 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 r7-20020a056402034700b004acdca46ec2si34533443edw.440.2023.03.29.10.11.07; Wed, 29 Mar 2023 10:11:31 -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="iJo+W/Dv"; 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 S231480AbjC2RHr (ORCPT <rfc822;rua109.linux@gmail.com> + 99 others); Wed, 29 Mar 2023 13:07:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231237AbjC2RHP (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 29 Mar 2023 13:07:15 -0400 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D3F3728A; Wed, 29 Mar 2023 10:06:57 -0700 (PDT) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32TDTk6R009203; Wed, 29 Mar 2023 10:06:45 -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=mcTr6C/VINCIhh/n2bFcYfbZySHmKBzy5wGzLXUqooY=; b=iJo+W/Dvt5j4KOIbYp7CHnI0AnUXazbuiy3/JzwA868IawSvjg/Dex7jQd4CKGPEMkVi v7zmiOunY5aFZm4YTsW4tPoIwZJ0U3F8bHbmUNaMiOw5so14XLvvFgejo8hnzyCNrcCy 7CpuDdIawHbPc5g8HFzZfqLmhae3ds33jRJQgAfgozNP1yTve9BQoqsUJEfArJgbld6h 59P5qZeRp4ayqcMgLxjbDKDYwDi/5/jZlvFYrithspHKnjhiRouyOVrX3rbUDS1EVB1S URVnCeOdwvF7v8lkU3w2GcEU2oJR7f7mZwLTg6nv+b56Bu64gOtP5Z8lmt/VTDHJR+5T UQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3pmdqhkqs9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 29 Mar 2023 10:06:45 -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, 29 Mar 2023 10:06:43 -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, 29 Mar 2023 10:06:43 -0700 Received: from hyd1425.marvell.com (unknown [10.29.37.83]) by maili.marvell.com (Postfix) with ESMTP id CA0DD3F704E; Wed, 29 Mar 2023 10:06:40 -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>, <sgoutham@marvell.com>, <richardcochran@gmail.com> CC: Sai Krishna <saikrishnag@marvell.com> Subject: [net PATCH 0/7] octeontx2: Miscellaneous fixes Date: Wed, 29 Mar 2023 22:36:12 +0530 Message-ID: <20230329170619.183064-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: L3Vm8IAtLGKAWxcxv4pp0bmAlWPUMAdT X-Proofpoint-GUID: L3Vm8IAtLGKAWxcxv4pp0bmAlWPUMAdT 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-03-29_10,2023-03-28_02,2023-02-09_01 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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?1761722909595008482?= X-GMAIL-MSGID: =?utf-8?q?1761722909595008482?= |
Series |
octeontx2: Miscellaneous fixes
|
|
Message
Sai Krishna Gajula
March 29, 2023, 5:06 p.m. UTC
This patchset includes following fixes. Patch #1 Fix for the race condition while updating APR table Patch #2 Fix for bit positions in NPC, MCAM table entries Patch #3 Fix driver crash resulting from invalid interface type information retrieved from firmware Patch #4 Fix incorrect mask used while installing filters inlovling fragmented packets Patch #5 Fixes for NPC field hash extract w.r.t IPV6 hash reduction, IPV6 filed hash configuration, parser confiuration destination address hash. Patch #6 Fix for skipping mbox initialization for PFs disabled by firmware. Patch #7 Fix disabling packet I/O in case of mailbox timeout. Geetha sowjanya (1): octeontx2-af: Secure APR table update with the lock Hariprasad Kelam (1): octeontx2-af: Add validation for lmac type Ratheesh Kannoth (3): octeontx2-af: Fix start and end bit for scan config octeontx2-af: Fix issues with NPC field hash extract octeontx2-af: Skip PFs if not enabled Subbaraya Sundeep (1): octeontx2-pf: Disable packet I/O for graceful exit Suman Ghosh (1): octeontx2-af: Update correct mask to filter IPv4 fragments .../net/ethernet/marvell/octeontx2/af/cgx.c | 7 + .../net/ethernet/marvell/octeontx2/af/mbox.c | 5 +- .../net/ethernet/marvell/octeontx2/af/mbox.h | 19 ++- .../net/ethernet/marvell/octeontx2/af/rvu.c | 38 +++++- .../ethernet/marvell/octeontx2/af/rvu_cn10k.c | 8 +- .../marvell/octeontx2/af/rvu_npc_fs.c | 28 ++-- .../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 | 8 +- 13 files changed, 181 insertions(+), 88 deletions(-)
Comments
On Wed, 29 Mar 2023 22:36:12 +0530 Sai Krishna wrote: > 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>, <sgoutham@marvell.com>, <richardcochran@gmail.com> > CC: Sai Krishna <saikrishnag@marvell.com> First of all, does the maintainers file need to be updated? This driver has a crazy number of maintainers: MARVELL OCTEONTX2 RVU ADMIN FUNCTION DRIVER M: Sunil Goutham <sgoutham@marvell.com> M: Linu Cherian <lcherian@marvell.com> M: Geetha sowjanya <gakula@marvell.com> M: Jerin Jacob <jerinj@marvell.com> M: hariprasad <hkelam@marvell.com> M: Subbaraya Sundeep <sbhatta@marvell.com> L: netdev@vger.kernel.org S: Supported F: Documentation/networking/device_drivers/ethernet/marvell/octeontx2.rst F: drivers/net/ethernet/marvell/octeontx2/af/ And yet the person posting patches for the company is not on that list?! Please clean this up, or CC authors of patches on the fixes.
Will check and submit a patch, if needed > -----Original Message----- > From: Jakub Kicinski <kuba@kernel.org> > Sent: Thursday, March 30, 2023 11:18 PM > To: Sai Krishna Gajula <saikrishnag@marvell.com> > Cc: davem@davemloft.net; edumazet@google.com; pabeni@redhat.com; > netdev@vger.kernel.org; linux-kernel@vger.kernel.org; Sunil Kovvuri > Goutham <sgoutham@marvell.com>; richardcochran@gmail.com > Subject: Re: [net PATCH 0/7] octeontx2: Miscellaneous fixes > > On Wed, 29 Mar 2023 22:36:12 +0530 Sai Krishna wrote: > > 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>, > <sgoutham@marvell.com>, <richardcochran@gmail.com> > > CC: Sai Krishna <saikrishnag@marvell.com> > > First of all, does the maintainers file need to be updated? > > This driver has a crazy number of maintainers: > > MARVELL OCTEONTX2 RVU ADMIN FUNCTION DRIVER > M: Sunil Goutham <sgoutham@marvell.com> > M: Linu Cherian <lcherian@marvell.com> > M: Geetha sowjanya <gakula@marvell.com> > M: Jerin Jacob <jerinj@marvell.com> > M: hariprasad <hkelam@marvell.com> > M: Subbaraya Sundeep <sbhatta@marvell.com> > L: netdev@vger.kernel.org > S: Supported > F: > Documentation/networking/device_drivers/ethernet/marvell/octeo > ntx2.rst > F: drivers/net/ethernet/marvell/octeontx2/af/ > > And yet the person posting patches for the company is not on that list?! > Please clean this up, or CC authors of patches on the fixes.