net/smc: allow PCI IDs as ib device names in the pnet table
authorHans Wippel <hwippel@linux.ibm.com>
Thu, 21 Feb 2019 12:01:03 +0000 (13:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Feb 2019 18:34:37 +0000 (10:34 -0800)
commitaf5f60c7e3d593c2fa31b9a62c16eae75f074de3
treeb8fc6f5e233c5a85e2c3004a6c29b307f112b43d
parent64e28b52c7a6616217bee67ba2ad886f478f9737
net/smc: allow PCI IDs as ib device names in the pnet table

SMC-D devices are identified by their PCI IDs in the pnet table. In
order to make usage of the pnet table more consistent for users, this
patch adds this form of identification for ib devices as well.

Signed-off-by: Hans Wippel <hwippel@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_pnet.c