> > Right now there are 3 headers I find path record in. > > > libibverbs: sa.h > > This isn't a MAD path record, this is the kernel version, which is > unpacked. What we really needs is MAD 2 kernel and vice versa > conversion in a library. I already have code that does this in > several places :(
This contains both. A wire structure was added to libibverbs to support librdmacm, which doesn't depend on umad. There are probably only a few of structures that make sense as part of ibverbs - path record and maybe multicast record. But, we'd have to get agreement that umad should depend on ibverbs, or we'll always have duplicate definitions. Jason, can you share a portion of the final output looks like for your codegen? Currently, I'd be happy just starting by having things like the mgmt classes, methods, attribute IDs, status values, common mad header, rmpp header, and sa header listed in a single place. Eventually, I need the CM MADs defined, which aren't available AFAICT. ib_types uses a lot of typedefs and #defines, so we may be able to use those to provide backwards compatability. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
