diff options
author | Amrani, Ram <[email protected]> | 2016-12-26 08:40:57 +0200 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2017-01-24 15:34:22 -0500 |
commit | d3f4aadd614c4627244452ad64eaf351179f2c31 (patch) | |
tree | 05b887462f77741d410c5ee31caabb0489d4ba6c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ff89b070b7c98eb6782361310ca7a15186f15b2c (diff) |
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 <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions