<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 3/10/2022 11:20 PM, Adham Masarwah
wrote:<br>
</div>
<blockquote type="cite" cite="mid:20220310175023.2552-2-adham@nvidia.com">
<pre class="moz-quote-pre" wrap="">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: <a class="moz-txt-link-abbreviated" href="mailto:stable@dpdk.org">stable@dpdk.org</a>
Signed-off-by: Adham Masarwah <a class="moz-txt-link-rfc2396E" href="mailto:adham@nvidia.com"><adham@nvidia.com></a>
---</pre>
</blockquote>
<p><br>
</p>
<pre><span class="acked-by" style="box-sizing: border-box; color: rgb(45, 69, 102);">Acked-by: Aman Singh <a class="moz-txt-link-rfc2396E" href="mailto:aman.deep.singh@intel.com"><aman.deep.singh@intel.com></a></span></pre>
<p><font face="monospace">As Window<span style="color: rgb(35, 38,
41); font-size: 15px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);
text-decoration-thickness: initial; text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;"> uses the<span> </span></span><code style="margin: 0px; padding: 2px 4px; border: 0px none; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-weight: 400; font-stretch: inherit; line-height: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; background-color: var(--black-075); white-space: pre-wrap; color: rgb(35, 38, 41); border-radius: 3px; letter-spacing: normal; text-align: left; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">LLP64 data model.</code></font></p>
<p><br>
</p>
<blockquote type="cite" cite="mid:20220310175023.2552-2-adham@nvidia.com">
<pre class="moz-quote-pre" wrap="">
app/test-pmd/cmdline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index b4ba8da2b0..efa02bd301 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -3127,7 +3127,7 @@ showport_parse_reta_config(struct rte_eth_rss_reta_entry64 *conf,
return -1;
}
for (i = 0; i < ret; i++)
- conf[i].mask = (uint64_t)strtoul(str_fld[i], &end, 0);
+ conf[i].mask = (uint64_t)strtoull(str_fld[i], &end, 0);
return 0;
}
</pre>
</blockquote>
</body>
</html>