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 83965A0C58; Wed, 1 Sep 2021 10:55:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64C7F40140; Wed, 1 Sep 2021 10:55:37 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2086.outbound.protection.outlook.com [40.107.92.86]) by mails.dpdk.org (Postfix) with ESMTP id 104B94013F for ; Wed, 1 Sep 2021 10:55:36 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JdbQJk+2EbW+drKrhzQLKYoA0dAehn+vWGU2n6jE0HtjOh1atMkiv/ejp3rhDLnuuR3hropWB1Cp0pfYjLrBc8Ai66QSRF9IHMi7Y0sC3dyBe7VsB+EZ4k2JFrgs137v7AlFDFeI6sfggvNgN4JWIqTAVVGOsr3lZvXxDVwox1JaUC6o9DPa3G98ca/xDhcDopQBHZnHgpfI8lORYUK+n7RjHkcV/jJyn5paGXy6C2lanaB3tbDT3HUTOmMIC1N7qqdEJ1Y/SD9sQn7OohvqF0Pgx1lb8ebYvFgeXY5PcDD807llG2SzcwxNX2PRHqubsUIwjrhuuKWAJPmxCo8m4g== 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; bh=equWWg3FxQZy8XRJDdfLlp4C8jCKpH36jTun68lkypE=; b=Eyqz5OwwZ77NzoZeIcU0Ez23cZhSUEu3d0fi8J98mPaxg7tmUpaKDyP5xvHL8ayDUct/ba2Iu8erNLZfWrYFtSn6dkFAcmhSYUrZtv7QvYW4FsPN47vjIU5TACGXtwsWgYFv1HbgjbU+zf0XtM17FMX7uSs4YNTR/Zb4tjLz2MsZr2R+PsjtGwle5xjqpbXDzHfwfIcrduWBk7KG/VbT8jA4ahZuxFYbTcSwQsci9ppIsbxdSyjKLoFSB9DP/4KCeA/V4SvpRfncxDHBwJPNl30iC42bdCzmZRZsUd0FYeC3esWR0k+kpg0FClUv6W4vIItlSnkyoFi0NMQ+q0oZ7g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.32) smtp.rcpttodomain=dpdk.org 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=equWWg3FxQZy8XRJDdfLlp4C8jCKpH36jTun68lkypE=; b=JKBTN77cGw4r10Y9TiHu+XvIdkA7j7tmXrd/37RAH+w/yFI3fyRq/sMLiLphwlxUbCvJLMLZrwozuswD+1oZkHWXwcgs1VIdiwUhnFD1curp2PqO9W9dVcW3OQa24aKOaAfw87/HySqRsE7/kFDXh34XokSau0E+kOZxnvbMQfxetQ+2E2hrCnscgJycrtV1zirF94Vn+VmHYOU38JzDICpdwpJH7rxrdkQ0Jl4bMTqGM5hmy7FFKwom6q3gMSu/5R+o6jVHxruEhgh9ETKmx+X8kqQF2D9s/uw3/9KD6pfdZl35NDHxLreMxoaa/vEZqETYUESy8piM+NeuZE9pXw== Received: from CO2PR05CA0080.namprd05.prod.outlook.com (2603:10b6:102:2::48) by MN2PR12MB4030.namprd12.prod.outlook.com (2603:10b6:208:159::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19; Wed, 1 Sep 2021 08:55:34 +0000 Received: from CO1NAM11FT063.eop-nam11.prod.protection.outlook.com (2603:10b6:102:2:cafe::b8) by CO2PR05CA0080.outlook.office365.com (2603:10b6:102:2::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.14 via Frontend Transport; Wed, 1 Sep 2021 08:55:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.32) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.32 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.32; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.32) by CO1NAM11FT063.mail.protection.outlook.com (10.13.175.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4478.19 via Frontend Transport; Wed, 1 Sep 2021 08:55:33 +0000 Received: from DRHQMAIL107.nvidia.com (10.27.9.16) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 1 Sep 2021 01:55:33 -0700 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, 1 Sep 2021 08:55:32 +0000 From: Dmitry Kozlyuk To: Date: Wed, 1 Sep 2021 11:55:14 +0300 Message-ID: <20210901085516.3647814-1-dkozlyuk@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To DRHQMAIL107.nvidia.com (10.27.9.16) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 14563817-25a2-47cb-4ba2-08d96d264275 X-MS-TrafficTypeDiagnostic: MN2PR12MB4030: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: r9h6b+NWOTdF3VpVDXKEovHPZCq3z11489hIjUYbyYWlfetWy//qsZiMaWmJIZw4gO598RD1yUuXX2O/VGCDKALO8atuBd4YG6Ij84+PcEdQ/wFhRRkHSqzwxtjlO7a+J7mawiH0H154eOqrDQmefuMQj3hs2tBgi3UmuJj6kJ4SPl9fmI6XfyrzXphtMS8yI67nNGfTFfwimRmS9wirDsh0GnGNFV9FD42tsPi0u5dEZzDnmRRRTycZgRTdoKwo8CFyIG7hu1y2VMXSOXPGWtyaQ31kYOdMiPyOPWe9X9P0AxxQd6wyxZfENmt+OS1Ndzb6Cmjsy1xegmDPNo9AXszNJj2n5AUqG8l0W06jrI+E9GWzy2L72S0MLBvHOVbAcUva3Sj60MYv4ot9pF46O59oxM5gedlGzRsGM0PNPANsqUlqMwTPPnmjwa659nwabbQeaza1B1mOuC1I/rDFdimHcZO8SFIMpyH26Gvjy3O0pMhZ2wvckETpH+x75EykY9WnErgY21QPTx3LLsYKa6Zl59nw/0Box3oM2sqmYf4uI4fuMZVr2k83WBL4ihus0/t6Q7eeId7Pq2wkqs6db0rdtRCa2zu2NLGuh4ma7Y5Kc5coguIj1n4hrRhCKnnNdAaKcCeIAIWNanbypU9LqbAXy03d29v0dxFCPtKcXf/0w+k0DgQ56a3OoFqTGNjcLMDCekEiiBhur+e9GL9E+MFh8tYeC/ztSjDXHl9eVWLFitgFZrCC08MLOZLRhPQPv2s4GnEaqlJl3YFEwaEgX5VV7S1vVpSn2Pj4pcLmtgQhQD3OH1X2uTHbKFpo0ufhlMQ5WbwWDO2uYHCTs6lm6Q== X-Forefront-Antispam-Report: CIP:216.228.112.32; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid01.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(6286002)(2906002)(36860700001)(55016002)(508600001)(82310400003)(426003)(86362001)(8936002)(316002)(5660300002)(2616005)(83380400001)(47076005)(6666004)(70586007)(7636003)(4744005)(70206006)(966005)(8676002)(7696005)(186003)(16526019)(1076003)(356005)(6916009)(336012)(36756003)(26005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2021 08:55:33.9754 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 14563817-25a2-47cb-4ba2-08d96d264275 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.32]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT063.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4030 Subject: [dpdk-dev] [RFC PATCH 0/2] Flow entities behavior across port restart 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" It is currently unspecified if flow rules and indirect actions persist across port restart and reconfiguration. Actual behavior differs between PMDs, for example, i40e and mlx5. There are patches that try to fix particular behavior [1] or at least document it for specific PMDs [2]. We propose to codify the least demanding behavior, i.e. no persistence, and to add device capabilities for persistence of rules and actions. This continues the discussion thread [3]. [1]: http://patchwork.dpdk.org/project/dpdk/list/?series=18065 [2]: http://patchwork.dpdk.org/project/dpdk/list/?series=17939 [3]: http://inbox.dpdk.org/dev/20210727073121.895620-5-dkozlyuk@nvidia.com/ Dmitry Kozlyuk (2): ethdev: add capability to keep flow rules on restart ethdev: add capability to keep indirect actions on restart doc/guides/prog_guide/rte_flow.rst | 21 +++++++++++++++++++++ lib/ethdev/rte_ethdev.h | 7 +++++++ 2 files changed, 28 insertions(+) -- 2.25.1