bus/pci: remove Mellanox kernel driver type
authorDavid Marchand <david.marchand@redhat.com>
Mon, 22 Jul 2019 12:56:50 +0000 (14:56 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 22 Jul 2019 15:44:08 +0000 (17:44 +0200)
commit62f8f5ace506b336afcb9022d4c456f893f1d732
tree31914a8e4bb5b3b6c4fb6ef2dafea8aa19757414
parent829d5116f9d1a347ab768efded09feb07a032313
bus/pci: remove Mellanox kernel driver type

This reverts commit 0cb86518db57d35e0abc14d6703fad561a0310e2.

The PCI bus now reports DC when faced with a device bound to an unknown
driver and, in such a case, the IOVA mode is selected against physical
address availability.

As a consequence, there is no reason for this special case for Mellanox
drivers.

Fixes: 703458e19c16 ("bus/pci: consider only usable devices for IOVA mode")

Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
drivers/bus/pci/linux/pci.c
lib/librte_eal/common/include/rte_dev.h