diff options
author | Noa Osherovich <noaos@mellanox.com> | 2017-06-12 10:14:03 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-24 16:40:23 +0200 |
commit | be1d325a335840a86c133a56c6a911c368bac0fd (patch) | |
tree | 99f54a1d65b2ae6726e8f76f47d281dab31e5bbf /Documentation/fault-injection | |
parent | IB/core: Fix the validations of a multicast LID in attach or detach operations (diff) | |
download | linux-be1d325a335840a86c133a56c6a911c368bac0fd.tar.xz linux-be1d325a335840a86c133a56c6a911c368bac0fd.zip |
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 <noaos@mellanox.com>
Reviewed-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'Documentation/fault-injection')
0 files changed, 0 insertions, 0 deletions