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]

 



> The enum values are IB specification specific, and are incomplete (note the
> lack of Ethernet mtu sizes).  Let the IB centric code deal with the conversion,
> and let the rest of the API be reasonable.  The IB CM uses the mtu value in
> the path record, which is fine.  Then maybe someday userspace can get
> access to the real mtu sizes as well...

I was delaying my response to let others post their opinion, which didn't happen.
This tiny patch just reduced code size, not more.
I suggest you re-open a discussion on a dedicated thread to get a wider view, or
come up with suggestion patch.

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