> -----Original Message----- > From: Dongdong Liu <liudongdo...@huawei.com> > Subject: [PATCH v3 2/7] app/procinfo: add firmware version dump > > Add support for dump ethdev firmware version. > > The command is like: > dpdk-proc-info -a xxxx:xx:xx.x --file-prefix=xxx -- --firmware-version > > Signed-off-by: Min Hu (Connor) <humi...@huawei.com> > Signed-off-by: Dongdong Liu <liudongdo...@huawei.com> > + if (rte_eth_dev_fw_version_get(i, fw_version, > + ETHDEV_FWVERS_LEN) == 0) > + printf("Ethdev port %u firmware version: %s\n", i, > + fw_version); > + else > + printf("Ethdev port %u firmware version: %s\n", i, > + "not available"); Small question, do you want to show generic msg "Not available" ? instead of different printing messages based on what is returned from the " rte_eth_dev_fw_version_get" . Acked-by: Reshma Pattan <reshma.pat...@intel.com>
- [PATCH v3 0/7] app/procinfo: add some extended features Dongdong Liu
- [PATCH v3 1/7] app/procinfo: add dpdk version dump Dongdong Liu
- RE: [PATCH v3 1/7] app/procinfo: add dpdk version ... Pattan, Reshma
- [PATCH v3 2/7] app/procinfo: add firmware version dump Dongdong Liu
- RE: [PATCH v3 2/7] app/procinfo: add firmware vers... Pattan, Reshma
- Re: [PATCH v3 2/7] app/procinfo: add firmware ... Dongdong Liu
- [PATCH v3 4/7] app/procinfo: add module info dump Dongdong Liu
- RE: [PATCH v3 4/7] app/procinfo: add module info d... Pattan, Reshma
- Re: [PATCH v3 4/7] app/procinfo: add module in... Dongdong Liu
- [PATCH v3 3/7] app/procinfo: add RSS RETA dump Dongdong Liu
- RE: [PATCH v3 3/7] app/procinfo: add RSS RETA dump Pattan, Reshma
- [PATCH v3 6/7] app/procinfo: fix some wrong doxygen sy... Dongdong Liu
- RE: [PATCH v3 6/7] app/procinfo: fix some wrong do... Pattan, Reshma
- Re: [PATCH v3 6/7] app/procinfo: fix some wron... Dongdong Liu
- [PATCH v3 5/7] app/procinfo: add dump of Rx/Tx burst m... Dongdong Liu