Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/101845/?format=api
https://patches.dpdk.org/api/patches/101845/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20211015201129.63220-1-stephen@networkplumber.org/", "project": { "id": 1, "url": "https://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": "<20211015201129.63220-1-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20211015201129.63220-1-stephen@networkplumber.org", "date": "2021-10-15T20:11:17", "name": "[v14,00/12] Packet capture framework update", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 27, "url": "https://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20211015201129.63220-1-stephen@networkplumber.org/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/101845/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/101845/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 4760FA0C4D;\n\tFri, 15 Oct 2021 22:11:36 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0F6A2410F2;\n\tFri, 15 Oct 2021 22:11:36 +0200 (CEST)", "from mail-pj1-f51.google.com (mail-pj1-f51.google.com\n [209.85.216.51]) by mails.dpdk.org (Postfix) with ESMTP id 579BF4003C\n for <dev@dpdk.org>; Fri, 15 Oct 2021 22:11:34 +0200 (CEST)", "by mail-pj1-f51.google.com with SMTP id om14so7953208pjb.5\n for <dev@dpdk.org>; Fri, 15 Oct 2021 13:11:34 -0700 (PDT)", "from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123])\n by smtp.gmail.com with ESMTPSA id g4sm5250456pgs.42.2021.10.15.13.11.31\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 15 Oct 2021 13:11:31 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20210112.gappssmtp.com; s=20210112;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=1X5ohHJBMCHIlG5cVDDN7ucwJ245V/BKGsnLyTIPx6M=;\n b=ec0mhNwlHKqh5wCsBI7h+WT3x75fqILAo0oHpOOkE+l5tfur0yllJSW1RZX8o/zX7J\n sLBlfqZyGGtD5KMQLSvqXffgOkf2L4K60cNpJHBW0436kl7fi6UGx28BwHXZcLY8PDdv\n kzuPUCgejKQ442ruADbunEKCiMBBqI0unkVHD1wuH9HuHzmVp1HFy473YsZ1E6jeXMB+\n 3yTsNvQaFUDH73wa6H+SCcS7xmEfxslZrWRm4OQ+2EUP1HV001pJ4xMlAgmUQT2kbZLI\n Yx+wXMVFdh+4R6o3wVVjhK+V5H0TQtSkFgJfmjstx0xRZBfnYcF9hsLXn5e7YBRIolJ3\n SpCQ==", "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=1X5ohHJBMCHIlG5cVDDN7ucwJ245V/BKGsnLyTIPx6M=;\n b=dIgUuwwx9hepJaykqhssy0kymSJmq2fWkuAjZyk4jGxvXllPWAKdMzHjR97AI7nXx1\n tebkRPzeym3omxepcFOqV9Y2QRUkvElhF6bsbuWlNtH39g4z6KwPciSyod69XaaSCs52\n uFeA7+fsJ9O7bj3Cv7DtW+JDDTsjUd5vlHQceX6IOmCCswky9VKaMlqgMVhOEJzPeLSF\n RF1y4blyfegawCDYSvzmFUnS4zjvmAD4fyOFp9B7uJbepJFGqZtLbydEENewGRsETPAC\n vkoj8lW8mIsmpKNvpzxJyfK/vfCR6uoQIXzIYCoaLJx6GULZ9WIV1AzAbvL4DuIeNZzL\n iChA==", "X-Gm-Message-State": "AOAM531rywHOmnfv+/jJpLe3QDcJKS5A41m0bvZO9I4iXlK0eMsm+49A\n VMNKdH/Y8u2ouhaXoC6Wz9aTQh7pYA4=", "X-Google-Smtp-Source": "\n ABdhPJzDM6awdBCkSsvaLtXTqiRASU0O4eEMgixwkqWrkjl0C9jzXfJHz7z00Na4QNd5i23YjJSmFw==", "X-Received": "by 2002:a17:90a:7bc8:: with SMTP id\n d8mr29666773pjl.128.1634328692740;\n Fri, 15 Oct 2021 13:11:32 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>", "Date": "Fri, 15 Oct 2021 13:11:17 -0700", "Message-Id": "<20211015201129.63220-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 v14 00/12] Packet capture framework update", "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\nThere are no blocker items.\nThe following are worth noting:\n * bogus checkpatch warnings\n\t- the correct flag to open is O_CREAT\n - intentionally keeping macro with goto since that\n was in original code and is clearer\n - the tempfile name can not be const since it is\n overwritten by tmpfile() call\n\n * enabling BPF tests causes CI to see a pre-existing bug\n https://bugs.dpdk.org/show_bug.cgi?id=811\n\n * future filtering for stripped VLAN tags needs collabration\n with libpcap project to fix pcap_compile_filter().\n\nv14\n - fix checkpatch whitespace warning\n - enhance the pcapng prog guide documentation\n\nv13\n - integrate feedback in documentation and pcapng library\n - rebase to align with rte_ether_addr changes\n\nv12\n - fixes for capture offloaded VLAN tags.\n look at direction flag and handle QinQ offload.\n\nv11\n - address review comments for pdump (patch 6)\n\nv10:\n - fix to rte_bpf_dump to handle more instructions\n make sure all bpf_test cases are decoded\n\nv9:\n - incorporate suggested change to BPF XOR\n - make autotest for pcapng more complete by reading the\n resulting file with libpcap\n\nv8:\n - enable BPF tests in autotest\n - add more BPF test strings\n - use rte_strscpy to satisfy checkpatch\n - merge MAINTAINERS (put this in with existing pdump)\n\nv7:\n - add functional tests for pcapng lib\n - bug fix for error returns in pcapng lib\n - handle long osname on FreeBSD\n - resolve almost all checkpatch issues\n\nv5:\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:\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:\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\nv2:\n fix formatting of packet blocks\n fix the new packet capture statistics\n fix crash when primary process exits\n record start/end time\n various whitespace/checkpatch warnings\n\nStephen Hemminger (12):\n lib: pdump is not supported on Windows\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 pdump: support pcapng and filtering\n app/dumpcap: add new packet capture application\n test: add test for bpf_convert\n test: add a test for pcapng library\n test: enable bpf autotest\n doc: changes for new pcapng and dumpcap utility\n MAINTAINERS: add entry for new packet capture features\n\n MAINTAINERS | 11 +-\n app/dumpcap/main.c | 844 ++++++++++++++++++\n app/dumpcap/meson.build | 16 +\n app/meson.build | 1 +\n app/test/meson.build | 6 +\n app/test/test_bpf.c | 200 +++++\n app/test/test_pcapng.c | 272 ++++++\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 | 69 +-\n doc/guides/prog_guide/index.rst | 1 +\n doc/guides/prog_guide/pcapng_lib.rst | 46 +\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 | 139 +++\n lib/bpf/bpf_validate.c | 9 +-\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 | 607 +++++++++++++\n lib/pcapng/rte_pcapng.h | 195 ++++\n lib/pcapng/version.map | 12 +\n lib/pdump/meson.build | 2 +-\n lib/pdump/rte_pdump.c | 432 ++++++---\n lib/pdump/rte_pdump.h | 113 ++-\n lib/pdump/version.map | 8 +\n 33 files changed, 3757 insertions(+), 219 deletions(-)\n create mode 100644 app/dumpcap/main.c\n create mode 100644 app/dumpcap/meson.build\n create mode 100644 app/test/test_pcapng.c\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": [ "v14", "00/12" ] }{ "id": 101845, "url": "