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 3ADF0A0584; Wed, 19 Oct 2022 15:13:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2D824427F3; Wed, 19 Oct 2022 15:13:03 +0200 (CEST) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2072.outbound.protection.outlook.com [40.107.212.72]) by mails.dpdk.org (Postfix) with ESMTP id 2B0B3410D1 for ; Wed, 19 Oct 2022 15:13:02 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YG5NQooJD2qiY5vxNqusVEjXLtYkZYkB48oGOHDj4xoILJRbn7mJYlOx+au4ZxuFSPj2CuakQAOcY3gPVtUNZg7hetfEZVPiHyC8Zo27F02qPp7kCmC37m8nEbVXjG9ylp+pAYcGSeYCtuFYnWf3qmI9mRo9LhmLvWYHgwEqeF8LJGVxdwGvHn61jUyXLbvgbd00tCO5Kla8SiywbYQnyc57KgtyF18vEKe7EV3RfHTh57DOpfHPATiIoopNyzUMlcqEe8YdpDmPjF7T0OsQPCC6LRJWyXwhWURCsLscisMo2dqbWU0ub1YuoX3pd7WuMCeOkcoCQfr3BhRxtq3QDA== 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=3RC3re/834XlbEeWyNTXkttcJJEIliX8xy+yRlB2CCU=; b=LJ6BSvEqom6Pahr/EGW5i9Mx+9iUjJ6exeGkTlIpjBAhueQ3myAzS5CRHGLrVPq4rZ55yzuVfaNnZbzEzlfiELY9Ay4OLTbMhR0K95+mIQ4vqWD6N7u1GtT9XNq8UUHhIejefs0fRhtSb0ny7ksou+obv3VUBIfdLy6s0I0a0XwXYrDoY1HKdQ+5BDn7YVR9FHSQJX2KuaXu1AquM6EwB5Ni8lD9YMRnG53dHBwM+6HCBn9G2dotrK5KKMDrwfBNGxcgkuAcMgX8dyCLrVZhNnirJ2cwUvOSxXCtJt1DTxY/H7Nc1xkEpbWWdA3+LS76lfVdns0B+F4XhDqrdFS9+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none (sender ip is 216.228.117.161) 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=3RC3re/834XlbEeWyNTXkttcJJEIliX8xy+yRlB2CCU=; b=U2rIivTdPlDwMnnNjgFfQWVpAX2FkKUSCV9fT+VZkeM7g9L6XKDIbgEoc56kclcRIeVoZJhH/usO8CgKBsfgmmMySug5LDfwfLw6xeCcXj6lJeOvxkdT2XStJfXlmTDSVr6MIf1TdQ5yJ+QpuV6SeHcPUB2kEiT3/lxfeDy9zuDOEzSSWgZIgqHbNduN4bARAX5hPHAvsfoOYDLSHo3IZZfewMi7HzWtdgJTPnP6VnFesS1LTpZAB8MSbSTVUBHWXE3j6v3Z44CevJWldM37HLoOnXh9wrR8zhGm+ubDOLskI5dJGxLrTImCLj+lr8wzWyZWnQQDrTagLeTEpTPykg== Received: from DS7P222CA0009.NAMP222.PROD.OUTLOOK.COM (2603:10b6:8:2e::11) by BL3PR12MB6619.namprd12.prod.outlook.com (2603:10b6:208:38e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.29; Wed, 19 Oct 2022 13:13:00 +0000 Received: from DM6NAM11FT084.eop-nam11.prod.protection.outlook.com (2603:10b6:8:2e:cafe::18) by DS7P222CA0009.outlook.office365.com (2603:10b6:8:2e::11) 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 13:13:00 +0000 X-MS-Exchange-Authentication-Results: spf=none (sender IP is 216.228.117.161) 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.161) by DM6NAM11FT084.mail.protection.outlook.com (10.13.172.132) 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 13:13:00 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) by mail.nvidia.com (10.129.200.67) 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 06:12:48 -0700 Received: from rnnvmail202.nvidia.com (10.129.68.7) 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 06:12:48 -0700 Received: from nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.7) 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 06:12:47 -0700 From: Michael Baum To: CC: Matan Azrad , Raslan Darawsheh , "Ori Kam" Subject: [PATCH v2 0/3] ethdev: AGE action preparation Date: Wed, 19 Oct 2022 16:12:25 +0300 Message-ID: <20221019131228.2538941-1-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220921145409.511328-1-michaelba@nvidia.com> References: <20220921145409.511328-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: DM6NAM11FT084:EE_|BL3PR12MB6619:EE_ X-MS-Office365-Filtering-Correlation-Id: e6b651d3-c02f-461f-5c4d-08dab1d3a5bd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DtAaxPqqdvLWMG1aVPxtAOK4kNX4S0WrTDD+sL7YmHnZKJaz6XCufwwtqAu9w6mo3MyjrEFqbGz40gPZ/5Xs/yBTj7hdEcw/SaYahfLzwb8b/re+SxCKQC0h0v6+7yVYNu9vBI0cAJOL1sIURlAWrfnAUBeEav0op4gcWomevvk/Nmoin0DDl2KIIFF5n1PDrHlN/SeD9vX57S6usd2vtHQbutFHG+DpDTOLrC6ZPTFtrLPvUtRfKQtbG+NYEXEUAzmB/Ffy/BJU4U0n7PoFrMTZo6cx1ghB2K5pjlqtaBNDkvpIbEXvc+LSk/oaSaUoaMzG0G+wnSfHQdvBFVQWsA9ugIVIwQVy6OlKcemGM4rzhuqJ03Ic/65iP8QdGIyqUtLMqtBYrPzB04cM6RzgqBx/gc8oQLLmB7nWdw/9GWvjeeBZfG9U960hNCNn6IU0FTnm/5TpAlBsfu7vQXeV2cpl0jqiekt0lA6i/hVP8Qc4EJ6YrqbB+loSfUzN1dzF6a1K54FcSEHF0X4VKiF7EcD5EbYwUO+HrJ1P7pRNNmi40kHFvlWIG/SrkXUpsi/CP+qxo7/CWKe4TAf6djSUPzVvEf4yvBaFRZe/TuD5NZUNvCG2ITvCvQdV1BfNlKp+ifgmMO2A9eyM6VtDYEpbzNTpDrwFqKH8V/odBGU2v+qzVMuUW7fcmC5d08AKTOztjyDGLYKyPDOwdEh84nMwc76nf/GyOCZ9vXpRXpN0ESYN2bEn7HQ1uFQwPMxKfXrt2Eg2QqBKD6CMcbffKHj1VTZJWye4y5NiKUzIpGiXbLnwL5wP9lSPxTiwWTFeO+qSR5kC1gA69sqNm3zAMTuS72r+q7YY/tstPqRXrUP7q20= X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230022)(4636009)(396003)(346002)(376002)(136003)(39860400002)(451199015)(46966006)(36840700001)(40470700004)(40480700001)(186003)(5660300002)(2906002)(6286002)(1076003)(7696005)(26005)(336012)(7636003)(356005)(82310400005)(86362001)(82740400003)(40460700003)(426003)(83380400001)(47076005)(2616005)(36756003)(41300700001)(55016003)(36860700001)(966005)(316002)(478600001)(8936002)(54906003)(8676002)(6916009)(70206006)(70586007)(6666004)(107886003)(4326008); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2022 13:13:00.1337 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e6b651d3-c02f-461f-5c4d-08dab1d3a5bd 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.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT084.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR12MB6619 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. 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 | 177 +++++++++++++++++++- 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, 486 insertions(+), 21 deletions(-) -- 2.25.1