From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 407BFA0C45; Wed, 4 Aug 2021 09:27:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C3E7F40696; Wed, 4 Aug 2021 09:27:17 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2075.outbound.protection.outlook.com [40.107.92.75]) by mails.dpdk.org (Postfix) with ESMTP id DEDF74014F for ; Wed, 4 Aug 2021 09:27:15 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XJYrrhvEHXXTKH693OBAzYYcdJNShgvRUfqHodR6m2G4RfUHRYqDpwcwL6B8RM17wBlvd6+Na5kSImq3Wev/sOp/C8drrd46fwjnP4iwTK1QLEm5EZ2ERRHR3xvK5gbcWficDpiIPxhCZTA+Bkstg1Q18eV5bPMJxDqPuUh/CBfydqEVHlfZYoqCTyPGjuVxud4UgxP56+j5eaK6cRkBghs7I7aJqBBl2mAgu6VPa1L1ckQ+QNZnlaYvvZ69j0n6UVRSwid5ut+bXNFQU9tRiCJJHqb6vWQDXVao+dD8G4TGTr2hBPDquSjPC+5JpSuA4Y7q0IsMPVGFuG1aDsFa2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RGfu0uhiPt7eap+H+zH2Pu7UiFEfdUGHjAPvjPPgCAk=; b=KHzBsRl8PTJGnrhWVNziXNpenP0yoMLL75KcTsC3gdwXOisiRMmy0hfJ/+14itn212AO/zAE++CMZj9cbLkNMomWvlyUQqgaj+Ly+62mYFuui8PQ2MMSHijczttunWIaNMbXuueEE8eTSGe8LYEXJkcATukidzs3VLSgmDDXndyRHPdqbIuNdzEd8HrNtRXmewLfbAx35bq1PiVJAsuVBOtURiopm85qdgOnjzZpw6I2NEZBWll5qfZWpya7M7rN9bDvYXa+SGj73nWt+hZY5O8d4DhAnoYh3Z3Du9Gh5lYUb2IGItjtrEYlU2yHYcPuTi6/YFk/DbOFLXDtHXYf9w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.35) smtp.rcpttodomain=monjalon.net smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RGfu0uhiPt7eap+H+zH2Pu7UiFEfdUGHjAPvjPPgCAk=; b=gIvS37ru5UKtJZ1uUDwL3gtdThDSKXmGZfx+kQIiAq56ZTxRvA8jw23hCyGy7pd0u4A4poCnzZOIrmMNuNvtvad7mMKOTljcjgcKJ6X8KV8BHcdv7TxA2ybCdy+zQhg+tzmd8D2dGOUuEUh00Y/hFOGHDqbidKsoZ6xmWmYnFraIvlSwU/Yr3cE8K/Cifn52/ivFHrg3QRcLcnp2GsJNPeGmuR7VDbdkCZJ409KI0oMWKSF0XRXVjK6Y5Id/94QhvHE+L7HLd3B28QNtBsPV4p0a/nOrcyEbzPDqqwXrcLRkvipXHSgKlZ2LeNUi3v7KQm66KXCniZzI5p3685FNWw== Received: from MWHPR15CA0026.namprd15.prod.outlook.com (2603:10b6:300:ad::12) by DM6PR12MB4124.namprd12.prod.outlook.com (2603:10b6:5:221::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18; Wed, 4 Aug 2021 07:27:14 +0000 Received: from CO1NAM11FT052.eop-nam11.prod.protection.outlook.com (2603:10b6:300:ad:cafe::5) by MWHPR15CA0026.outlook.office365.com (2603:10b6:300:ad::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Wed, 4 Aug 2021 07:27:14 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.35) smtp.mailfrom=nvidia.com; monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.35 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.35; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.35) by CO1NAM11FT052.mail.protection.outlook.com (10.13.174.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4394.16 via Frontend Transport; Wed, 4 Aug 2021 07:27:14 +0000 Received: from DRHQMAIL107.nvidia.com (10.27.9.16) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 4 Aug 2021 07:27:14 +0000 Received: from nvidia.com (172.20.187.5) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 4 Aug 2021 07:27:12 +0000 From: Shun Hao To: , , CC: , , Date: Wed, 4 Aug 2021 10:26:45 +0300 Message-ID: <20210804072647.2077832-1-shunh@nvidia.com> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To DRHQMAIL107.nvidia.com (10.27.9.16) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9c5edb7a-7eb7-40fb-ad7a-08d95719480f X-MS-TrafficTypeDiagnostic: DM6PR12MB4124: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4941; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ofFRlrrNq6CRErzEalpHPbTzYbOiCkFNHAj9OoVnkG5KXr+b95ttDKHKNKidftbWzMr6UAT9x02Q2DT0EzjdugSQKl/WdfapZeO77VRBxRjGf8HDx4mZfNTPk5PTxXPBJCHEom8L4oqTfmnK6UUVhh6Ykf5kQJywh7jEoZA7I0e8NHcFmMPs1ZAJTCWWdN7qkKRrinsyrr37itEQ/x+CYLNTYUMxafbbvNwZOkk1Gokn1PJsyzAf4M1iADG6AaWqLWlZ78/nu6yi85+i8EDYoKzQdMMHlTHOxxksgRfNBoYS7i3PgbkGncnFu2odCSp332fJL0igBQfSV8JeJdcm1jb7kiVxD9Rpd821adC4F03gHJQQj2B1CFqVDi9vP+vr+0wdSAPhaUY7Ac6CJDcR44qv3r04K7cvViVjjsUEUEz/B9YUwmGdZ3++gMKFEeXkAv2y+vWmIaF1VCKWwrwjlMg9UbK7SrAvLAltZJL19Zl26xHHQvmhoXhuip7tMqjALUXqMMuAehUiA8QrcUiasFf9GlJOsbFz5L2J6B2oN7PlZz+duAU3rY/b/pgWQCORRQ9gROujd0EXitvNw9M+HmJelRec82dv9GqA8xYw7jYiylRpfzsTHK/+rXK2+RAEpQVicE0sMTzK0azt/iDxGttiulz3rWF//vjciG57f8Z3WLrUFQyY3uGWdrRzQ7Fn/7LIiQbyVwxeTHBUl6Mbhg== X-Forefront-Antispam-Report: CIP:216.228.112.35; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid04.nvidia.com; CAT:NONE; SFS:(4636009)(396003)(376002)(346002)(136003)(39860400002)(46966006)(36840700001)(54906003)(2616005)(4744005)(6636002)(7696005)(7636003)(70206006)(82310400003)(26005)(110136005)(316002)(36860700001)(70586007)(83380400001)(8676002)(82740400003)(4326008)(55016002)(5660300002)(8936002)(336012)(1076003)(16526019)(47076005)(6286002)(36906005)(426003)(86362001)(356005)(2906002)(6666004)(36756003)(478600001)(107886003)(186003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2021 07:27:14.2532 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9c5edb7a-7eb7-40fb-ad7a-08d95719480f X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.35]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT052.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4124 Subject: [dpdk-dev] [PATCH v1 0/2] Fix Meter Hierarchy related issues X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 1. fix the wrong flow statistics when flow contains both count/meter. 2. fix the wrong meter domain access when meters in hierarchy support different domains. Shun Hao (2): net/mlx5: fix meter flow counter traslation net/mlx5: fix domains detection in meter hierarchy drivers/net/mlx5/mlx5_flow_dv.c | 43 ++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 11 deletions(-) -- 2.20.0