Hi Stephen, Thomas,
On a related note
w.r.to commit 1dd6cffb6571f816d5a0d1fd620f43532240b40b (app/procinfo: provide way to request info on owned ports), we see this change:
-static uint32_t enabled_port_mask;
+static unsigned long enabled_port_mask;
While this is ok for 64-bit machines, where unsigned long is 64-bit, on 32-bit machines unsigned long is 32-bits.
Should we change this to unsigned long long which is guaranteed to be 64-bits on both architectures?
Specifying a mask of 0xffffffffffffffff on 32-bit platforms results in error:
+ sudo /usr/share/dpdk/tools/dpdk-procinfo -- --show-port -p 0xffffffffffffffff
Invalid portmask '0xffffffffffffffff'
We have a script that runs periodically and it uses the dpdk-procinfo tool to collect information about the ports.
It will be ideal to use the same portmask in the script irrespective of the platform it runs on.
Kindly share your thoughts on this.