/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ /* * Copyright (c) 2016 Mellanox Technologies Ltd. All rights reserved. * Copyright (c) 2015 System Fabric Works, Inc. All rights reserved. */ #ifndef RXE_PARAM_H #define RXE_PARAM_H #include <uapi/rdma/rdma_user_rxe.h> #define DEFAULT_MAX_VALUE … static inline enum ib_mtu rxe_mtu_int_to_enum(int mtu) { … } /* Find the IB mtu for a given network MTU. */ static inline enum ib_mtu eth_mtu_int_to_enum(int mtu) { … } /* default/initial rxe device parameter settings */ enum rxe_device_param { … }; /* default/initial rxe port parameters */ enum rxe_port_param { … }; /* default/initial port info parameters */ enum rxe_port_info_param { … }; #endif /* RXE_PARAM_H */