diff options
| author | Noa Osherovich <[email protected]> | 2017-06-12 11:14:02 +0300 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-07-24 10:40:23 -0400 |
| commit | 5236333592244557a19694a51337df6ac018f0a7 (patch) | |
| tree | 09448c5fdf0b5e0e057f4102ac9b94c71761be52 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | fe248c3a5837848717ed566fb4aefe66f43a5e53 (diff) | |
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 <[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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions