2 * Copyright (C) 2009-2012 Cray, Inc.
4 * Author: Nic Henke <nic@cray.com>
5 * Author: James Shimek <jshimek@cray.com>
7 * This file is part of Lustre, http://www.lustre.org.
9 * Lustre is free software; you can redistribute it and/or
10 * modify it under the terms of version 2 of the GNU General Public
11 * License as published by the Free Software Foundation.
13 * Lustre is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with Lustre; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 #ifndef _GNILND_GEMINI_H
24 #define _GNILND_GEMINI_H
26 #ifndef _GNILND_HSS_OPS_H
27 # error "must include gnilnd_hss_ops.h first"
30 /* Set HW related values */
31 #define GNILND_BASE_TIMEOUT 60 /* default sane timeout */
32 #define GNILND_CHECKSUM_DEFAULT 3 /* all on for Gemini */
34 #define GNILND_REVERSE_RDMA GNILND_REVERSE_NONE
35 #define GNILND_RDMA_DLVR_OPTION GNI_DLVMODE_PERFORMANCE
37 #if !defined(CONFIG_CRAY_COMPUTE)
38 #define GNILND_SCHED_THREADS 3 /* scheduler threads */
41 /* Thread-safe kgni implemented in minor ver 44, code rev 0xb9 */
42 #define GNILND_KGNI_TS_MINOR_VER 0x44
43 #define GNILND_TS_ENABLE 0
45 static inline gni_return_t
46 kgnilnd_register_smdd_buf(kgn_device_t *dev)
48 return GNI_RC_SUCCESS;
51 static inline gni_return_t
52 kgnilnd_deregister_smdd_buf(kgn_device_t *dev)
54 return GNI_RC_SUCCESS;
57 #endif /* _GNILND_GEMINI_H */