diff options
author | 2016-12-26 08:40:57 +0200 | |
---|---|---|
committer | 2017-01-24 15:34:22 -0500 | |
commit | d3f4aadd614c4627244452ad64eaf351179f2c31 (patch) | |
tree | 05b887462f77741d410c5ee31caabb0489d4ba6c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IB/vmw_pvrdma: Fix incorrect cleanup on pvrdma_pci_probe error path (diff) | |
download | linux-dev-d3f4aadd614c4627244452ad64eaf351179f2c31.tar.xz linux-dev-d3f4aadd614c4627244452ad64eaf351179f2c31.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions