diff options
author | Noa Osherovich <noaos@mellanox.com> | 2017-06-12 10:14:02 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-24 16:40:23 +0200 |
commit | 5236333592244557a19694a51337df6ac018f0a7 (patch) | |
tree | 09448c5fdf0b5e0e057f4102ac9b94c71761be52 /include/rdma | |
parent | IB/mlx5: Add delay drop configuration and statistics (diff) | |
download | linux-5236333592244557a19694a51337df6ac018f0a7.tar.xz linux-5236333592244557a19694a51337df6ac018f0a7.zip |
IB/core: Fix the validations of a multicast LID in attach or detach operations
RoCE Annex (A16.9.10/11) declares that during attach (detach) QP to a
multicast group, if the QP is associated with a RoCE port, the
multicast group MLID is unused and is ignored.
During attach or detach multicast, when the QP is associated with a
port, it is enough to check the port's link layer and validate the
LID only if it is Infiniband. Otherwise, avoid validating the
multicast LID.
Fixes: 8561eae60ff9 ("IB/core: For multicast functions, verify that LIDs are multicast LIDs")
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 'include/rdma')
0 files changed, 0 insertions, 0 deletions