> Quoting Roland Dreier <[EMAIL PROTECTED]>: > 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 _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
