diff options
| author | Hans Wippel <[email protected]> | 2020-02-25 22:41:21 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-02-26 20:27:06 -0800 |
| commit | 366bb249b58381bc415a83608859019736b23766 (patch) | |
| tree | cb1fe57818629f7b2d6e999af04ea1d717c462a5 /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | 0b7f41f68710ccbf7d029c749616e5d26ae8f74d (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions