<div dir="ltr">Hi Stephen,<div><br></div><div>Could you please help us understand the rationale behind showing just the last non-owned port in case the port mask was not specified?</div><div>I really appreciate your help in this regard.</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards,<div>Subendu.</div><div><br></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 24, 2022 at 11:04 AM Subendu Santra <<a href="mailto:subendu@arista.com">subendu@arista.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi Stephen,<div><br></div><div>We were going through the patch set: <a href="https://inbox.dpdk.org/dev/20200715212228.28010-7-stephen@networkplumber.org/" target="_blank">https://inbox.dpdk.org/dev/20200715212228.28010-7-stephen@networkplumber.org/</a> and hoping to get clarification on the behaviour if post mask is not specified in the input to `dpdk-proc-info` tool.</div><div><br></div><div>Specifically, In PATCH v3 6/7, we see this:</div><div><pre id="gmail-m_-1595264062620416452b" style="font-size:13px;white-space:pre-wrap;font-variant-ligatures:normal"><span>+      /* If no port mask was specified, one will be provided */
+       if (enabled_port_mask == 0) {
+               RTE_ETH_FOREACH_DEV(i) {
+                       enabled_port_mask |= 1u << i;</span></pre><div><br></div></div><div>However, in PATCH v4 8/8, we see this:</div><div><pre id="gmail-m_-1595264062620416452b" style="font-size:13px;white-space:pre-wrap;font-variant-ligatures:normal"><pre id="gmail-m_-1595264062620416452b" style="white-space:pre-wrap;font-variant-ligatures:normal"><span>+ /* If no port mask was specified, then show non-owned ports */
+       if (enabled_port_mask == 0) {
+               RTE_ETH_FOREACH_DEV(i)
+                       enabled_port_mask = 1ul << i;
+       }</span></pre><div><br></div></pre><div>Was there any specific reason to show just the last non-owned port in case the port mask was not specified?</div></div><div>Should we show all non-owned ports in case the user doesn’t specify any port mask?</div><div><br><div>
<div>Regards,</div><div>Subendu.</div><div><br></div><br>

</div>
<br></div></div></blockquote></div>