Amrani, Ram d3f4aadd61 RDMA/core: Add the function ib_mtu_int_to_enum
As the functionality to convert the MTU from a number to enum_ib_mtu
is ubiquitous, define a dedicated function and remove the duplicated
code.

Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-01-24 15:34:22 -05:00
..
2016-12-05 16:09:42 -05:00
2016-02-29 17:10:53 -05:00
2016-02-29 17:10:53 -05:00
2016-02-29 17:10:53 -05:00
2016-03-16 13:50:53 -04:00