[dpdk-dev] [PATCH v10 06/12] pdump: support pcapng and filtering
Stephen Hemminger
stephen at networkplumber.org
Thu Sep 23 18:58:47 CEST 2021
On Thu, 23 Sep 2021 16:11:42 +0000
"Pattan, Reshma" <reshma.pattan at intel.com> wrote:
> > +/*
> > + * Note: version numbers intentionally start at 3
> > + * in order to catch any application built with older out
> > + * version of DPDK using incompatible client request format.
> > + */
> > enum pdump_version {
> > - V1 = 1
> > + PDUMP_CLIENT_LEGACY = 3,
> > + PDUMP_CLIENT_PCAPNG = 4,
> The version numbering was internal to library, applications do not have control over it, can't we start enumeration from 1?
Although, DPDK does not support mixing versions between primary/secondary
process. Someone is sure to try.
I wanted to make sure that if user did something invalid like using
old pdump (built with DPDK 20.11) and new application that it would
fail in a direct manner.
More information about the dev
mailing list