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 AD9EC4568C; Tue, 23 Jul 2024 04:45:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 94A37402D3; Tue, 23 Jul 2024 04:45:48 +0200 (CEST) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mails.dpdk.org (Postfix) with ESMTP id E0F3C402C3 for ; Tue, 23 Jul 2024 04:45:47 +0200 (CEST) Received: by mail-pj1-f41.google.com with SMTP id 98e67ed59e1d1-2cb585375f6so2927987a91.3 for ; Mon, 22 Jul 2024 19:45:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1721702747; x=1722307547; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4P9l11JhE7z1q0zVIR8JwYAl/hprBFe4EJvO/agtoxo=; b=eOQ4lthF9t8I2wjMnZtJ2BGnOqJDtpdYBqj4k6pkKwIBrjvWdkV66isyDeov6CR1/c vya/yxDrskuA2Iv0AbWbkjwo5u3etAZGk5+yTuuMBUwZGiZI2HPIlaMe2VM60DdGZZMW pj0mMorngx88cQYF5hP9BP9AmwjRq4x1WkKyp46cN33aNugNVSKLUNwG74TN3i0+BXXV uKSr9QSfOnmWp1v3NQrCU7Th0IxICSTU89UJ4yX/oOLh0VD6Cvp8JVnL7VrnWlu+sqZU XwYFxb5o8YzBkSSd4tPyAlu8BPlfeFGz7i16XyMofhWRVDDrHvM6QU5PW9Ef77J9OGBv 4giA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721702747; x=1722307547; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4P9l11JhE7z1q0zVIR8JwYAl/hprBFe4EJvO/agtoxo=; b=eqdMJUu+widgnQ0v4MFbbJb0h6MXuXKsmDAgcbmArLFqz1gVOIr1nTUAXHC6k6aMxm DW2KRgKY4312zm73gVs/ccUE0xq8z1I0jm4uBu0oT69Nfh/PFE/KcgBzX5EjLZqy4Z8t IkVKQND2SOlZ/AAGypa7ktWTpODTcO4DDUyf71/xFFcTgnkTDCLswKthvBrvszpxvSqX GnJkP4nGidxVsJWDg+8wiOuhiGr9QuCdz0pqKtlUZPkSmYfhCWkCIwmdNuBmYvCG5Xuo CIqABiB8tBYSV7J1VQLKkgVr13/VorOWc8296mkkUjUmAZlMqC5bRoIc+lfUuenex8PF XSmw== X-Gm-Message-State: AOJu0YwuzaURGqaRYQy0++tOQopsZ83U9AQYXKH6+L4q5b/Scsm+CQy+ a5/6i/hHya/JNXkE4uxtVRpwCVxKWth/MJNJG7q061qG9HDiL+KLnnLpndgF6Li+zkiyQSNzaTV cS7o= X-Google-Smtp-Source: AGHT+IGEe99qgO8mD2v80nus1LWfOXzTXIMsycw2aopGiIEoGfJUrlPfSttQQBPYeQY+9iReHdQ9xQ== X-Received: by 2002:a17:90a:4b43:b0:2c9:e44:fb98 with SMTP id 98e67ed59e1d1-2cd85df6b75mr1376798a91.37.1721702746702; Mon, 22 Jul 2024 19:45:46 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2ccf808f05bsm7838924a91.40.2024.07.22.19.45.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jul 2024 19:45:46 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 0/3] Add packet dissector Date: Mon, 22 Jul 2024 19:44:09 -0700 Message-ID: <20240723024537.980016-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240312220129.70667-1-stephen@networkplumber.org> References: <20240312220129.70667-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Take earlier patch which enhanced mbuf printout for test-pmd and generalize this to be a function in net library. v2 - splits the patch up and adds standalone functional tests Stephen Hemminger (3): net: add new packet dissector test: add test for packet dissector test-pmd: add more packet verbose decode options app/test-pmd/cmdline_flow.c | 3 +- app/test-pmd/config.c | 33 +- app/test-pmd/testpmd.h | 11 + app/test-pmd/util.c | 71 +++- app/test/meson.build | 1 + app/test/test_dissect.c | 289 ++++++++++++++++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 5 +- lib/net/meson.build | 2 + lib/net/rte_dissect.c | 357 ++++++++++++++++++++ lib/net/rte_dissect.h | 40 +++ lib/net/version.map | 7 + 11 files changed, 801 insertions(+), 18 deletions(-) create mode 100644 app/test/test_dissect.c create mode 100644 lib/net/rte_dissect.c create mode 100644 lib/net/rte_dissect.h -- 2.43.0