xref: /openbmc/linux/drivers/infiniband/sw/rdmavt/vt.h (revision 0194621b225348428c212f330c26d194fc77bd15)
1*0194621bSDennis Dalessandro #ifndef DEF_RDMAVT_H
2*0194621bSDennis Dalessandro #define DEF_RDMAVT_H
3*0194621bSDennis Dalessandro 
4*0194621bSDennis Dalessandro /*
5*0194621bSDennis Dalessandro  * Copyright(c) 2015 Intel Corporation.
6*0194621bSDennis Dalessandro  *
7*0194621bSDennis Dalessandro  * This file is provided under a dual BSD/GPLv2 license.  When using or
8*0194621bSDennis Dalessandro  * redistributing this file, you may do so under either license.
9*0194621bSDennis Dalessandro  *
10*0194621bSDennis Dalessandro  * GPL LICENSE SUMMARY
11*0194621bSDennis Dalessandro  *
12*0194621bSDennis Dalessandro  * This program is free software; you can redistribute it and/or modify
13*0194621bSDennis Dalessandro  * it under the terms of version 2 of the GNU General Public License as
14*0194621bSDennis Dalessandro  * published by the Free Software Foundation.
15*0194621bSDennis Dalessandro  *
16*0194621bSDennis Dalessandro  * This program is distributed in the hope that it will be useful, but
17*0194621bSDennis Dalessandro  * WITHOUT ANY WARRANTY; without even the implied warranty of
18*0194621bSDennis Dalessandro  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19*0194621bSDennis Dalessandro  * General Public License for more details.
20*0194621bSDennis Dalessandro  *
21*0194621bSDennis Dalessandro  * BSD LICENSE
22*0194621bSDennis Dalessandro  *
23*0194621bSDennis Dalessandro  * Redistribution and use in source and binary forms, with or without
24*0194621bSDennis Dalessandro  * modification, are permitted provided that the following conditions
25*0194621bSDennis Dalessandro  * are met:
26*0194621bSDennis Dalessandro  *
27*0194621bSDennis Dalessandro  *  - Redistributions of source code must retain the above copyright
28*0194621bSDennis Dalessandro  *    notice, this list of conditions and the following disclaimer.
29*0194621bSDennis Dalessandro  *  - Redistributions in binary form must reproduce the above copyright
30*0194621bSDennis Dalessandro  *    notice, this list of conditions and the following disclaimer in
31*0194621bSDennis Dalessandro  *    the documentation and/or other materials provided with the
32*0194621bSDennis Dalessandro  *    distribution.
33*0194621bSDennis Dalessandro  *  - Neither the name of Intel Corporation nor the names of its
34*0194621bSDennis Dalessandro  *    contributors may be used to endorse or promote products derived
35*0194621bSDennis Dalessandro  *    from this software without specific prior written permission.
36*0194621bSDennis Dalessandro  *
37*0194621bSDennis Dalessandro  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
38*0194621bSDennis Dalessandro  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
39*0194621bSDennis Dalessandro  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
40*0194621bSDennis Dalessandro  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
41*0194621bSDennis Dalessandro  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
42*0194621bSDennis Dalessandro  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
43*0194621bSDennis Dalessandro  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
44*0194621bSDennis Dalessandro  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
45*0194621bSDennis Dalessandro  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
46*0194621bSDennis Dalessandro  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
47*0194621bSDennis Dalessandro  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
48*0194621bSDennis Dalessandro  *
49*0194621bSDennis Dalessandro  */
50*0194621bSDennis Dalessandro 
51*0194621bSDennis Dalessandro #include <rdma/rdma_vt.h>
52*0194621bSDennis Dalessandro 
53*0194621bSDennis Dalessandro #endif          /* DEF_RDMAVT_H */
54