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 372EDA050B; Thu, 7 Apr 2022 07:31:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CB1EC40689; Thu, 7 Apr 2022 07:31:14 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2082.outbound.protection.outlook.com [40.107.96.82]) by mails.dpdk.org (Postfix) with ESMTP id 7820E4014F for ; Thu, 7 Apr 2022 07:31:13 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HCefUpiqDIRNJWy3kYuKWSxFH+uVqxjXIMhrLdpZ/r/ddxOF6AWpDFHPUhPLOzpTHMZYKc4+wv8xbG9aUYMHch5nDzy6jQ5fIcqMP3GxngVOs+GKL4eWmrRAkyqd1nkT8TS1K+XcXngEzlkLNVOP74jDAV0GCzYHtDhVqZmMzccG7w7ezcnHRDOWhUi1uRO0nTbnstF7d/vWXpB8GtHRNivcvoOt6HxUE38/qQGY/HuJy299xLY7pl4POANa2TZiJHkgRk/5OV9HtGDbu77ARSZ348YamEXW6mVCY9uLQHzQWgNv1uwgE6RxmH4sSDrB8UkF/YcpXl3ro3SNzLhuLA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MSpNjPlWXXRYbUR0ZncwJwd3o45Viy8zmaFFv2YLoDU=; b=go1STS4hQXVvOY6eoiGg5Ed/huFL7zKeR6rN13QLspVVMgCDTpi0+OAeEHS7rMZfm/bv2QlScVLy1vvWDi4FjvluccBg4KkIdLfEmCMkyq87VO8Kcug0uPaIAsaTnhIhylvK4zWsUxYZ1dMhqAiLP7x3rBB1V2SMmMogc9lBbVk4yvDE6c9D/NS6dm3uru1OwI82oTOjQ8kpi7iCq03+sXitDepuhZlkKFlzoZuu4NjnkeeTCnB24jwomS4HgV1BgQc+BCt7L/59B/mKL8OCTiaHgQNjvzQo6fiWbV2ebfij7XJSD9m3sc27lUDOR4zqI0vzg8BLYA1yNsJSRPAC9A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.236) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject 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=MSpNjPlWXXRYbUR0ZncwJwd3o45Viy8zmaFFv2YLoDU=; b=GllCmP7jjMSaufi0kiyx029hfEDHiJ0tDZo2zrKyEPh2stGBDzX3w7RPBBaFBGFymqOk6tWP3pzjnqACI3Nt8FMFYuwDqOohZS0y2dmfPVHui01TZFZ/RiF3TEsNb5p89soYkSEI3lfY/PRwdxzVv2CE8/zRvCclAPYJDHZHEuRcKp6G4qbHfFBD8nkLmN3sjMNs+iWs/E1ng3itTk+A6CAgmtDrbYJV5ZHqItb9aGeKVjy7krvjt96DzxrQvufdDSl0N7Ss7GvjQJcDkIsgasnwOwiFPaXkSL/fnAqz/scrko/Y1qYFCHf+FY2EvbYeURu/oMmxb1edqkP8bnYzkg== Received: from DM6PR03CA0027.namprd03.prod.outlook.com (2603:10b6:5:40::40) by BY5PR12MB3745.namprd12.prod.outlook.com (2603:10b6:a03:1ae::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.21; Thu, 7 Apr 2022 05:31:10 +0000 Received: from DM6NAM11FT060.eop-nam11.prod.protection.outlook.com (2603:10b6:5:40:cafe::c8) by DM6PR03CA0027.outlook.office365.com (2603:10b6:5:40::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.31 via Frontend Transport; Thu, 7 Apr 2022 05:31:10 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.236) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.236 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.236; helo=mail.nvidia.com; Received: from mail.nvidia.com (12.22.5.236) by DM6NAM11FT060.mail.protection.outlook.com (10.13.173.63) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5144.20 via Frontend Transport; Thu, 7 Apr 2022 05:31:10 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL109.nvidia.com (10.27.9.19) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Thu, 7 Apr 2022 05:31:09 +0000 Received: from nvidia.com (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 6 Apr 2022 22:31:07 -0700 From: Xiaoyu Min To: CC: Subject: [RFC 0/2] queue-based flow aged report Date: Thu, 7 Apr 2022 13:30:45 +0800 Message-ID: X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 45d7989f-4621-4393-600f-08da1857d2c2 X-MS-TrafficTypeDiagnostic: BY5PR12MB3745:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qDx6QEdU79DVaaq8VgyUWQKkzLJoeauiOznRuNLYBRA4utYAgUnA9xWpP+WgMYjIe6hhNCzyameyrJFwhLg0esP4d+8zvJ01pvdtKLhyZL69wtdfX2DFw2/n4t1Zsz9JuL0xngGFC+VqA/e6yVQslMupXgqzXrjH81KD41ybiZgonqTHvVG5vG9dJh7smgMo1TunIqz8WsQ4S8CReYfgl2ekETeURtGBMn2+4KrsxnthZ5rm2GO4wfj7Kv/H4viLTc2SwdqTSC0rMK23zQv6oulWYuMBEL//U0AxcnTHXrFGLPltlWH35i0QQGbcTJUbhYHWIrKcYnGdg7R3/llgTcFPAJPNojL6Wlhr/mGuX66J/gaNotaG+Liwl62y1r98VhkMkusVHV7gZdwMUSs9mxrjDZw0BnkpYeOmC6EHI9fjaCDhvq5DKh/gIRW9Zeru/+to/vPKaJDIlCYaPaF5HoMk1X8PjKtM9Zk2qTkmqmRi7m2bPGfT/Wl7IhBXOzFZCrxA3m+rJkOAK4emRRC8a3raz1dwTAfpEkypeNUSW+73sAk2hH7zY4NJya9TFpUOcpQlDismH2v/B2WTDXIPlBCURSvNd9jjwNybhY2MPNhPoMzqXM2/GoytxYeqAJ51ui91Ja9udd6/SQfd55OJoEWH0WH1k8erk8r/tbY3pRXNYd90triCQgo02mH38nAULndFECKehHztKEBZDhZpAXKCIWuptodYEsYBHlabPLg= X-Forefront-Antispam-Report: CIP:12.22.5.236; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230001)(4636009)(40470700004)(36840700001)(46966006)(36860700001)(47076005)(4744005)(16526019)(2616005)(36756003)(26005)(86362001)(109986005)(8936002)(82310400005)(426003)(336012)(186003)(2906002)(81166007)(4326008)(5660300002)(356005)(7696005)(55016003)(6286002)(40460700003)(316002)(70586007)(70206006)(8676002)(508600001)(6666004)(266003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Apr 2022 05:31:10.2271 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 45d7989f-4621-4393-600f-08da1857d2c2 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.236]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT060.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB3745 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 For the queue-based flow managemnt, application can operate the same flow on the same queue. For example, application create flow with age action, query aged flow, and destroy aged flow. All operations of flow happens on the same queue. In this case, the PMD could be more optimized since all operations of the same flow happens in sequence. The current flow aged report API hasn't queue parameter as same as other queue-based flow management API. This RFC propose to add new flow aged report API with queue parameter. Keep the old one for compatibility. Xiaoyu Min (2): ethdev: port flags for pre-configuration flow hints ethdev: queue-based flow aged report doc/guides/prog_guide/rte_flow.rst | 4 ++ lib/ethdev/rte_flow.h | 60 ++++++++++++++++++++++++++++++ lib/ethdev/rte_flow_driver.h | 7 ++++ 3 files changed, 71 insertions(+) -- 2.35.1