iPXE
|
#include "mlx_mtu.h"
#include "../../include/public/mlx_memory.h"
#include "../../include/public/mlx_bail.h"
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER) | |
mlx_status | mlx_get_max_mtu (IN mlx_utils *utils, IN mlx_uint8 port_num, OUT mlx_uint32 *max_mtu) |
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 | ) |
mlx_status mlx_get_max_mtu | ( | IN mlx_utils * | utils, |
IN mlx_uint8 | port_num, | ||
OUT mlx_uint32 * | max_mtu | ||
) |
Definition at line 27 of file mlx_mtu.c.
References BYTE_TO_BIT, mlx_mtu::max_mtu, MLX_CHECK_STATUS, MLX_DEBUG_ERROR, MLX_FAILED, MLX_INVALID_PARAMETER, mlx_memory_set(), mlx_reg_access(), MLX_SUCCESS, mtu, NULL, port_num, REG_ACCESS_READ, REG_ID_PMTU, and status.
mlx_status mlx_set_admin_mtu | ( | IN mlx_utils * | utils, |
IN mlx_uint8 | port_num, | ||
IN mlx_uint32 | admin_mtu | ||
) |
Definition at line 63 of file mlx_mtu.c.
References mlx_mtu::admin_mtu, MLX_CHECK_STATUS, MLX_DEBUG_ERROR, MLX_FAILED, MLX_INVALID_PARAMETER, mlx_memory_set(), mlx_reg_access(), MLX_SUCCESS, mtu, NULL, port_num, REG_ACCESS_WRITE, REG_ID_PMTU, and status.
Referenced by flexboot_nodnic_probe().