summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAmrani, Ram <Ram.Amrani@cavium.com>2016-12-26 09:40:57 +0300
committerDoug Ledford <dledford@redhat.com>2017-01-24 23:34:22 +0300
commitd3f4aadd614c4627244452ad64eaf351179f2c31 (patch)
tree05b887462f77741d410c5ee31caabb0489d4ba6c /arch
parentff89b070b7c98eb6782361310ca7a15186f15b2c (diff)
downloadlinux-d3f4aadd614c4627244452ad64eaf351179f2c31.tar.xz
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions