app/testpmd: fix show RSS RETA on Windows
authorAdham Masarwah <adham@nvidia.com>
Sun, 13 Mar 2022 12:57:02 +0000 (14:57 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 14 Mar 2022 20:38:48 +0000 (21:38 +0100)
commit5aae2723cddba81b179162b5e7e4f6bd429eaac5
tree3b1d002e72c96d92bbd88d72a1df6d7f5561b600
parent7dc92d17298d8fd05a912606f02a094566ec0b3f
app/testpmd: fix show RSS RETA on Windows

Replaced using strtoul with strtoull when converting to
64-bit mask field.
In Windows strtoul returns 32-bit values which cause an
issue with show RSS RETA.

Fixes: 66c594904ac ("ethdev: support multiple sizes of redirection table")
Cc: stable@dpdk.org
Signed-off-by: Adham Masarwah <adham@nvidia.com>
Acked-by: Aman Singh <aman.deep.singh@intel.com>
app/test-pmd/cmdline.c