IB/qib: Setup notify free/create mad agent callbacks for rdmavt
authorDennis Dalessandro <dennis.dalessandro@intel.com>
Sun, 14 Feb 2016 20:10:45 +0000 (12:10 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:38:09 +0000 (20:38 -0500)
commit611ac099289736176e16aedd75f980f21b00d974
treeaf11bffe3ddf476811631b8661116b190777291a
parent1348d706f254fe7030221251a5e1685ff3d9f86a
IB/qib: Setup notify free/create mad agent callbacks for rdmavt

Qib needs to be notified when mad agents are created and freed, there is
some counter maintenance that needs to be performed. Add those callbacks at
registration time with rdmavt.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qib/qib_verbs.c