diff options
| author | Noa Osherovich <[email protected]> | 2017-06-12 11:14:03 +0300 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-07-24 10:40:23 -0400 |
| commit | be1d325a335840a86c133a56c6a911c368bac0fd (patch) | |
| tree | 99f54a1d65b2ae6726e8f76f47d281dab31e5bbf /tools/perf/scripts/python | |
| parent | 5236333592244557a19694a51337df6ac018f0a7 (diff) | |
IB/core: Set RoCEv2 MGID according to spec
RoCEv2 Annex states that for RoCEv2 over IPv4, the corresponding
IPv4 address is encoded into the GID according to the following rule:
GID= :ffff:<IPv4 address>
Remove the 0xff0e prefix for RoCEv2 packets with IPv4 and leave it
zeroed and change rdma_is_multicast_addr() to consider the new logic.
Signed-off-by: Noa Osherovich <[email protected]>
Reviewed-by: Moni Shoua <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions