Re: [PATCH] usertools/pmdinfo: fix usage typos
From: David Marchand <hidden>
Date: 2023-09-27 07:56:25
From: David Marchand <hidden>
Date: 2023-09-27 07:56:25
On Tue, Sep 19, 2023 at 12:20 PM Robin Jarry [off-list ref] wrote:
The docs and script usages are not consistent.
There is no .devices, .vendor_id nor .device_id fields. Fix usage to the
correct field names.
Some drivers do not expose any pci_ids, show how to use the []? jq
operator to avoid spurious errors.
Fixes: 0ce3cf4afd04 ("usertools/pmdinfo: rewrite simpler script")
Cc: stable@dpdk.org
Signed-off-by: Robin Jarry <redacted>My jq-ryu was not enough, thanks for the fix :-). Reviewed-by: David Marchand <redacted> -- David Marchand