23 #include "../../include/public/mlx_memory.h" 24 #include "../../include/public/mlx_bail.h" 48 sizeof(
mtu), ®_status);
50 if (reg_status != 0) {
51 MLX_DEBUG_ERROR(utils,
"mlx_reg_access failed with status = %d\n", reg_status);
84 sizeof(
mtu), ®_status);
86 if (reg_status != 0) {
87 MLX_DEBUG_ERROR(utils,
"mlx_reg_access failed with status = %d\n", reg_status);
#define MLX_INVALID_PARAMETER
mlx_status mlx_get_max_mtu(IN mlx_utils *utils, IN mlx_uint8 port_num, OUT mlx_uint32 *max_mtu)
mlx_status mlx_memory_set(IN mlx_utils *utils, IN mlx_void *block, IN mlx_int32 value, IN mlx_size size)
mlx_status mlx_set_admin_mtu(IN mlx_utils *utils, IN mlx_uint8 port_num, IN mlx_uint32 admin_mtu)
FILE_LICENCE(GPL2_OR_LATER)
#define MLX_DEBUG_ERROR(...)
mlx_status mlx_reg_access(IN mlx_utils *utils, IN mlx_uint16 reg_id, IN REG_ACCESS_OPT reg_opt, IN OUT mlx_void *reg_data, IN mlx_size reg_size, OUT mlx_uint32 *reg_status)
#define MLX_CHECK_STATUS(id, status, label, message)
#define NULL
NULL pointer (VOID *)