iPXE
mlx_vmac.h
Go to the documentation of this file.
1 #ifndef MLX_VMAC_H_
2 #define MLX_VMAC_H_
3 
4 /*
5  * Copyright (C) 2015 Mellanox Technologies Ltd.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License as
9  * published by the Free Software Foundation; either version 2 of the
10  * License, or any later version.
11  *
12  * This program is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20  * 02110-1301, USA.
21  */
22 
23 FILE_LICENCE ( GPL2_OR_LATER );
24 
25 #include "../../include/public/mlx_utils.h"
26 
37 };
38 
47 };
48 
51  IN mlx_utils *utils,
52  OUT struct mlx_vmac_query_virt_mac *virt_mac
53  );
54 
57  IN mlx_utils *utils,
58  OUT struct mlx_vmac_set_virt_mac *virt_mac
59  );
60 #endif /* MLX_VMAC_H_ */
mlx_uint32 reserved1
Definition: mlx_vmac.h:43
mlx_uint32 Reserved2
Definition: mlx_vmac.h:35
mlx_uint32 virtual_mac_high
Definition: mlx_vmac.h:45
mlx_uint32 parmanent_mac_high
Definition: mlx_vmac.h:31
uint32_t mlx_uint32
mlx_status mlx_vmac_set_virt_mac(IN mlx_utils *utils, OUT struct mlx_vmac_set_virt_mac *virt_mac)
Definition: mlx_vmac.c:52
mlx_uint32 reserved0
Definition: mlx_vmac.h:28
mlx_uint32 mac_aux_v
Definition: mlx_vmac.h:29
#define OUT
Definition: mlx_utils.h:29
FILE_LICENCE(GPL2_OR_LATER)
mlx_uint32 virtual_mac_high
Definition: mlx_vmac.h:34
mlx_uint32 virtual_mac_en
Definition: mlx_vmac.h:42
mlx_uint32 virtual_mac_low
Definition: mlx_vmac.h:36
mlx_uint32 reserved2
Definition: mlx_vmac.h:44
mlx_uint32 parmanent_mac_low
Definition: mlx_vmac.h:33
mlx_uint32 virtual_mac_low
Definition: mlx_vmac.h:46
mlx_status mlx_vmac_query_virt_mac(IN mlx_utils *utils, OUT struct mlx_vmac_query_virt_mac *virt_mac)
Definition: mlx_vmac.c:27
mlx_uint32 reserved1
Definition: mlx_vmac.h:32
#define IN
Definition: mlx_utils.h:28
mlx_uint32 virtual_mac_en
Definition: mlx_vmac.h:30
int mlx_status
mlx_uint32 Reserved0
Definition: mlx_vmac.h:40
mlx_uint32 mac_aux_v
Definition: mlx_vmac.h:41