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 77B7AA0C42 for ; Wed, 12 May 2021 10:24:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6AC47410E2; Wed, 12 May 2021 10:24:50 +0200 (CEST) Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by mails.dpdk.org (Postfix) with ESMTP id B381D4003E for ; Wed, 12 May 2021 10:24:48 +0200 (CEST) Received: by mail-wr1-f41.google.com with SMTP id t18so22705941wry.1 for ; Wed, 12 May 2021 01:24:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=1l8kXXDiSSmEz4jqhKtQo4gfl1qWDM4gczhC9SvIne8=; b=r5OMxbldMplVQ10zYbQV/0OZNoDbgG0jMMpz13cVfH6JAfDywHhDP+8i3DY/1VgSvD v4W8X6j9Aa3QB9iGNxFEm4sNo42KVj1dfgPHSIbduX6MxylybdXiQ0siogkk3kj9ywcN R6GntkksCuziavPM/bBr7vX09Kbpi4cuEMuYPuZiW0o01YwvRnUGLLEfjBHU2s9e4O9W ak2+w+HHR5lEI+NqMH1T22v2kaSxOUjsaPlDfjFPUbpZ7b6zWAxDFVENGftee1rrdE61 rqE8j2Rp07VHuTzlovZgfTtUwcMhCAB7jmcsOUfO2zuhB6adUXPNHn0AE+QZ3gsumBLX /9qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=1l8kXXDiSSmEz4jqhKtQo4gfl1qWDM4gczhC9SvIne8=; b=i5zSu4I9Ji17yOV6xv+IKTF8vfEyO6ykSgdfEuYdfPxaugJwe2JzyOAwt1gedyfHpp 6j+lO3b1hqdp87PXqZjUyxGwJGq0QI/eHILr1fLv1jNtEJMUihOxpKHbCHM1KXw6daKl KUIvQhWMX1y+DgckFB/5Qch/CCe2RlqqI65ozc9D1ZrlikA+720Z+D/fGkshEmw/pOqy FeYhXPnMWVDtseqlLvihZH7XY14k8d4eyTkD267ClwpC83PdwsZbJaXHIybWTno66Sxy zEUOc1fiwVjs+NRIkiPTB7SBS4MegHUd2/hBgaiavKAhsQNm4TFsukMtV8Y4Jpvr1cDb vNHw== X-Gm-Message-State: AOAM530H5tAXCNmcodmcdqSs95DGVCwdNwx2aUdphj09KisJm5ca8lse 08n5fSP85ELqVsXeCIGSLivgGRrTt46T0pIYcs7N9R8kmCk= X-Google-Smtp-Source: ABdhPJycAhaudKUbEuj6NTPDFfZf7UEvk1V3rqiKXHOkBe6qZ+yByuQOqAAbd+atmXxcGJyr73NSVAAQCW8R/fyNN7o= X-Received: by 2002:a05:6000:1286:: with SMTP id f6mr6762547wrx.226.1620807888588; Wed, 12 May 2021 01:24:48 -0700 (PDT) MIME-Version: 1.0 From: Haklat Haklat Date: Wed, 12 May 2021 10:24:37 +0200 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-users] DPDK PF_PACKET PMD - Linux interface flow packet re-ordering 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 Sender: "users" Hi, I am using the TREX DPDK (DPDK version 20.02) traffic generator in a k8s test environment. I use both TREX pods with kernel networking (Linux interfaces using DPDK PF_PACKET PMD driver) and pods with SRIOV/DPDK networking. One use case is to monitor traffic over long time sending only 1k PPS streams. I have noticed that over time there is some small amount of out of order packets using the Linux interface. It is never the case for the SRIOV/DPDK flows. I also use vpp (FDIO) pod with host-interfaces (i beleive this is also using DPDK PF_PACKET PMD driver) in the setup, also this pod seems to contribute to small amount of reordering. If I use a normal ubuntu pod instead pure kernel forwarding of the packets between two interfaces I do not see any reordering. I think both trex (using "linux interfaces") and vpp (using host-interfaces (DPDK PF_PACKET PMD)) make use of linux packet socket interface. The ununtu kernel networking pod just use normal kernel forwarding. Do you think that maybe the small reordering could be caused by the use of linux packet socket interface? I just try to understand if I have issue in my network fabric or in the DPDK PF_PACKET PMD tools in this case. BR//H=C3=A5kan