[PATCH 1/6] app/procinfo: add version dump
Dongdong Liu
liudongdong3 at huawei.com
Tue Sep 20 04:35:51 CEST 2022
Hi Pattan
Many thanks for you review.
On 2022/9/19 17:23, Pattan, Reshma wrote:
>
>
>> -----Original Message-----
>> From: Dongdong Liu <liudongdong3 at huawei.com>
>> Subject: [PATCH 1/6] app/procinfo: add version dump
>
> If this is V2 version of patch, please add V2 in the patch heading.
> And can you mark the previous version of patches "Superseded" in the patchwork.
Yes, will do, thanks for reminding this.
>
>> dpdk-proc-info -a xxxx:xx:xx.x --file-prefix=xxx -- -- show-version
>
> --show-version? But not -- show-version.
Will fix.
>
>
>> --- a/app/proc-info/main.c
>> + " --show-version: to display DPDK version and firmware
>> version\n"
>
> Say ethdev firmware version. Instead of just firmware version.
Will fix.
>
>>
>> +static void show_version(void)
>
> Divide this into 2 lines. "static void" should be in one line and "show_version(void)" should be in another line.
> Please check the other functions in the file for an example.
Will do.
>
>
>> +{
>> +#define ETHDEV_FWVERS_LEN 32
>
> Can this definition be moved to top of the file along with the other #defines.
Yes, Will do.
>
>
>> +
>> ETHDEV_FWVERS_LEN) == 0)
>> + printf("Firmware version: %s\n", fw_version);
>
> Better to include Ethdev <port id> Firmware version.
Will do.
Thanks,
Dongdong
>
> Thanks,
> Reshma
> .
>
More information about the dev
mailing list