Re: [PATCH v2 03/13] Provider Methods and Data Structures
From: Steve Wise <hidden>
Date: 2006-12-04 16:28:27
Also in:
lkml
From: Steve Wise <hidden>
Date: 2006-12-04 16:28:27
Also in:
lkml
On Sun, 2006-12-03 at 13:07 +0100, Arjan van de Ven wrote:
On Sat, 2006-12-02 at 16:49 -0600, Steve Wise wrote:quoted
+ +static struct ib_ah *iwch_ah_create(struct ib_pd *pd, + struct ib_ah_attr *ah_attr) +{ + return ERR_PTR(-ENOSYS); +}-ENOSYS is just about ALWAYS a bug in that it's guaranteed to be the wrong error code ;)
This is a method that is not supported by the iWARP transport. ENOSYS indicates this. I _think_ this is SOP for the infinband subsystem. Roland, I think at one time we were talking about changing the Core to better handle this? Either with attributes/capabilities that the low level driver can set, or by set these method ptrs to NULL and the core should handle it in the wrapper function... Steve.