OSDN Git Service

IB/cm: Pass the sgid_attr through various events
authorParav Pandit <parav@mellanox.com>
Tue, 19 Jun 2018 07:59:18 +0000 (10:59 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 25 Jun 2018 20:19:57 +0000 (14:19 -0600)
commit815d456ef21a132b60ce67908d289235e9bb896c
tree53b372a38d13b5dc5d6d1378f121b0e2c7346c13
parent4ed13a5f2d606d2e6bcc5b8adbf08ed52e76cbb5
IB/cm: Pass the sgid_attr through various events

Make the sgid_attr available along with path information to the event
consumer, this allows the consumer to keep using the same GID table entry
as the event is related to.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/core/cm.c
drivers/infiniband/core/cma.c
include/rdma/ib_cm.h