RE: [PATCH 1/2] IB/core: add the function ib_mtu_int_to_enum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Why keep mtu as an enum in the kernel?  Just make it an int like it should
> be.

You'll still be required to convert it to/from enum when building/parsing CM messages, for example.
Also, why should it be an int if only specific values are allowed?

Ram
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux