Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/98510/?format=api
http://patches.dpdk.org/api/patches/98510/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210909233329.190021-1-stephen@networkplumber.org/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20210909233329.190021-1-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20210909233329.190021-1-stephen@networkplumber.org", "date": "2021-09-09T23:33:19", "name": "[v6,00/10] Packet capture framework enhancements", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 27, "url": "http://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210909233329.190021-1-stephen@networkplumber.org/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/98510/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/98510/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 24FE5A0547;\n\tFri, 10 Sep 2021 01:33:35 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8DBCB4067E;\n\tFri, 10 Sep 2021 01:33:34 +0200 (CEST)", "from mail-pj1-f44.google.com (mail-pj1-f44.google.com\n [209.85.216.44]) by mails.dpdk.org (Postfix) with ESMTP id 2218F4003E\n for <dev@dpdk.org>; Fri, 10 Sep 2021 01:33:33 +0200 (CEST)", "by mail-pj1-f44.google.com with SMTP id k23so170549pji.0\n for <dev@dpdk.org>; Thu, 09 Sep 2021 16:33:33 -0700 (PDT)", "from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123])\n by smtp.gmail.com with ESMTPSA id z6sm3172255pjn.27.2021.09.09.16.33.30\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 09 Sep 2021 16:33:30 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=c/t4IUC1iS2aMFWYl0JS9qjB6OM+hmwHkfi/jJe8bWM=;\n b=UHo3d6IAWHYV28fkwIl2VtaTfQeTasmrbxh6kR0VsXSbq20/UR+cBRRkk4oEt/Sdde\n HQSVTVc8UOxWzUCUe1wyO7SUaP2EJ0x/Wl92C32H/KkNxbwwWiIrGU1vT5Sx0c17BIOm\n /Ea/KJ2lSHjLK7aPEk0Gu6KMAT5MqrVnyKwymTDiLHyJGE62quweEvMLUb5xyh4rcMKa\n G2xdstVYQzpcpzj1yBb/qLhvT+BJA8wdTUTI3Z1qziVGxHhtugQo36TQwTBbUTDHfg1/\n 61T1+yQEtwYRDlN3k/p5ThnTyXG838hwGVz1Z0CX33Vjb4oT3caeOyF6XkXq5YbzVphU\n js5Q==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=c/t4IUC1iS2aMFWYl0JS9qjB6OM+hmwHkfi/jJe8bWM=;\n b=mrSKDXODcbw7qQnSSgcvaTPKKqZrvoIXkseDbRP5gBL4Y7qGlZ0th5LQqXxUQ50LSl\n 96YsH3H6cvQX087iItm16SuynFuxhPSies9vTb+Qn22oWfr0JA0rIQEMIye7EaoATIP1\n ybz+wdUPBVu+p+oze4cIugMlxc9SdXcGfUipf3y2toh2hr6MA3eynqeJ2wYnQcMvLzgq\n 5gVi0Kedagcfsge56O+EjlmA7D2q9MGEszXi17VHXAWIBSUUQIABi5JAE0aXqObJGziw\n 5lMzACt1iQb5UoCFWQaxF3qU0mK0Pjp/mj5W+Ql1coSjpEZ/pqPve7fZTdgMQ48krQvk\n dQcQ==", "X-Gm-Message-State": "AOAM533WQ8u1Z7BpR6Kwf7G+bOCN8ceQXyfPqi+R+33lmgbhWG0hYTZQ\n GB9h6GVfp7IZVsAF4IJAukwBBfIymgLJfg==", "X-Google-Smtp-Source": "\n ABdhPJyWHpJnfTd2T0n6ETuFQmp/Z7fVL25Q0mhWuin6FEqIBmvuGnhVA0+iLOzsBTf030xlIOvmyQ==", "X-Received": "by 2002:a17:903:1c4:b0:13a:8c8:92b7 with SMTP id\n e4-20020a17090301c400b0013a08c892b7mr4939845plh.87.1631230411756;\n Thu, 09 Sep 2021 16:33:31 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>", "Date": "Thu, 9 Sep 2021 16:33:19 -0700", "Message-Id": "<20210909233329.190021-1-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.30.2", "In-Reply-To": "<20210903004732.109023-1-stephen@networkplumber.org>", "References": "<20210903004732.109023-1-stephen@networkplumber.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v6 00/10] Packet capture framework enhancements", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "This patch set is a more complete version of the the enhanced\npacket capture support described last year.\n\nThe new capture library and utility are:\n - faster avoids lots of extra I/O, does bursting, etc.\n - gives more information (multiple ports, queues, etc)\n - has a better user interface (same as Wireshark dumpcap)\n - fixes structural problems with VLAN's and timestamps\n\nIt preserves the old pdump command as is for those people\nwho never want to change.\n\nv6 changes:\n - add a test for bpf converter (and fix one bug it found).\n\nv5 changes:\n - minor build and checkpatch fixes for RHEL/FreeBSD\n - disable lib/pdump on Windows. It was not useful before\n and now pdump depends on bpf.\n\nv4 changes:\n - minor checkpatch fixes.\n Note: some of the checkpatch warnings are bogus and won't be fixed.\n - fix build of dumpcap on FreeBSD\n\nv3 changes:\n - introduce packet filters using classic BPF to eBPF converter\n required small fix to DPDK BPF interpreter\n - introduce function to decode eBPF instructions\n - add option to dumpcap to show both classic BPF and eBPF result\n - drop some un-useful stubs\n - minor checkpatch warning cleanup\n\nStephen Hemminger (10):\n librte_pcapng: add new library for writing pcapng files\n bpf: allow self-xor operation\n bpf: add function to convert classic BPF to DPDK BPF\n bpf: add function to dump eBPF instructions\n test: add test for bpf_convert\n lib: pdump is not supported on Windows\n pdump: support pcapng and filtering\n app/dumpcap: add new packet capture application\n doc: changes for new pcapng and dumpcap\n MAINTAINERS: add entry for new pcapng and dumper\n\n MAINTAINERS | 6 +\n app/dumpcap/main.c | 827 ++++++++++++++++++\n app/dumpcap/meson.build | 16 +\n app/meson.build | 1 +\n app/test/test_bpf.c | 148 ++++\n doc/api/doxy-api-index.md | 1 +\n doc/api/doxy-api.conf.in | 1 +\n .../howto/img/packet_capture_framework.svg | 96 +-\n doc/guides/howto/packet_capture_framework.rst | 67 +-\n doc/guides/prog_guide/index.rst | 1 +\n doc/guides/prog_guide/pcapng_lib.rst | 24 +\n doc/guides/prog_guide/pdump_lib.rst | 28 +-\n doc/guides/rel_notes/release_21_11.rst | 10 +\n doc/guides/tools/dumpcap.rst | 86 ++\n doc/guides/tools/index.rst | 1 +\n lib/bpf/bpf_convert.c | 575 ++++++++++++\n lib/bpf/bpf_dump.c | 118 +++\n lib/bpf/bpf_validate.c | 8 +-\n lib/bpf/meson.build | 6 +\n lib/bpf/rte_bpf.h | 39 +\n lib/bpf/version.map | 7 +\n lib/meson.build | 6 +-\n lib/pcapng/meson.build | 8 +\n lib/pcapng/pcapng_proto.h | 129 +++\n lib/pcapng/rte_pcapng.c | 574 ++++++++++++\n lib/pcapng/rte_pcapng.h | 194 ++++\n lib/pcapng/version.map | 12 +\n lib/pdump/meson.build | 2 +-\n lib/pdump/rte_pdump.c | 437 ++++++---\n lib/pdump/rte_pdump.h | 110 ++-\n lib/pdump/version.map | 8 +\n 31 files changed, 3330 insertions(+), 216 deletions(-)\n create mode 100644 app/dumpcap/main.c\n create mode 100644 app/dumpcap/meson.build\n create mode 100644 doc/guides/prog_guide/pcapng_lib.rst\n create mode 100644 doc/guides/tools/dumpcap.rst\n create mode 100644 lib/bpf/bpf_convert.c\n create mode 100644 lib/bpf/bpf_dump.c\n create mode 100644 lib/pcapng/meson.build\n create mode 100644 lib/pcapng/pcapng_proto.h\n create mode 100644 lib/pcapng/rte_pcapng.c\n create mode 100644 lib/pcapng/rte_pcapng.h\n create mode 100644 lib/pcapng/version.map", "diff": null, "prefixes": [ "v6", "00/10" ] }{ "id": 98510, "url": "