[dpdk-dev] [PATCH] app/pdump: fix port id storage size
Kovacevic, Marko
marko.kovacevic at intel.com
Wed Nov 14 09:39:11 CET 2018
> > port_id size should be uint16_t,
> > fix where it is defined as uint8_t
> >
> > Fixes: f8244c6399d9 ("ethdev: increase port id range")
> > Cc: zhiyong.yang at intel.com
> >
> > Signed-off-by: Marko Kovacevic <marko.kovacevic at intel.com>
> > ---
> > app/pdump/main.c | 6 +++---
> > 1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/app/pdump/main.c b/app/pdump/main.c index
> > d96556e..baabd04
> > 100644
> > --- a/app/pdump/main.c
> > +++ b/app/pdump/main.c
> > @@ -266,7 +266,7 @@ parse_pdump(const char *optarg)
> > &parse_uint_value, &v);
> > if (ret < 0)
>
> Can you also int type to unit16_t for below two.
>
> int rx_vdev_id;
> int tx_vdev_id;
>
> Thanks,
> Reshma
Sure Reshma will do it right now.
Marko K.
More information about the dev
mailing list