From mboxrd@z Thu Jan 1 00:00:00 1970 From: swise@opengridcomputing.com (Steve Wise) Date: Mon, 24 Oct 2016 12:57:13 -0500 Subject: [PATCH RFC v2 0/3] connect reject event helpers In-Reply-To: <2F5E122E-0B50-4264-8E44-3D484B0282F0@oracle.com> References: <001701d22be6$4854b8b0$d8fe2a10$@opengridcomputing.com> <01aa01d22e1e$46b0bc90$d41235b0$@opengridcomputing.com> <2F5E122E-0B50-4264-8E44-3D484B0282F0@oracle.com> Message-ID: <01ac01d22e20$0c8e9df0$25abd9d0$@opengridcomputing.com> > >>> Hey Steve, > >>> > >>> This looks nice and useful. Would be great if you can > >>> also help other ULPs that use this (e.g. srp/srpt) > >> > >> can-do! > > > > Actually, srp uses the ib_cm directly. Further it already has logic to do > > various actions based on the IB_CM Reject status. It really doesn't need these > > helpers. The only one would be ibcm_reject_msg(). Looking at the iser > > initiator, it logs nothing on a reject event. And nfsrdma doesn't log any > > details about the reject reason also. > > > > I could add a dev_warn() or something for iser and nfsrdma. > > I'm fixing an issue in this area. I'd like to take care of > the xprtrdma connection upcall myself once you've got these > new APIs introduced. Sure, not a problem!