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 52A56461E4 for ; Mon, 10 Feb 2025 08:55:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EF5E740E96; Mon, 10 Feb 2025 08:55:50 +0100 (CET) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mails.dpdk.org (Postfix) with ESMTP id C6E454029A for ; Thu, 6 Feb 2025 16:11:23 +0100 (CET) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4362f61757fso10149975e9.2 for ; Thu, 06 Feb 2025 07:11:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738854683; x=1739459483; darn=dpdk.org; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=LikHHsxT9Lr/qjY6Lsirp4FL9CtuCU0kgUVBtOjKiNI=; b=MHTREQdPQg+d9WcxGtXh6Z2W9U7umn47gP32D3vAiEpLtFuwz4VpipRPg744w9cysy TeGDezAdD2O1SZz5A85MKjHZ6036sCWcxNv03igiQ/o+moyUKtqjM7Wog/BM3PxISIXY xZ3vvcOM2Xl4RvkhG8LsmGKnTW4DnMLfoLLqbxQSdYF+kkPhkMVkt7oipSQFaiubtCPu mhZYuqDDcC7weTOxZ1KqxXC1MGDXvEBKoSkbLePC2Xy8Q03lTs2SRzKoAHILQ7Fa3hxG MYTRli5lJXgsx+hndjjTgPbktVDYokKpeB3VXmXAW3gvhPItnzjM2iM7LIyIbiVFEKdz KxGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738854683; x=1739459483; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LikHHsxT9Lr/qjY6Lsirp4FL9CtuCU0kgUVBtOjKiNI=; b=rv33L5dnhaxbFnVCbMXXQ6nfX9Gi58DUQQAFo1CUV4HVDH97QxUfnrQVQXWfg1oUON sDVhc0BXMPeLjVH1IOseKjPmJrtT2ufAFxUd2tIT31oX1AMTykSWwUbBd0Cq10H/OWrU uuu2TsJKMXDzwabr9bCEqHuC7ABW/BZbRZXtyoI0nduowzjr/XDZnhXVGagEASJLJY7+ vKfNrbRLum+z3MOGFSssJN2tdlwivJKJqnfvqoIYG+Komc0GaKtYOoDZ7qNCrxfMyLCe qWCZA1QibljUj4LnUgDMuhHvyKGsk0FyGLkJin/3xugNnRWksfjlheCG9JVXc7Qewp3N ncxA== X-Gm-Message-State: AOJu0YzK1Mc4HFFtWMrinbCFzVB4RS8m4WejsZ/PjhTa1+cPuC6BFxoY cjgMg8kfo7BqGnTSNo24y8jCz4NZydmKZPoxDNstvBdCCFnjFJfeSOwomPsZ4dBByVqexkOCN9N +uEbAcaQMVlvw2pJ+pCefafqs3eKgCYuE X-Gm-Gg: ASbGnctS8t4T6Ckx8IC9JDLECfQ4KaxmoqaWKbKZ6fWB6aUM5Q7wqhzINmvjgNYU2TX iqPqpettbtbzvuqVv55Yq1kEJS+KHoH6EQUmVYbI4V1MnhghUU49pcC6qNrdt/DUugSIZ1iZUzw == X-Google-Smtp-Source: AGHT+IHBg4GVsahPnfExYBGa0UIT//bwZfJHQrpwCy03fHh/cPsrhfkcg09jK6CcdSDeRyM1r8h+9InZo9hEKZwN70Y= X-Received: by 2002:a05:600c:4586:b0:436:fb9e:26c with SMTP id 5b1f17b1804b1-4390d43dde8mr58601345e9.17.1738854682845; Thu, 06 Feb 2025 07:11:22 -0800 (PST) MIME-Version: 1.0 From: Dominik Date: Thu, 6 Feb 2025 16:11:11 +0100 X-Gm-Features: AWEUYZlIvzAGAdyZgiBfMGxiV8p7roVJILKeoLA5aOS_TNcJERYUlvEzZYgsyLU Message-ID: Subject: Technically feasible? | rx packet distribution -> duplications | E810/E823 To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 10 Feb 2025 08:55:49 +0100 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hello everybody I am currently working on a project to implement the following use cases with high performance. The main workload should be offloaded to the hardware to achieve optimal performance. ## Environment Kernel: 6.8.12 DPDK: 24.11.1 NIC: Intel 810 / Intel E823 ## Use Case / Requirements - Ingress packet distribution to different software endpoints (queues) - Utilization of hardware timestamp offloading - A single packet in multiple queues - Implementation of filters in hardware ### Examples: 1) RX -> Queue-01 [TCP only] -> Queue-02 [UDP only] 2) RX -> Queue-01 [all packets] -> Queue-02 [TCP only] -> Queue-03 [src.mac =3D=3D xx.xx=E2=80=A6] 2) RX -> Queue-01 [all packets] -> Queue-02 [TCP only] -> Queue-03 [src.mac =3D=3D xx.xx=E2=80=A6] -> Queue-04 [vlanid =3D=3D ##] 3) RX -> Queue-01 [all packets] -> Queue-02 [TCP && vlanid =3D=3D ##] ## Ideas / Notes/ Issues - Filtering by desired parameters with rte-flow tested - Using the desired queue is also functional - Many combinations have been tested successfully - A packet in multiple queues - Issue: - DPDK does not allow multiple destinations in rte-flow - Thus, no throughput, packet duplication - Idea: - HW port mirroring to a virtual port and using this port for further operations - Code in the ice driver partially prepared ?! ## Questions 1) Is this approach feasible with E810/E823 hardware (regardless of current software implementations)? 2) If yes, would port mirroring be a suitable method, or is there a better approach for this use case? 2a) With the current implementation 2b) With potential adjustments/extensions 3) In the case of port mirroring: 3a) Is the hardware timestamp preserved? 3b) Can additional filters be applied on the VF? Best regards, Dominik