[dpdk-dev] [PATCH v15 06/12] pdump: support pcapng and filtering
Wang, Yinan
yinan.wang at intel.com
Wed Oct 27 08:34:36 CEST 2021
Hi Hemminger,
I meet an issue when using dpdk-pdump with your patch ,we try to capture pkts from virtio port, all packets captured shows malformed packets , and no issue if remove your patch. Bug link:https://bugs.dpdk.org/show_bug.cgi?id=840
Could you help to take a look at this issue?
BR,
Yinan
> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Stephen Hemminger
> Sent: 2021?10?21? 5:43
> To: dev at dpdk.org
> Cc: Stephen Hemminger <stephen at networkplumber.org>; Pattan, Reshma
> <reshma.pattan at intel.com>; Ray Kinsella <mdr at ashroe.eu>; Burakov,
> Anatoly <anatoly.burakov at intel.com>
> Subject: [dpdk-dev] [PATCH v15 06/12] pdump: support pcapng and filtering
>
> This enhances the DPDK pdump library to support new
> pcapng format and filtering via BPF.
>
> The internal client/server protocol is changed to support
> two versions: the original pdump basic version and a
> new pcapng version.
>
> The internal version number (not part of exposed API or ABI)
> is intentionally increased to cause any attempt to try
> mismatched primary/secondary process to fail.
>
> Add new API to do allow filtering of captured packets with
> DPDK BPF (eBPF) filter program. It keeps statistics
> on packets captured, filtered, and missed (because ring was full).
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Acked-by: Reshma Pattan <reshma.pattan at intel.com>
More information about the dev
mailing list