Re: [dpdk-dev] [PATCH] net/mlx: support firmware version query

2019-02-06 Thread Stephen Hemminger
On Wed, 06 Feb 2019 23:23:07 +0100 Thomas Monjalon wrote: > 06/02/2019 23:16, Stephen Hemminger: > > On Wed, 6 Feb 2019 22:59:09 +0100 > > Thomas Monjalon wrote: > > > > > The API function rte_eth_dev_fw_version_get() is querying drivers > > > via the operation callback fw_version_get(). > >

Re: [dpdk-dev] [PATCH] net/mlx: support firmware version query

2019-02-06 Thread Thomas Monjalon
06/02/2019 23:16, Stephen Hemminger: > On Wed, 6 Feb 2019 22:59:09 +0100 > Thomas Monjalon wrote: > > > The API function rte_eth_dev_fw_version_get() is querying drivers > > via the operation callback fw_version_get(). > > The implementation of this operation is added for mlx4 and mlx5. > > Both

Re: [dpdk-dev] [PATCH] net/mlx: support firmware version query

2019-02-06 Thread Stephen Hemminger
On Wed, 6 Feb 2019 22:59:09 +0100 Thomas Monjalon wrote: > The API function rte_eth_dev_fw_version_get() is querying drivers > via the operation callback fw_version_get(). > The implementation of this operation is added for mlx4 and mlx5. > Both functions are copying the same ibverbs field fw_ve

[dpdk-dev] [PATCH] net/mlx: support firmware version query

2019-02-06 Thread Thomas Monjalon
The API function rte_eth_dev_fw_version_get() is querying drivers via the operation callback fw_version_get(). The implementation of this operation is added for mlx4 and mlx5. Both functions are copying the same ibverbs field fw_ver which is retrieved when calling ibv_query_device[_ex]() during the