From patchwork Tue Mar 29 10:10:28 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Or Gerlitz X-Patchwork-Id: 671072 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2TAC1PT029088 for ; Tue, 29 Mar 2011 10:12:02 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751786Ab1C2KMA (ORCPT ); Tue, 29 Mar 2011 06:12:00 -0400 Received: from mail.mellanox.co.il ([194.90.237.43]:51964 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750994Ab1C2KMA (ORCPT ); Tue, 29 Mar 2011 06:12:00 -0400 Received: from Internal Mail-Server by MTLPINE2 (envelope-from ogerlitz@mellanox.com) with SMTP; 29 Mar 2011 12:11:52 +0200 Received: from MTRCASDAG01.mtl.com (172.25.0.174) by MTLCAS01.mtl.com (10.0.8.71) with Microsoft SMTP Server (TLS) id 14.1.270.1; Tue, 29 Mar 2011 12:11:52 +0200 Received: from host195 (172.25.5.195) by MTRCASDAG01.mtl.com (172.25.0.174) with Microsoft SMTP Server (TLS) id 14.1.270.1; Tue, 29 Mar 2011 12:11:52 +0200 Date: Tue, 29 Mar 2011 12:10:28 +0200 From: Or Gerlitz X-X-Sender: ogerlitz@ogerlitz.voltaire.com To: Sean Hefty CC: linux-rdma , Yann Droneaud Subject: [PATCH] man/rdma_notify: document EISCONN errno value Message-ID: User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 X-Originating-IP: [172.25.5.195] Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 29 Mar 2011 10:12:02 +0000 (UTC) Index: b/man/rdma_notify.3 =================================================================== --- a/man/rdma_notify.3 +++ b/man/rdma_notify.3 @@ -17,7 +17,9 @@ Used to notify the librdmacm of asynchro on a QP associated with the rdma_cm_id. .SH "RETURN VALUE" Returns 0 on success, or -1 on error. If an error occurs, errno will be -set to indicate the failure reason. +set to indicate the failure reason, value of EISCONN (Transport endpoint +is already connected) isn't considered a failure but rather means that +the kernel stack has already established the connection. .SH "NOTES" Asynchronous events that occur on a QP are reported through the user's device event handler. This routine is used to notify the librdmacm of