add usnic provider

adds usnic provider, Makefile and configure updated to build usnic,
FI_PROTO_UDP added

Signed-off-by: Reese Faucette <rfaucett@cisco.com>
Yep, I remember - Will take care of it.

Thanks!

-r

 

From: Sean Hefty [mailto:notifications@github.com] 
Sent: Friday, October 17, 2014 11:56 AM
To: ofiwg/libfabric
Cc: Reese Faucette
Subject: Re: [libfabric] add usnic provider (#197)

 

In prov/usnic/src/usdf_cq.c:

> +           if (ret == -EAGAIN) {
> +                   ret = 0;
> +                   break;
> +           }
> +           if (cq->cq_comp.uc_status != 0) {
> +                   ret = -FI_EAVAIL;
> +                   break;
> +           }
> +
> +           entry->op_context = cq->cq_comp.uc_context;
> +
> +           left -= sizeof(*entry);
> +           entry += 1;
> +    }
> +
> +    return (left < len) ? len - left : ret;

There was a recent change to CQ read/readfrom to replace len param with count and return a count value as output.

—
Reply to this email directly or view it on GitHub <https://github.com/ofiwg/libfabric/pull/197/files#r19036152> .Image removed by sender.