Thomas Monjalon a1883178e9 net/mlx5: remove useless driver name comparison
The function mlx5_dev_to_port_id() is returning all the ports
associated to a rte_device.
It was comparing driver names while already comparing rte_device pointers.
If two devices are the same, they will have the same driver.
So the useless driver name comparison is removed.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
2018-10-17 10:26:59 +02:00
..
2018-07-04 21:21:31 +02:00
2018-10-11 18:53:48 +02:00
2018-10-16 14:54:25 +02:00
2018-09-28 01:41:02 +02:00
2018-10-11 18:53:49 +02:00
2018-10-11 18:53:48 +02:00
2018-09-28 01:41:02 +02:00