iPXE
nodnic_prm.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Mellanox Technologies Ltd.
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License as
6  * published by the Free Software Foundation; either version 2 of the
7  * License, or any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but
10  * WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17  * 02110-1301, USA.
18  */
19 
20 FILE_LICENCE ( GPL2_OR_LATER );
21 
22 #ifndef SRC_DRIVERS_INFINIBAND_MLX_NODNIC_INCLUDE_PRM_NODNIC_PRM_H_
23 #define SRC_DRIVERS_INFINIBAND_MLX_NODNIC_INCLUDE_PRM_NODNIC_PRM_H_
24 
25 #include "mlx_bitops.h"
26 
27 struct nodnic_wqe_segment_data_ptr_st { /* Little Endian */
30 /* -------------- */
31  pseudo_bit_t l_key[0x00020];
32 /* -------------- */
34 /* -------------- */
36 /* -------------- */
37 };
38 
39 struct MLX_DECLARE_STRUCT ( nodnic_wqe_segment_data_ptr );
40 
41 #define NODNIC_MAX_SCATTER 1
42 
44  struct nodnic_wqe_segment_data_ptr data[NODNIC_MAX_SCATTER];
45 } __attribute__ (( packed ));
46 
47 #endif /* SRC_DRIVERS_INFINIBAND_MLX_NODNIC_INCLUDE_PRM_NODNIC_PRM_H_ */
pseudo_bit_t local_address_h[0x00020]
Definition: nodnic_prm.h:33
FILE_LICENCE(GPL2_OR_LATER)
pseudo_bit_t local_address_l[0x00020]
Definition: nodnic_prm.h:35
#define NODNIC_MAX_SCATTER
Definition: nodnic_prm.h:41
unsigned char pseudo_bit_t
Datatype used to represent a bit in the pseudo-structures.
Definition: nx_bitops.h:37
pseudo_bit_t byte_count[0x0001f]
Definition: nodnic_prm.h:28
Mellanox bit operations.
struct nodnic_wqe_segment_data_ptr data[NODNIC_MAX_SCATTER]
Definition: nodnic_prm.h:44
struct nodnic_recv_wqe __attribute__((packed))
pseudo_bit_t always0[0x00001]
Definition: nodnic_prm.h:29
pseudo_bit_t l_key[0x00020]
Definition: nodnic_prm.h:31
struct MLX_DECLARE_STRUCT(nodnic_wqe_segment_data_ptr)