Date: Wed, 17 Aug 2016 13:52:01 +0000 From: KrishnamRaju ErapaRaju <Krishna2@chelsio.com> To: Hans Petter Selasky <hps@selasky.org>, Alex Bowden <alex.bowden@outlook.com>, "freebsd-infiniband@freebsd.org" <freebsd-infiniband@freebsd.org> Subject: RE: Set non blocking on /dev/rdma_cm Message-ID: <BN4PR12MB0818C6E44B81A4DED2B358F794140@BN4PR12MB0818.namprd12.prod.outlook.com> In-Reply-To: <ad67ccbe-4552-7fbd-b804-252d2ee385eb@selasky.org> References: <DM2PR05MB75118A2E53E97548A432608F7130@DM2PR05MB751.namprd05.prod.outlook.com> <BN4PR12MB081885693F06A5B5666629D494140@BN4PR12MB0818.namprd12.prod.outlook.com> <516f3566-33f0-c1d6-ab2d-997290a16ae5@selasky.org> <ad67ccbe-4552-7fbd-b804-252d2ee385eb@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Hans, The error "Inappropriate ioctl for device" is not occurring after applying = your patch. Will check whether rdma_get_cm_event() is blocking or not when fcntl(O_NONB= LOCK) is set. Thanks, Krishna. -----Original Message----- From: Hans Petter Selasky [mailto:hps@selasky.org]=20 Sent: Wednesday, August 17, 2016 3:06 PM To: KrishnamRaju ErapaRaju <Krishna2@chelsio.com>; Alex Bowden <alex.bowden= @outlook.com>; freebsd-infiniband@freebsd.org Subject: Re: Set non blocking on /dev/rdma_cm On 08/17/16 11:30, Hans Petter Selasky wrote: > On 08/17/16 09:03, KrishnamRaju ErapaRaju wrote: >> Hi Alex, >> >> >> I too faced the same issue earlier. But could not look into=20 >> it/report it due to other priorities. >> >> Hans, if you have root caused it please point me to the patch, few of=20 >> my apps uses O_NONBLOCK. >> > > Hi Alex, > > Can you try the attached patch? > > cd /usr/src > cat ibcore_fionbio.diff | patch -p1 > > --HPS > Hi, Looks like we also need to support FIOASYNC. Updated patch attached. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BN4PR12MB0818C6E44B81A4DED2B358F794140>