IB/core: Support new type of join-state for multicast
authorErez Shitrit <erezsh@mellanox.com>
Wed, 25 May 2016 19:02:06 +0000 (22:02 +0300)
committerDoug Ledford <dledford@redhat.com>
Wed, 25 May 2016 19:39:03 +0000 (15:39 -0400)
commitcd6e9b7ef90515cb90962059ffb03b679de27f99
tree8323f3df898312b8f81c561f52bd1c059e4fb8fb
parent628e6f75156eac6979eacc2e9383e41f6432beb4
IB/core: Support new type of join-state for multicast

There are four types for MCG, FullMember, NonMember, SendOnlyNonMember,
and the new added type: SendOnlyFullMember.
Add support for the new SendOnlyFullMember join state.

The new type allows host to send join request as sendonly, it will cause the
group to be created but without getting packets from this multicast back to the
host.

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Christoph Lameter <cl@linux.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/multicast.c