]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: Enable use of user named pkey devices
authorMukesh Kacker <mukesh.kacker@oracle.com>
Sat, 19 Jul 2014 06:59:21 +0000 (23:59 -0700)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Wed, 8 Jul 2015 21:00:11 +0000 (14:00 -0700)
commit60c41a4aa7f71f0f74e1a4a21c7f18f0b7111e6a
tree21361896ebbee2e680046e930c30a6c2745457d7
parent2864ecb83de9541296c309d32b4a82ca68c8e95d
RDS: Enable use of user named pkey devices

RDS code currently derives pkey associated with
a device by parsing its name. With user-named
pkey devices which do not have pkey as part of
the name, that is not possible and ipoib module
exports api to query the pkey from netdev.
Here we switch to use that api instead.

Orabug: 19064704

Ported from parts of UEK2 commit
  a101f6037e882b1c12143416d48345fe7ea62979

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Chien-Hua Yen <chien.yen@oracle.com>
Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
net/rds/ib.c