Thomas Monjalon 714bf46ebb 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@monjalon.net>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
2019-02-13 12:55:38 +01:00
..
2018-09-28 01:41:03 +02:00
2018-12-21 16:22:40 +01:00
2017-10-06 02:49:47 +02:00
2017-04-04 19:02:45 +02:00
2018-10-26 22:14:05 +02:00
2018-04-14 00:59:41 +02:00
2018-11-19 01:16:35 +01:00
2018-11-19 01:16:13 +01:00
2019-01-27 23:38:37 +01:00
2018-10-11 18:53:49 +02:00
2018-11-26 20:19:24 +01:00
2019-01-24 18:18:10 +01:00
2019-01-24 10:08:31 +01:00
2019-01-18 09:47:26 +01:00
2018-02-08 18:42:14 +01:00
2018-02-13 18:17:30 +01:00
2018-10-11 18:53:48 +02:00
2018-09-14 20:08:41 +02:00
2018-12-13 17:53:50 +00:00
2018-11-22 10:31:52 +01:00
2018-10-26 22:14:05 +02:00