[openib-general] [libibverbs/examples] [PATCH] Added resource cleaning before end of pingpong tests + ack to CQ events

Michael S. Tsirkin mst at mellanox.co.il
Tue Jan 23 10:28:38 PST 2007


> Quoting Roland Dreier <rdreier at cisco.com>:
> Subject: Re: [libibverbs/examples] [PATCH] Added resource cleaning before end of pingpong tests + ack to CQ events
> 
>  > I tried to apply the patch locally with -p1, and everything was fine ....
> 
> I don't see how that could work... the patch headers have pathnames
> like gen2_devel_user.orig/src/userspace/libibverbs/examples/rc_pingpong.c
> in them, so stripping just one directory would leave something like
> src/userspace/libibverbs/examples/rc_pingpong.c, which couldn't
> possibly apply in my libibverbs directory.

I think Dotan's working in an OFED source tree, that's the directory
structure it has.

So if you stay in directory where OFED unpacked the sources, you see
src/userspace/libibverbs/examples/rc_pingpong.c, and this is
the format OFED uses for patches (otherwise we'd need some other way
to figure out which package to apply the patch to).

-- 
MST




More information about the general mailing list