From patchwork Sun Jul 30 14:31:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Ghosh X-Patchwork-Id: 12826 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp1549890vqg; Sun, 30 Jul 2023 08:20:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlGqKhYh4sugtJdOOJNNuZgIpJ8Y+Yc9jdn9fY8aAJdJellXxCDK62DRZIewsrpFIkbOxkj0 X-Received: by 2002:a17:90a:de92:b0:268:13c4:b7fe with SMTP id n18-20020a17090ade9200b0026813c4b7femr8810631pjv.5.1690730418026; Sun, 30 Jul 2023 08:20:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690730418; cv=none; d=google.com; s=arc-20160816; b=FsceuZHnUzAiB5SDJDCUzj8lg8ADcN1PSK7H5I5vv5KzHZwjrZQBxY8Zm0XIykznQN bRozNNtTSKQbW0a+9eGTKyjsDm7XQ103V7rr0IQKwBPYnzvn00gITUsYd46IUiiELK0u nE+c9I9+lH9WnNHar/jsUR1R/uHIq4R1KCYGE7pGPvZNwWBQxQhd6pmPFL1+1JA3FJ/l /RB87bA8Y5vXYLvZL7moKuEBWG9mGFCPKIbOlL40ohWn5hI1HcXQHeVkTxe3kLn2dMmO t/1kA8Q81VPJoRJDCxNn16i7ffsqCcNI9GcXjqN5oCbUzZxRAKisMs/hcRF1GaU4X/lw zMyA== 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=ooqEK4CYhcwzrzxpYESuyTjgZvmXzoWCm9A8HmYW/6w=; fh=3ywq1KMjSb2Yjp0wxi04N5wIQTK9ttBDVyDx2nr5PZ0=; b=SPMg7LWXGuZvuFTSgVg5qkQQnGUw4aE1TQYaAHVFRDX57muMTi26tzDWSEeHFoSU0J FQudrngDDQvW1Wu9BGNQ3hJWWbhf5AK/skTyyb2b8FM0JnoJxhA+zttnKhjKiCBONznl Sjigp/0haJxr+0dYmRiWMWClCB2tE1ux9mY7G12C9dOZDIXhK8g5bm/rkZSVZgzNQ5/X paxScBFwClgyewe2Tdm9jzTvw/WYlgbKnV0NgTyimlILJbKeZOsq8S5KiEuY/62IRfN/ gjYzs/pdqM6a1S/17utDLyr51eHacoBwItjRNFj+0SoHq+z0afx6J4zafJ3ac0e+zbPg 392g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=jwBzaxTB; 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 l13-20020a17090add8d00b002563fbb8a85si6018293pjv.111.2023.07.30.08.20.05; Sun, 30 Jul 2023 08:20:18 -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=jwBzaxTB; 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 S229864AbjG3Ob1 (ORCPT + 99 others); Sun, 30 Jul 2023 10:31:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbjG3ObZ (ORCPT ); Sun, 30 Jul 2023 10:31:25 -0400 Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A61A8E59; Sun, 30 Jul 2023 07:31:24 -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 36U8Nfqq001638; Sun, 30 Jul 2023 07:31:16 -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=ooqEK4CYhcwzrzxpYESuyTjgZvmXzoWCm9A8HmYW/6w=; b=jwBzaxTBEl2w49gZQwB6X8xvGsozrQDGLjTNtlLSyaCD3M8cSgravtF8utPG7cLlZd9E KTcDeso41Rf0rZRY226xz+IMAzDTVyke3b37Ua1havsYqv8wpM2vwBX5ePEA7J9aXCqC DxcV1PM1JKwIQeIIfmKZv1oWJ/39lq6Cjbi8ZXvtEBQXqU9TCZP2RT5iX2s0BQPQ/aco huqG9r36e10BxFPaLii/XwNohoO4QjCg2+KP1buXF9sXgXKuZREiujypVNrqz3rpIc1A +sFBIRVXdZ4lhi/xOgz0YmSGmvPdz+UpLqlloKGdNVWutCn9njdxlyr3cO1Hw1ColgIf Xw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3s529k2c0p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 30 Jul 2023 07:31:16 -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; Sun, 30 Jul 2023 07:31:14 -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 07:31:14 -0700 Received: from localhost.localdomain (unknown [10.28.36.166]) by maili.marvell.com (Postfix) with ESMTP id 46FA13F70B4; Sun, 30 Jul 2023 07:31:10 -0700 (PDT) From: Suman Ghosh To: , , , , , , , , , , , , CC: Suman Ghosh Subject: [net-next PATCH V2 0/2] octeontx2-af: TC flower offload changes Date: Sun, 30 Jul 2023 20:01:05 +0530 Message-ID: <20230730143107.2845172-1-sumang@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-GUID: RKPk3g8aRCfu-RidB9P0eNsoSwCe5Jy7 X-Proofpoint-ORIG-GUID: RKPk3g8aRCfu-RidB9P0eNsoSwCe5Jy7 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: 1772859338763407218 X-GMAIL-MSGID: 1772859338763407218 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 v2 changes: 1. Fixed checkpatch errors in file drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c 2. Updated cover letter subject .../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(-)