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
20FILE_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
27struct nodnic_wqe_segment_data_ptr_st { /* Little Endian */
30/* -------------- */
32/* -------------- */
34/* -------------- */
36/* -------------- */
37};
38
39struct 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_ */
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define __attribute__(x)
Definition compiler.h:10
Mellanox bit operations.
#define MLX_DECLARE_STRUCT(_structure)
Wrapper structure for pseudo_bit_t structures.
Definition mlx_bitops.h:44
#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
struct nodnic_wqe_segment_data_ptr data[NODNIC_MAX_SCATTER]
Definition nodnic_prm.h:44
pseudo_bit_t always0[0x00001]
Definition nodnic_prm.h:29
pseudo_bit_t byte_count[0x0001f]
Definition nodnic_prm.h:28
pseudo_bit_t l_key[0x00020]
Definition nodnic_prm.h:31
pseudo_bit_t local_address_l[0x00020]
Definition nodnic_prm.h:35
pseudo_bit_t local_address_h[0x00020]
Definition nodnic_prm.h:33