Hans Wippel 366bb249b5 net/smc: rework peer ID handling
This patch initializes the peer ID to a random instance ID and a zero
MAC address. If a RoCE device is in the host, the MAC address part of
the peer ID is overwritten with the respective address. Also, a function
for checking if the peer ID is valid is added. A peer ID is considered
valid if the MAC address part contains a non-zero MAC address.

Signed-off-by: Hans Wippel <ndev@hwipl.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-02-26 20:27:06 -08:00
..
2019-09-27 15:10:34 -07:00
2020-01-27 11:09:31 +01:00
2019-09-26 08:56:17 +02:00
2019-12-09 10:36:44 -08:00
2020-02-18 12:05:53 -08:00
2019-11-26 14:40:13 -08:00
2020-02-26 20:27:06 -08:00
2020-02-24 15:41:54 -08:00
2020-01-24 13:44:07 +01:00
2020-01-08 15:02:21 -08:00