[dpdk-dev] [PATCH v4 4/4] examples/vdpa: add statistics show command
Ferruh Yigit
ferruh.yigit at intel.com
Fri Jun 19 17:02:31 CEST 2020
On 6/18/2020 7:59 PM, Matan Azrad wrote:
> A new vDPA driver feature was added to query the virtq statistics from
> the HW.
>
> Use this feature to show the HW queues statistics for the virtqs.
>
> Command description: stats X Y.
> X is the device ID.
> Y is the queue ID, Y=0xffff to show all the virtio queues statistics of
> the device X.
>
> Signed-off-by: Matan Azrad <matan at mellanox.com>
> Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
<...>
> +
> +static void cmd_device_stats_parsed(void *parsed_result, struct cmdline *cl,
> + __attribute__((unused)) void *data)
replacing "__attribute__((unused))" with '__rte_unused' while merging.
Please check checkpatch output, it now has a warning for it:
http://mails.dpdk.org/archives/test-report/2020-June/137330.html
"
Warning in /examples/vdpa/main.c:
Using compiler attribute directly
"
More information about the dev
mailing list