From patchwork Sun Jul 30 08:00:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Ghosh X-Patchwork-Id: 12821 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp1427249vqg; Sun, 30 Jul 2023 03:14:35 -0700 (PDT) X-Google-Smtp-Source: APBJJlGlzaWUdrqrL8iM022DPRRnk0Nl8jMFN3kaELWeR2mdaBhGmoupp1oOqTyzQIeo61h8s71R X-Received: by 2002:a17:903:4283:b0:1bb:1504:b659 with SMTP id ju3-20020a170903428300b001bb1504b659mr6194845plb.40.1690712075437; Sun, 30 Jul 2023 03:14:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690712075; cv=none; d=google.com; s=arc-20160816; b=Y1B/tyibm9LEBBEbFEmFCwzEYDRsDxISe//Yr5Je4C/ZnpIY8kmdGxr61QUjeMxEGH AquDVjKY74+/tGzTJXkMJaH/dONodjvqFfXmaYqpzghxFd7GiICYog2yZ+lToCNmEMcW xMytyWJ0g9gShpeD+5lw7SL5wD2J7fJxPfcFnAcNpyHHm0QMdgd65nuqoLBwJDjHl3iw Cz2OP4+jMSheR1yeZEOeSvwUXCHdq/HTadwS1V4cW6YcqGvyCIX6AkEBw0NUe24elOkb ffexKaOP1naY9fjgTBix4iERr2PILhOGaHTmjmUdHN3OoyuLCuFzsultVGIABkNALg7h Zpww== 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=yiQhQPcbST93uqmvQs608MRTPE8/5cstdmtGYWxa/aE=; fh=3ywq1KMjSb2Yjp0wxi04N5wIQTK9ttBDVyDx2nr5PZ0=; b=fi98mB/UB6eiqWUSgEhcMAJM325f5YliHlSA9ku6hbsqrI9s1+EvUYfLUU4Sn8sqo3 7gXJGF+IndEwmMXi1+sdMIUcc2gcTQIf57O9YBmM/Nx36mbHcmHV81zIl0gkmZJnU/aH qn8rHqH9vi6dVehaW9vyrOKn2ecdTDa3MYLfYTpwCW3OdQ1KxOgSc013h4Urx9ImBrUJ Q+zqUN4/KN107C5PCGq45DY2r8VBq/74GMV0bpkHHcr9/DwsdHb4yK3W/DDOXZMozthn MX71VNj63SS46CDVq1MbhxfTo0Ybfj2Q1KwFr5S/K4aMaR3UQUqG6gZUHmfeFDKcD18I FmLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=VcuNVgEh; 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 kg14-20020a170903060e00b001bb7d55d15csi5600077plb.284.2023.07.30.03.14.22; Sun, 30 Jul 2023 03:14:35 -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=VcuNVgEh; 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 S229721AbjG3IAf (ORCPT + 99 others); Sun, 30 Jul 2023 04:00:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbjG3IAd (ORCPT ); Sun, 30 Jul 2023 04:00:33 -0400 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80AC61710; Sun, 30 Jul 2023 01:00:32 -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 36U7fNr4027626; Sun, 30 Jul 2023 01:00:19 -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=yiQhQPcbST93uqmvQs608MRTPE8/5cstdmtGYWxa/aE=; b=VcuNVgEh1LdC2xq/K7flif/wJ700IDHlvxev4HWKlDU/SVCmwKnFYI/+JrDnJM6Z1oAa Qg4yVbYc4RMikte+BZsIPG8Nkn5otEoWrqtk0umTuX6ABAfu918p9PQYAkIaHoP7ZsNB X0s5eUSaLPMsIHlIOsmUZKHFBFL0RkTArQMACXzMNzDcry6ww5fYv7S31Ndeq91DG0qW 4FVppS+ttXQ9YXkS2xDsBx2H1H1CyBREdfdyBN9tCG2GblnsDQ4iGm5cQQ9oInvgGw7D ZtJ5aE9vHhxf3RRWcyUuRV8PLQ/2gzECjVl2WsGCOxRy5U7anh8NWy0nI+tKoB3ygfG2 vA== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3s504nj6rq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 30 Jul 2023 01:00:18 -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; Sun, 30 Jul 2023 01:00:17 -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; Sun, 30 Jul 2023 01:00:17 -0700 Received: from localhost.localdomain (unknown [10.28.36.166]) by maili.marvell.com (Postfix) with ESMTP id 539103F706D; Sun, 30 Jul 2023 01:00:12 -0700 (PDT) From: Suman Ghosh To: , , , , , , , , , , , , CC: Suman Ghosh Subject: [net-next PATCH V2 0/2] octeontx2-af: Code restructuting and new Date: Sun, 30 Jul 2023 13:30:07 +0530 Message-ID: <20230730080009.2842927-1-sumang@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: ryAzfxcNoKwPeMGGGjBzqpwtQlWdnsVw X-Proofpoint-GUID: ryAzfxcNoKwPeMGGGjBzqpwtQlWdnsVw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-27_10,2023-07-26_01,2023-05-22_02 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_PASS,T_SCC_BODY_TEXT_LINE 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: 1772840105370676957 X-GMAIL-MSGID: 1772840105370676957 This patchset includes minor code restructuring related to TC flower offload for outer vlan and adding support for TC inner vlan offload. Patch #1 Code restructure to handle TC flower outer vlan offload Patch #2 Add TC flower offload support for inner vlan Suman Ghosh (2): octeontx2-af: Code restructure to handle TC outer VLAN offload octeontx2-af: TC flower offload support for inner VLAN .../net/ethernet/marvell/octeontx2/af/mbox.h | 1 + .../net/ethernet/marvell/octeontx2/af/npc.h | 3 + .../marvell/octeontx2/af/rvu_debugfs.c | 5 + .../marvell/octeontx2/af/rvu_npc_fs.c | 13 +++ .../ethernet/marvell/octeontx2/nic/otx2_tc.c | 105 +++++++++++------- 5 files changed, 89 insertions(+), 38 deletions(-)