From patchwork Wed Aug 9 07:05:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Ghosh X-Patchwork-Id: 13360 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2630062vqr; Wed, 9 Aug 2023 00:50:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHRkjKkK73JMCKetE5Kvmv4DP6ElhwQTWsWvQeRHHK2r4KXncLc0RWKRGcWjB04gYbMMj4y X-Received: by 2002:a05:6a00:a91:b0:679:bc89:e45 with SMTP id b17-20020a056a000a9100b00679bc890e45mr1808343pfl.6.1691567418001; Wed, 09 Aug 2023 00:50:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691567417; cv=none; d=google.com; s=arc-20160816; b=Irirv3p2xcvmpj5vwfkuWJKMt8S0Wb/M8iugvIALpVyFebEQBM5LYGqMjJeoQjhiIC gSqQA5nvLb5q9OtPKipeniCVTU706UYBYnwER9TCP82vNtMsvQ8qXfbFNvthn0v3OghQ iFcCXmEuAxuKWx0Voltuxy86+XarDNd9bQqgURUjaIvCtpDe0Ug9Q2cs0vKOQgvNnw/P m5EQ6kYug0Upzu+7ivcvofHkd9SxGR/XbitrCFHaJBxQo5AN8Byko0t8RNJpdflvhVGA i/jmiD+kqzjBM1lzj4uunDl3Bdy0oM+R6UGSllitPxAKPkzAtnGsPHhQexV8b5HA3f4T t1zQ== 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=+Hsc2+YoQSOX68y7WU8LnKL8cn4BAkjsPBo+6lWUebo=; fh=zaZMevJusfEyKCjkBAg52tAXDoBEUdsdtBKhQ6uTJKI=; b=Z2EoK12TpMBhtUSirUO6zH7mAtS1RMlqxcASSfSx0iFslQE5dxj9yd5qUxQc8heyxv nN4L7nrnifwNEbnDaWruHBW4cf8gc6BKDer1Wik6ErlkbwTSnA5qrzse4jaVsyrFSjPs h5DkG/F9NXNmc5t80p/VpKS6Zw58RaNXNfjSfogS3w1tiffZeFzbizFgV7TZ2El9gnDA S+ilRoZhdkt1uDHZsmO+2OnfBIz1rv/LCnS/wCDdWlBc5PJ2I/1EcVwIgyf/dlz0ljaw E+TRqwmuYbc+/pNZN2NJ7q62Oq5DdjafesElG1lEWqMcdU31kY9TgjN6oGr5EIEj1iEi +Ftg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=L0gfPDaC; 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 bk13-20020a056a02028d00b0056532015a58si1121696pgb.774.2023.08.09.00.50.04; Wed, 09 Aug 2023 00:50:17 -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=L0gfPDaC; 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 S231398AbjHIHFz (ORCPT + 99 others); Wed, 9 Aug 2023 03:05:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231382AbjHIHFx (ORCPT ); Wed, 9 Aug 2023 03:05:53 -0400 Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73E501BCF; Wed, 9 Aug 2023 00:05:53 -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 378Nol4T010112; Wed, 9 Aug 2023 00:05:41 -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=+Hsc2+YoQSOX68y7WU8LnKL8cn4BAkjsPBo+6lWUebo=; b=L0gfPDaCi+Mc5sY2eMoG3/I7khQVK+Ex9zSyd/YoM18BLAHNY65okhjgE8OR3sz7+Vn/ x0ryGwhn3bBVCLupWOyRBdtu5/16Eb2sLxuVPBck1PJwuYlSADC6vibM+h6LMcwJqvcb q8J7iGukd6YYtNlHTR8WD6MDhSKAkc88MKwepvuZKg6lgs2Vg1Y64Oy3Lv3+8fXRXtb/ YrnVmsnD8l+drPIIc9paQNcklH/MfGbNWNFSwUukzHouwgYQh33OGjHRK4GLhKIBj8Gt vbiJKpr4arzHIMic0LburgAwJeacJUVfnqRSFgo0AvBNJyIFlN51sjWDdCzDBnOICZVz 2Q== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3sbkntktqq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 09 Aug 2023 00:05:41 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 9 Aug 2023 00:05:39 -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, 9 Aug 2023 00:05:39 -0700 Received: from localhost.localdomain (unknown [10.28.36.166]) by maili.marvell.com (Postfix) with ESMTP id 322F73F7061; Wed, 9 Aug 2023 00:05:34 -0700 (PDT) From: Suman Ghosh To: , , , , , , , , , , , CC: Suman Ghosh Subject: [net PATCH V2 0/4] Fix PFC related issues Date: Wed, 9 Aug 2023 12:35:28 +0530 Message-ID: <20230809070532.3252464-1-sumang@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-GUID: khN410DhqFG13rUXK8cRjGRMz_0GKuuY X-Proofpoint-ORIG-GUID: khN410DhqFG13rUXK8cRjGRMz_0GKuuY X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-09_05,2023-08-08_01,2023-05-22_02 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773736996913860140 X-GMAIL-MSGID: 1773736996913860140 This patchset fixes multiple PFC related issues related to Octeon. Patch #1: octeontx2-pf: Update PFC configuration Patch #2: octeontx2-pf: Fix PFC TX scheduler free Patch #3: octeontx2-af: CN10KB: fix PFC configuration Patch #4: octeonxt2-pf: Fix backpressure config for multiple PFC priorities to work simultaneously Hariprasad Kelam (1): octeontx2-af: CN10KB: fix PFC configuration Suman Ghosh (3): octeontx2-pf: Update PFC configuration octeontx2-pf: Fix PFC TX scheduler free octeonxt2-pf: Fix backpressure config for multiple PFC priorities to work simultaneously --- v2 changes: 1. Fixed compilation error in patch #2 ERROR: modpost: "otx2_txschq_free_one" [drivers/net/ethernet/marvell/octeontx2/nic/rvu_nicvf.ko] undefined! 2. Added new patch #4 to the patch set. This patch fixes another PFC related issue. .../net/ethernet/marvell/octeontx2/af/rpm.c | 17 ++++----- .../marvell/octeontx2/nic/otx2_common.c | 1 + .../marvell/octeontx2/nic/otx2_dcbnl.c | 35 ++++++++----------- 3 files changed, 24 insertions(+), 29 deletions(-)