iPXE
mlx_cmd.h
Go to the documentation of this file.
1 #ifndef NODNIC_CMD_H_
2 #define NODNIC_CMD_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 
26 #include "../../mlx_utils/include/public/mlx_utils.h"
27 #include "../../mlx_utils/include/public/mlx_pci_gw.h"
28 
31  IN nodnic_device_priv *device_priv,
34  );
35 
38  IN nodnic_device_priv *device_priv,
41  );
42 
43 #endif /* STUB_NODNIC_CMD_H_ */
uint64_t address
Base address.
Definition: ena.h:24
uint32_t buffer
Buffer index (or NETVSC_RNDIS_NO_BUFFER)
Definition: netvsc.h:16
mlx_status nodnic_cmd_write(IN nodnic_device_priv *device_priv, IN mlx_uint32 address, IN mlx_pci_gw_buffer buffer)
Definition: mlx_cmd.c:54
FILE_LICENCE(GPL2_OR_LATER)
uint32_t mlx_uint32
#define OUT
Definition: mlx_utils.h:29
#define IN
Definition: mlx_utils.h:28
int mlx_status
mlx_status nodnic_cmd_read(IN nodnic_device_priv *device_priv, IN mlx_uint32 address, OUT mlx_pci_gw_buffer *buffer)
Definition: mlx_cmd.c:29
mlx_uint32 mlx_pci_gw_buffer
Definition: mlx_pci_gw.h:52