linux_dsm_epyc7002/drivers/infiniband
Noa Osherovich 5236333592 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: 8561eae60f ("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>
2017-07-24 10:40:23 -04:00
..
core IB/core: Fix the validations of a multicast LID in attach or detach operations 2017-07-24 10:40:23 -04:00
hw IB/mlx5: Add delay drop configuration and statistics 2017-07-24 10:40:22 -04:00
sw rxe: fix broken receive queue draining 2017-07-20 11:20:50 -04:00
ulp RDMA/iser: don't send an rkey if all data is written as immadiate-data 2017-07-20 11:20:50 -04:00
Kconfig IB/opa-vnic: Virtual Network Interface Controller (VNIC) netdev 2017-04-20 12:01:38 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00