[openib-general] [PATCH 03/18] [RFC] Provider Registration and Methods

Sean Hefty mshefty at ichips.intel.com
Tue Mar 7 14:10:17 PST 2006


Roland Dreier wrote:
>  > +static int iwch_process_mad(struct ib_device *ibdev,
>  > +			    int mad_flags,
>  > +			    u8 port_num,
>  > +			    struct ib_wc *in_wc,
>  > +			    struct ib_grh *in_grh,
>  > +			    struct ib_mad *in_mad, struct ib_mad *out_mad)
>  > +{
>  > +	PDBG("%s:%s:%u\n", __FILE__, __FUNCTION__, __LINE__);
>  > +	return -ENOSYS;
>  > +}
> 
> I'd rather fix the core so that this function (and all the other
> -ENOSYS stubs) never get called, rather than forcing low-level drivers
> to provide stubs.  How hard is that to do?

I don't think that this will ever get called for an iWarp device.

- Sean



More information about the general mailing list