On Thu, Jun 12, 2014 at 03:44:03PM +0300, Matan Barak wrote: > We could use a libibverbs API call in order to resolve the IP based > GID into a MAC, but I think it could cause multiple vendors to have > some code duplication.
If that is the only objection, I would prefer to see this techique. A little provider code duplication is a lessor evil than introducing and vetting new verbs APIs. I think the patch will be very small and there will be very little to talk about from an API perspective. > We hope that in the future, more products will use RoCE with IP > based GIDs. All those providers will have to supply similar code > that checks if the link layer is Ethernet and IP based GID is used, > they'll have to use the libibverbs utility function. AFAIK all the other RoCEE implementations don't do InfiniBand link layer, so their providers don't even need the test. Jason -- 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
