Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2159631rdb; Thu, 7 Dec 2023 22:56:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IHIX/B0wODyJU2rZg9s45JBviCagiKZu3gDz1tmur1IrVDSdPkAnCuFH69Zs/B2EJAIGjH8 X-Received: by 2002:a05:6a00:84d:b0:6ce:7cba:3a6e with SMTP id q13-20020a056a00084d00b006ce7cba3a6emr4858874pfk.10.1702018598211; Thu, 07 Dec 2023 22:56:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702018598; cv=none; d=google.com; s=arc-20160816; b=rbcXfefZKlGu8hwpzz1/v/3SgU+Ikba9k3wgfPaSwCrbxLkZq5GWCO6m7I4Z3n1pW/ SGWi8XAjqJog0hkohEpBOId0h4p6yL0RJJNNTomZj4As7dYbE1dDQw6et8/1Nl8BP1NA XG7GGHuGtCpKdtr6WcbzWoFE1gt/uRx69Ae2fhSJ5+CTvlGrznW75eemjjqsLpn1zTg1 gIpl5yGE6vJToRzxZB7y5c8QvFteuM6bVNzEtIF5ugD9QbRgq6XL4CGzcJEPlzfL0p+A QAMvj9OH6WoNaU+yFebH4i3qhuFoghINuZsiToJNJDers+bw7Avx6kwfN8kvtFDrnjI+ ZTwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=Asifnag27XDf+5RroF5FKkXLOk8AcvsF3QCMi03ignc=; fh=+k3MSxe8bGu7+vpCqCHH3WWBYVLMuN2nEavX9/ZyOOI=; b=aAX2T/gbCtPI5qBv14GYQ/8bOSMSxEP4OZIL++cevIih1oEIXXpwgac9NB7n0+vXL9 1AH/+FDVHccqcls08IZxhglRS1HaxWQR0fkvT3PXhX1NM2EaYc/vvO/uQmUPOcmqaRPy wTsKdMiYA7lgglTJs8mYrnIIlDAiuSh1JQ0YWwkkY9DtCYa4B/8xwSAxvOylB+Cv5SPX 0BCafNThMAXpJJKboZRCXn6nB9gkj1h5iQZ1bSxvbkViaIyrLPPnMpEITj4bmrZoEYTI c2O+yl1wpheQ+RA4qwsw5VE8hHJBBZnvgD9e5o3TUyd1JUWxK3FbxL+7Qf0uNIY38XUw WOfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b="h+Upgxe/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id y10-20020a056a00190a00b0068a54522bb0si1076951pfi.144.2023.12.07.22.56.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 22:56:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b="h+Upgxe/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id F0210817C8B0; Thu, 7 Dec 2023 22:56:35 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229801AbjLHG4U (ORCPT + 99 others); Fri, 8 Dec 2023 01:56:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbjLHG4S (ORCPT ); Fri, 8 Dec 2023 01:56:18 -0500 Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EABC81722; Thu, 7 Dec 2023 22:56:24 -0800 (PST) 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 3B81CqRG028994; Thu, 7 Dec 2023 22:56:18 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0220; bh=Asifnag27XDf+5RroF5FKkXLOk8AcvsF3QCMi03ignc=; b=h+Upgxe/gLZNgJoIjkg45Pjx/FS4VeHI2x2ss7LrSCa3y+9bL4AHV036pZU+5Rp+L8tU WOnKm6lL/9IYdGWB+e7i1XK9SZphepXWcKUkMtrefkVjPHqw7mj7lPrAAAbfEO8JMpRv 4JzVQffVj8yiOY3+clh77Myd0dmehdC3V32tCBfN+KrBF9DplWWzJKpHkPOD38q1G4p4 I0T/FtM0RsEn2kO11pb3oIaFVygPABiJczleiuYNr1JYf2Hyx2MZZD1+vdurHnrMlu8W 8HRDwSvZiGAOEFZOQKd7aQzNNrsCXZMP43gHQ3mDhCKBy+YSX3L8PCTuO695r7GGdPWX kg== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3uubddc0hx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 07 Dec 2023 22:56:18 -0800 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; Thu, 7 Dec 2023 22:56:15 -0800 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; Thu, 7 Dec 2023 22:56:15 -0800 Received: from hyd1soter3.marvell.com (unknown [10.29.37.12]) by maili.marvell.com (Postfix) with ESMTP id 129013F7050; Thu, 7 Dec 2023 22:56:11 -0800 (PST) From: Hariprasad Kelam To: , CC: , , , , , , , , , , Subject: [net 0/2] octeontx2: Fix issues with promisc/allmulti mode Date: Fri, 8 Dec 2023 12:26:08 +0530 Message-ID: <20231208065610.16086-1-hkelam@marvell.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-ORIG-GUID: Sh1es6nVbeAoL2-Y6Lqb7gGUGeDI_Jkj X-Proofpoint-GUID: Sh1es6nVbeAoL2-Y6Lqb7gGUGeDI_Jkj X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-08_02,2023-12-07_01,2023-05-22_02 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 07 Dec 2023 22:56:36 -0800 (PST) When interface is configured in promisc/all multi mode, low network performance observed. This series patches address the same. Patch1: Change the promisc/all multi mcam entry action to unicast if there are no trusted vfs associated with PF. Patch2: Configures RSS flow algorithm in promisc/all multi mcam entries to address flow distribution issues. Hariprasad Kelam (2): octeontx2-pf: Fix promisc mcam entry action octeontx2-af: Update RSS algorithm index .../ethernet/marvell/octeontx2/af/rvu_npc.c | 55 +++++++++++++++---- .../ethernet/marvell/octeontx2/nic/otx2_pf.c | 25 ++++++++- 2 files changed, 66 insertions(+), 14 deletions(-) -- 2.17.1