> Even with a map I think having IB_MTU_1500 will cause some confusion as this 
> is
> not an "IB" MTU.  It seems an alternate enum name like RDMA_MTU_1500 is 
> better.

Couldn't these be usable MTU's for RoCE?

In hindsight, the user space API never should have exposed the mtu as an enum...

Since an enum is an int, and we're never going to have anything with an mtu <= 
5 bytes, couldn't we just store all new mtu values directly as their byte value?
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to