<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Stephen,<div class=""><br class=""></div><div class="">We were going through the patch set: <a href="https://inbox.dpdk.org/dev/20200715212228.28010-7-stephen@networkplumber.org/" class="">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 class=""><br class=""></div><div class="">Specifically, In PATCH v3 6/7, we see this:</div><div class=""><pre id="b" style="font-size: 13px; white-space: pre-wrap; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><span class="add">+      /* 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 class=""><br class=""></div></div><div class="">However, in PATCH v4 8/8, we see this:</div><div class=""><pre id="b" style="font-size: 13px; white-space: pre-wrap; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><pre id="b" style="white-space: pre-wrap; font-variant-ligatures: normal; text-decoration-thickness: initial;" class=""><span class="add">+        /* 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 class=""><br class=""></div></pre><div class="">Was there any specific reason to show just the last non-owned port in case the port mask was not specified?</div></div><div class="">Should we show all non-owned ports in case the user doesn’t specify any port mask?</div><div class=""><br class=""><div class="">
<div>Regards,</div><div>Subendu.</div><div class=""><br class=""></div><br class="Apple-interchange-newline">

</div>
<br class=""></div></body></html>