IB/uverbs: track multicast group membership for userspace QPs
authorJack Morgenstein <jackm@mellanox.co.il>
Wed, 30 Nov 2005 00:57:01 +0000 (16:57 -0800)
committerRoland Dreier <rolandd@cisco.com>
Wed, 30 Nov 2005 00:57:01 +0000 (16:57 -0800)
commitf4e401562c11c7ca65592ebd749353cf0b19af7b
tree3dcd04cef411bb14d8a2a6652b807550aa0eab0c
parente0ae9ecf469fdd3c1ad999efbf4fe6b782f49900
IB/uverbs: track multicast group membership for userspace QPs

uverbs needs to track which multicast groups is each qp
attached to, in order to properly detach when cleanup
is performed on device file close.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/uverbs.h
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/uverbs_main.c