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

Shahaf Shuler shahafs at mellanox.com
Sun Feb 10 16:11:47 CET 2019


Thursday, February 7, 2019 12:25 AM, Thomas Monjalon:
> Cc: dev at dpdk.org
> Subject: [PATCH v2] net/mlx: support firmware version query
> 
> 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 port probing.
> 
> It is tested with command "drvinfo" of examples/ethtool/.
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>

Acked-by: Shahaf Shuler <shahafs at mellanox.com>

Applied to next-net-mlx, thanks. 


More information about the dev mailing list