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 23A3FA06CC; Wed, 19 Oct 2022 16:49:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1656A42BB3; Wed, 19 Oct 2022 16:49:30 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2075.outbound.protection.outlook.com [40.107.93.75]) by mails.dpdk.org (Postfix) with ESMTP id 4584542B8E for ; Wed, 19 Oct 2022 16:49:28 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V7mUjQCEL1gPHs3BEqndizVGqeQhNdFmr23kfX7fDX5LyxjY2bj8/5hrwfCf3dG8nIeISUhtJ8hjknatwMPIAgyxvk1jfMcCg+yVgaOExOZ9D5ZL2F9nJQCMEGI8OQ/XNEFYo5t9812VhXXZesRfWfbsCqSXYmaMx6SLmr6OwQ9hpOmJZL+MTjjNf5lYkxxpyxbdQhUcq4IxEY+0eY7QiizTYS9NOA3h5wLoh+l0uKGfmvz2yWEKX796wf9p/jl8ztimU0WK4guQgPrzKElY4Zq2c4maiS/8C7e7q9pWkJ6dtmj40GzWclXWuAWVuNeHh/vLOxPrDjVg2IgUf10AEA== 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=47UImkfgJO+6nZqv5skAjX533xTJHT08mwyOmuxBkf8=; b=aR67XO3jGWDI6mAlAn903ORvKhLfmJGlTl2B4sD6GjuMF7gwXrPe+J14kmkVpzyjh/8QvoyFUEALT0T88sO5Hg61t5C30TVeh5mRX9sLt7FMYlIfK4wtTLOSotlFfT/+Z0ragiacX5IdcOB+oedJaEZeYBjG1CMK2SOQ322I1GJlE2ehePIXY77j8L1DmEyZJJ8L+8nBZDfMqlY5mNrOslsFRGfn5aRlEJndjqgYnLPDUYP4EJANLacZu0c122bcguT4Nqo18EH+aido4dl7xCYUTsyfgq24+lWhin94xQbWHVlKWHG54U6QtubFL3kvHF/H7O6R9jrRNuDt0RkU3w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none (sender ip is 216.228.117.160) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=fail (p=reject sp=reject pct=100) action=oreject 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=47UImkfgJO+6nZqv5skAjX533xTJHT08mwyOmuxBkf8=; b=H0MTUu+s/aPXw4L29W+aQX1q0P0s8LaFkviJ8+UtPozxmSuY1wzT9tFhqiWUukeJv/uV47gL4Q5/NQIeenk2jiVriWEm7yHbQeVjV7YlTPG8h+O0MEw+jPAjxew5XKuJQqD6tVFXqwp/bdS9mRd0k1FRAMDEHFFvfdwR+dRHqiZ+RmBRIUeDU46I2Bzm38Y42fvbzfACSZ/EnO08hfGki7RO95+qA64f3Ra0K2Guj4ufV9Kqu52Nmy4L2W/FAFbX7+H+CENcptOXeenqFELZXCGIpH54yJ9XefBbWvoDhiC3BFPEgHRUPhl8QzL6gbT7ZfyqiAjUOvoK/gwlv1FPpQ== Received: from MW4PR04CA0182.namprd04.prod.outlook.com (2603:10b6:303:86::7) by SA1PR12MB7272.namprd12.prod.outlook.com (2603:10b6:806:2b6::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.30; Wed, 19 Oct 2022 14:49:26 +0000 Received: from CO1NAM11FT015.eop-nam11.prod.protection.outlook.com (2603:10b6:303:86:cafe::8a) by MW4PR04CA0182.outlook.office365.com (2603:10b6:303:86::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.34 via Frontend Transport; Wed, 19 Oct 2022 14:49:26 +0000 X-MS-Exchange-Authentication-Results: spf=none (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=fail action=oreject header.from=nvidia.com; Received-SPF: None (protection.outlook.com: nvidia.com does not designate permitted sender hosts) Received: from mail.nvidia.com (216.228.117.160) by CO1NAM11FT015.mail.protection.outlook.com (10.13.175.130) 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, 19 Oct 2022 14:49:26 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.26; Wed, 19 Oct 2022 07:49:12 -0700 Received: from rnnvmail203.nvidia.com (10.129.68.9) by rnnvmail203.nvidia.com (10.129.68.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Wed, 19 Oct 2022 07:49:11 -0700 Received: from nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.9) 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, 19 Oct 2022 07:49:10 -0700 From: Michael Baum To: CC: Matan Azrad , Raslan Darawsheh , "Ori Kam" Subject: [PATCH v3 0/3] ethdev: AGE action preparation Date: Wed, 19 Oct 2022 17:49:01 +0300 Message-ID: <20221019144904.2543586-1-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221019131228.2538941-1-michaelba@nvidia.com> References: <20221019131228.2538941-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: CO1NAM11FT015:EE_|SA1PR12MB7272:EE_ X-MS-Office365-Filtering-Correlation-Id: fe2edceb-fc75-4e08-b6cf-08dab1e11e80 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iO6/ul0cuSqCMh50USUF6Agao+7T/kZoEtpp3WHy8BQGJXqk1aUrr9wHQ0h0Qjvd6Ihj9lpCHt9m6J8EIUHCkLfOtiYmh+2RXa8Mq5VUGAGGM2I/AZ331kNRhzcmx64FqHTImBHhW1dF7zcH4+hcw9CnJDI1X3u3sG0cWIpe8bCXyWN3N8FALMY57VbWf3exUL2IMBMTcjp7TRYjJQK1sI4W2c3bmI4/HTCCRWU4TvDCl+W1GvENVmXTBCDGS39YLBorBq25Q2s4yCPRA/SsWnTElmWE8siafLj8BOjf+XJz/IXE1kkMMqlJzUW9YlZPbGth8i9LAQAsbs+U2BypirFIRaSPfv5HmKFWAazKEsBj7qiU6FwmmQwrADbiCM9nSKWr8PNC2LxD7KEqDJm4dXk2v871sYNFBgkkRan3nldJcRDNRF0hH/MDcQTdQVPq+SsmLDrtjTKXECru8o34ZaF6xt1lfOxVYyZyqgsS6XEGTAeeWu/Xz7+3ttxr0GDoua1WBRJEnxfa7FpgudvymvwvfS688Ism9xj7i/CGqtC4LZMzOIvS8cTNeDvngthW19cuaUqmvAWbwG4cvS7a7RuUcsSO3/ppH3eeBBNNwPRvr2c8S34NCgXazFjMe3ruSo0tKP0xps7HyAOQedoMb3zGXV7upRpCV0AX/m3zHVi90a8kQPxyLqm1Qu07uKvp2X+l6f1jRN6Ri8If4j0akIwy7OoZz+tKpJt3KBz8jxIianQ6TZUq/yaO2YaHa1sLFb2sk9FgSKtCay/Wx2g+7tR6M1B1Lrshz+gkfo/G80/S5FxOKIPbmxC1PcrMtq7jXOR3Xlse7E2pMOWL/ru+oTaoPPYgCOf/MvntTnsHpNs= X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230022)(4636009)(346002)(396003)(376002)(39860400002)(136003)(451199015)(40470700004)(46966006)(36840700001)(6666004)(107886003)(478600001)(966005)(8936002)(4326008)(54906003)(6916009)(36756003)(8676002)(7696005)(36860700001)(316002)(7636003)(356005)(186003)(336012)(40460700003)(82310400005)(82740400003)(86362001)(2616005)(1076003)(26005)(6286002)(70206006)(40480700001)(55016003)(47076005)(83380400001)(426003)(41300700001)(70586007)(2906002)(5660300002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2022 14:49:26.2918 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fe2edceb-fc75-4e08-b6cf-08dab1e11e80 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT015.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB7272 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 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. 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 | 25 ++- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 90 +++++++++- 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, 487 insertions(+), 21 deletions(-) -- 2.25.1