summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHans Wippel <hwippel@linux.ibm.com>2019-02-21 13:01:00 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-21 10:34:37 -0800
commit890a2cb4a966a097961fad0747d4f63e09b79da7 (patch)
tree96c30f50837a16f2e7deb21d2fd48eb9caf35eb8 /drivers
parent390dde08446ececfaafe63d0db14ceff15f03886 (diff)
downloadlinux-890a2cb4a966a097961fad0747d4f63e09b79da7.tar.gz
linux-890a2cb4a966a097961fad0747d4f63e09b79da7.tar.bz2
linux-890a2cb4a966a097961fad0747d4f63e09b79da7.zip
net/smc: rework pnet table
If a device does not have a pnetid, users can set a temporary pnetid for said device in the pnet table. This patch reworks the pnet table to make it more flexible. Multiple entries with the same pnetid but differing devices are now allowed. Additionally, the netlink interface now sends each mapping from pnetid to device separately to the user while maintaining the message format existing applications might expect. Also, the SMC data structure for ib devices already has a pnetid attribute. So, it is used to store the user defined pnetids. As a result, the pnet table entries are only used for netdevs. 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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions