Message ID | 20221026214943.3686635-1-michaelba@nvidia.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 98E46A0542; Wed, 26 Oct 2022 23:49:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3150840A7E; Wed, 26 Oct 2022 23:49:57 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2046.outbound.protection.outlook.com [40.107.244.46]) by mails.dpdk.org (Postfix) with ESMTP id 45ABA400D5 for <dev@dpdk.org>; Wed, 26 Oct 2022 23:49:56 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Yvwl+F22TDlbJInOtIS1CKRFKfZhuTTmeRp2VTs+H5d9G8NZHQb+3G5IZ4O34MDduAiqccDnz3y3RRXNm3m7ngJ3gF7SkkoZNU7LmXfZU5XeHkPEDuxwIvD7gBsC1I1rypPRDC3JUJdd6wggu0P4cGSey4tqsSb1xXLrzZZhCcUDd+giUiEQravAE2ofApyGEWr9DExjeeaORRb4LIugN/AgjJOEt+Nv0gSfAub1T2U3VLcDF3xfvodDdfjHVn3XIVZEXdRzNoJFg8Z44hOB9oEpby59eyXPhy3xg5ITpZbuOnXlXnHy2nWp1DcsR/ClC8brlF6jCCe/9YQyqWC3wg== 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=hZmCicQMC4im35YWyhjY8r53gW2xdm8eHaFhKGxGVQk=; b=DvNCRi8rzFW/pdPYNv6d7ZlH5cwd2g8H5/ZKs73s2TT4eNnQ/zayyKYr8emWAFI7LXeaRpnkqdxJwGewwpDN3srERQNzad4MIerDYQFI7cAKg40z6SfmgX1U8iwizavUZfUJV22H7Cwy9TH2VY+VknsCFtHYVFzbrMPJzIwIJsE0gaeOmwttlFlaa2DPDQqoVmYq092sFhoiBsA3BSbZM0mb6yf4JZ598+TF0ChFGwJxbGg/ToCTLT3haEXeP4gl5X6NQlA46z18Ck1P1ErtBHjixtbiyfpzJcQg1mOdOGQ8etLhwrg1rtypN/qjukl9VGn8HGzZqGyk8+E6efdlwQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) 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=hZmCicQMC4im35YWyhjY8r53gW2xdm8eHaFhKGxGVQk=; b=gefAR72r6daNwZChCm1n586wCW/vWwbcKgZkgjqLM9sYENzM7DJFgKUc8sqZGc6mQKxqZpHqzbL0Sj+B5+ckUHTmxMpuUyKEVeWvhWtFqOMvxmJb4QOySXH94L83mLyCK1wR6oYNJjup566rT9jAN0Q6a+ctulQx5y0oN+fAHRI9oPWzVHjY2L9K/mc4JbkCH4VQaNnpn7FO4TOuRTLsHAsDjn/aPmHlRKfDIy40doSr4eZcNshnzucaOvznoueWAKISyQQoFBud1N+oWy622Tu87r/Taf4j/odWsss3kFOtFcBknd4gQdwFaC7viYCPjUrrh/Sr48FJ/1Y+4rCghg== Received: from MW4PR03CA0044.namprd03.prod.outlook.com (2603:10b6:303:8e::19) by SN7PR12MB7276.namprd12.prod.outlook.com (2603:10b6:806:2af::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Wed, 26 Oct 2022 21:49:54 +0000 Received: from CO1NAM11FT021.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8e:cafe::79) by MW4PR03CA0044.outlook.office365.com (2603:10b6:303:8e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28 via Frontend Transport; Wed, 26 Oct 2022 21:49:54 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) 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 216.228.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by CO1NAM11FT021.mail.protection.outlook.com (10.13.175.51) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.16 via Frontend Transport; Wed, 26 Oct 2022 21:49:53 +0000 Received: from drhqmail202.nvidia.com (10.126.190.181) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.26; Wed, 26 Oct 2022 14:49:53 -0700 Received: from drhqmail203.nvidia.com (10.126.190.182) by drhqmail202.nvidia.com (10.126.190.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Wed, 26 Oct 2022 14:49:52 -0700 Received: from nvidia.com (10.127.8.13) by mail.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29 via Frontend Transport; Wed, 26 Oct 2022 14:49:51 -0700 From: Michael Baum <michaelba@nvidia.com> To: <dev@dpdk.org> CC: Matan Azrad <matan@nvidia.com>, Raslan Darawsheh <rasland@nvidia.com>, "Ori Kam" <orika@nvidia.com> Subject: [PATCH v4 0/3] ethdev: AGE action preparation Date: Thu, 27 Oct 2022 00:49:40 +0300 Message-ID: <20221026214943.3686635-1-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221019144904.2543586-1-michaelba@nvidia.com> References: <20221019144904.2543586-1-michaelba@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT021:EE_|SN7PR12MB7276:EE_ X-MS-Office365-Filtering-Correlation-Id: 63338c44-2425-4f41-504e-08dab79c0427 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vFdKBY+5VZHRXOpVlCrRkIPD55w5navpZ7GybcAO0CsQ8cIez5ViVf03rNFAeVLpY51OVCOiu2emcWW+K3OFTsk+tiinroPixc5HV0BS7jepemrbpEai3RYVGiFaLU9/2u64ViegPYLxOE+N7Hi872BvXEi5tZsoIsLWlp6q0FVq3bD/B1jyv4PdCqc4IPFyahr8qn9GzczAZvPBGX2q2tqwaNJsHqn2t/kLZOL/TpkyxfiobGm6le6nRyLQvLN6e4zi/kJmkTZr5kshCfQXRMtpz2JWPmZ1yqVhdsKRqS/E1/Czo58eqzPxxXOaxFkvXnMLjKT7JpC9a9zDgo691XYVPldP/6M3/550C5BINKkAj1vdoNOi0oPJTsJZhjDXGinCkfgAcWstlDMyQEiJLA7AeCqmAkptfOv4KO1ZLjcOSM3lcA6ZMlpeTj883lO2kkZKh30CCHvnfObr1zFX7wcrV8CmtiXB9yReoBVYDaBVKyPgrbDnFsDMrheEag28MPxNsnlU8+JvgaIUt2C4PMOHhz5NJ3HjBv0VjJ4CBTwFwsA2+GxRjFtUe78xH98rKyMAbzDKN/fL5Q08+arzrVL/IxvDQRq/VY+1qy/cmT6j3pHSLkBOJNobJbcdU5xam1KWu3OFza48A+0kDCUPeJvHpEJSf3NIoJC5eUcZB9DcOf62jlnXZiUXBcbcynZ+xh0I4EeIYaytMwjkpIP0d84AT3ASYow650xVO7TuJ/VU2sBWnpsgOApGkgUInLMCd6bhdwpjzUy4HDEXWd7n/wx/8UrnXEpL0udNiMgZ3gocb+w8aceRXjNlOkxzcV1wj7otvwmziAeTvu0598EDbNMVrdTJ0VLJ6eM60ud3BVmW4bKJQGg1zowMj7mgxkdTcrCULOiaGTk+qeuMdzCzqQ== X-Forefront-Antispam-Report: CIP:216.228.118.233; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc7edge2.nvidia.com; CAT:NONE; SFS:(13230022)(4636009)(136003)(376002)(396003)(346002)(39860400002)(451199015)(46966006)(36840700001)(40470700004)(478600001)(54906003)(6916009)(316002)(6666004)(70586007)(70206006)(8676002)(107886003)(966005)(4326008)(7696005)(82310400005)(356005)(2616005)(41300700001)(47076005)(5660300002)(26005)(1076003)(186003)(6286002)(8936002)(7636003)(426003)(2906002)(336012)(36756003)(83380400001)(36860700001)(40480700001)(40460700003)(82740400003)(55016003)(86362001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2022 21:49:53.7875 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 63338c44-2425-4f41-504e-08dab79c0427 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.118.233]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT021.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB7276 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series | ethdev: AGE action preparation | |
Message
Michael Baum
Oct. 26, 2022, 9:49 p.m. UTC
RFC's: https://patchwork.dpdk.org/project/dpdk/patch/7a45693f478b1b721b4e05131141b526185a175c.1654063912.git.jackmin@nvidia.com/ https://patchwork.dpdk.org/project/dpdk/patch/608febf8d5d3c434a1eddb2e56f425ebbd6ff0b4.1654063912.git.jackmin@nvidia.com/ v2: - rebase. - Add reference to "rte_flow_update_age" structure in "RTE_FLOW_ACTION_TYPE_AGE" definition. - Add reference to "rte_flow_get_q_aged_flows" function in "RTE_FLOW_ACTION_TYPE_AGE" definition. - Change the order of "rte_flow_update_age" structure members in documentation, to be aligned with the structure definition. - Place long comment before struct member definition. v3: - Fix miss "break" in indirect action update switch-case. v4: - Remove unrelated doc fixes. Michael Baum (3): ethdev: add strict queue to pre-configuration flow hints ethdev: add queue-based API to report aged flow rules ethdev: add structure for indirect AGE update app/test-pmd/cmdline_flow.c | 93 +++++++++- app/test-pmd/config.c | 178 +++++++++++++++++++- app/test-pmd/testpmd.h | 1 + doc/guides/prog_guide/rte_flow.rst | 19 +++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 79 ++++++++- lib/ethdev/rte_flow.c | 22 +++ lib/ethdev/rte_flow.h | 91 +++++++++- lib/ethdev/rte_flow_driver.h | 7 + lib/ethdev/version.map | 1 + 9 files changed, 478 insertions(+), 13 deletions(-)
Comments
On 10/27/22 00:49, Michael Baum wrote: > RFC's: > https://patchwork.dpdk.org/project/dpdk/patch/7a45693f478b1b721b4e05131141b526185a175c.1654063912.git.jackmin@nvidia.com/ > https://patchwork.dpdk.org/project/dpdk/patch/608febf8d5d3c434a1eddb2e56f425ebbd6ff0b4.1654063912.git.jackmin@nvidia.com/ > > v2: > - rebase. > - Add reference to "rte_flow_update_age" structure in > "RTE_FLOW_ACTION_TYPE_AGE" definition. > - Add reference to "rte_flow_get_q_aged_flows" function in > "RTE_FLOW_ACTION_TYPE_AGE" definition. > - Change the order of "rte_flow_update_age" structure members in > documentation, to be aligned with the structure definition. > - Place long comment before struct member definition. > > v3: > - Fix miss "break" in indirect action update switch-case. > > v4: > - Remove unrelated doc fixes. Applied to dpdk-next-net/main, thanks.