Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

RDMA/include: Replace license text with SPDX tags

The header files in RDMA subsystem are dual licensed and can be
described by simple SPDX tag, so replace all of them at once
together with making them use the same coding style for header
guard defines.

Link: https://lore.kernel.org/r/20200719072521.135260-1-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>

authored by

Leon Romanovsky and committed by
Jason Gunthorpe
6bf9d8f6 03ed5a8c

+60 -947
+2 -29
include/rdma/ib.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2010 Intel Corporation. All rights reserved. 3 - * 4 - * This software is available to you under a choice of one of two 5 - * licenses. You may choose to be licensed under the terms of the GNU 6 - * General Public License (GPL) Version 2, available from the file 7 - * COPYING in the main directory of this source tree, or the 8 - * OpenIB.org BSD license below: 9 - * 10 - * Redistribution and use in source and binary forms, with or 11 - * without modification, are permitted provided that the following 12 - * conditions are met: 13 - * 14 - * - Redistributions of source code must retain the above 15 - * copyright notice, this list of conditions and the following 16 - * disclaimer. 17 - * 18 - * - Redistributions in binary form must reproduce the above 19 - * copyright notice, this list of conditions and the following 20 - * disclaimer in the documentation and/or other materials 21 - * provided with the distribution. 22 - * 23 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 27 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 28 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 29 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 30 - * SOFTWARE. 31 4 */ 32 5 33 - #if !defined(_RDMA_IB_H) 6 + #ifndef _RDMA_IB_H 34 7 #define _RDMA_IB_H 35 8 36 9 #include <linux/types.h>
+2 -29
include/rdma/ib_addr.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2005 Voltaire Inc. All rights reserved. 3 4 * Copyright (c) 2005 Intel Corporation. All rights reserved. 4 - * 5 - * This software is available to you under a choice of one of two 6 - * licenses. You may choose to be licensed under the terms of the GNU 7 - * General Public License (GPL) Version 2, available from the file 8 - * COPYING in the main directory of this source tree, or the 9 - * OpenIB.org BSD license below: 10 - * 11 - * Redistribution and use in source and binary forms, with or 12 - * without modification, are permitted provided that the following 13 - * conditions are met: 14 - * 15 - * - Redistributions of source code must retain the above 16 - * copyright notice, this list of conditions and the following 17 - * disclaimer. 18 - * 19 - * - Redistributions in binary form must reproduce the above 20 - * copyright notice, this list of conditions and the following 21 - * disclaimer in the documentation and/or other materials 22 - * provided with the distribution. 23 - * 24 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 25 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 26 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 27 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 28 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 29 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 30 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 31 - * SOFTWARE. 32 5 */ 33 6 34 - #if !defined(IB_ADDR_H) 7 + #ifndef IB_ADDR_H 35 8 #define IB_ADDR_H 36 9 37 10 #include <linux/in.h>
+1 -28
include/rdma/ib_cache.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2004 Topspin Communications. All rights reserved. 3 4 * Copyright (c) 2005 Intel Corporation. All rights reserved. 4 5 * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved. 5 - * 6 - * This software is available to you under a choice of one of two 7 - * licenses. You may choose to be licensed under the terms of the GNU 8 - * General Public License (GPL) Version 2, available from the file 9 - * COPYING in the main directory of this source tree, or the 10 - * OpenIB.org BSD license below: 11 - * 12 - * Redistribution and use in source and binary forms, with or 13 - * without modification, are permitted provided that the following 14 - * conditions are met: 15 - * 16 - * - Redistributions of source code must retain the above 17 - * copyright notice, this list of conditions and the following 18 - * disclaimer. 19 - * 20 - * - Redistributions in binary form must reproduce the above 21 - * copyright notice, this list of conditions and the following 22 - * disclaimer in the documentation and/or other materials 23 - * provided with the distribution. 24 - * 25 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 26 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 27 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 28 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 29 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 30 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 31 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 32 - * SOFTWARE. 33 6 */ 34 7 35 8 #ifndef _IB_CACHE_H
+1
include/rdma/ib_cm.h
··· 6 6 * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved. 7 7 * Copyright (c) 2019, Mellanox Technologies inc. All rights reserved. 8 8 */ 9 + 9 10 #ifndef IB_CM_H 10 11 #define IB_CM_H 11 12
+1 -43
include/rdma/ib_hdrs.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 1 2 /* 2 3 * Copyright(c) 2016 - 2018 Intel Corporation. 3 - * 4 - * This file is provided under a dual BSD/GPLv2 license. When using or 5 - * redistributing this file, you may do so under either license. 6 - * 7 - * GPL LICENSE SUMMARY 8 - * 9 - * This program is free software; you can redistribute it and/or modify 10 - * it under the terms of version 2 of the GNU General Public License as 11 - * published by the Free Software Foundation. 12 - * 13 - * This program is distributed in the hope that it will be useful, but 14 - * WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 - * General Public License for more details. 17 - * 18 - * BSD LICENSE 19 - * 20 - * Redistribution and use in source and binary forms, with or without 21 - * modification, are permitted provided that the following conditions 22 - * are met: 23 - * 24 - * - Redistributions of source code must retain the above copyright 25 - * notice, this list of conditions and the following disclaimer. 26 - * - Redistributions in binary form must reproduce the above copyright 27 - * notice, this list of conditions and the following disclaimer in 28 - * the documentation and/or other materials provided with the 29 - * distribution. 30 - * - Neither the name of Intel Corporation nor the names of its 31 - * contributors may be used to endorse or promote products derived 32 - * from this software without specific prior written permission. 33 - * 34 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 35 - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 36 - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 37 - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 38 - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 39 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 40 - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 41 - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 42 - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 43 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 44 - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 45 - * 46 4 */ 47 5 48 6 #ifndef IB_HDRS_H
+2 -29
include/rdma/ib_mad.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2004 Mellanox Technologies Ltd. All rights reserved. 3 4 * Copyright (c) 2004 Infinicon Corporation. All rights reserved. 4 5 * Copyright (c) 2004 Intel Corporation. All rights reserved. 5 6 * Copyright (c) 2004 Topspin Corporation. All rights reserved. 6 7 * Copyright (c) 2004-2006 Voltaire Corporation. All rights reserved. 7 - * 8 - * This software is available to you under a choice of one of two 9 - * licenses. You may choose to be licensed under the terms of the GNU 10 - * General Public License (GPL) Version 2, available from the file 11 - * COPYING in the main directory of this source tree, or the 12 - * OpenIB.org BSD license below: 13 - * 14 - * Redistribution and use in source and binary forms, with or 15 - * without modification, are permitted provided that the following 16 - * conditions are met: 17 - * 18 - * - Redistributions of source code must retain the above 19 - * copyright notice, this list of conditions and the following 20 - * disclaimer. 21 - * 22 - * - Redistributions in binary form must reproduce the above 23 - * copyright notice, this list of conditions and the following 24 - * disclaimer in the documentation and/or other materials 25 - * provided with the distribution. 26 - * 27 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 28 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 29 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 30 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 31 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 32 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 33 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 34 - * SOFTWARE. 35 8 */ 36 9 37 - #if !defined(IB_MAD_H) 10 + #ifndef IB_MAD_H 38 11 #define IB_MAD_H 39 12 40 13 #include <linux/list.h>
+2 -29
include/rdma/ib_marshall.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2005-2006 Intel Corporation. All rights reserved. 3 - * 4 - * This software is available to you under a choice of one of two 5 - * licenses. You may choose to be licensed under the terms of the GNU 6 - * General Public License (GPL) Version 2, available from the file 7 - * COPYING in the main directory of this source tree, or the 8 - * OpenIB.org BSD license below: 9 - * 10 - * Redistribution and use in source and binary forms, with or 11 - * without modification, are permitted provided that the following 12 - * conditions are met: 13 - * 14 - * - Redistributions of source code must retain the above 15 - * copyright notice, this list of conditions and the following 16 - * disclaimer. 17 - * 18 - * - Redistributions in binary form must reproduce the above 19 - * copyright notice, this list of conditions and the following 20 - * disclaimer in the documentation and/or other materials 21 - * provided with the distribution. 22 - * 23 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 27 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 28 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 29 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 30 - * SOFTWARE. 31 4 */ 32 5 33 - #if !defined(IB_USER_MARSHALL_H) 6 + #ifndef IB_USER_MARSHALL_H 34 7 #define IB_USER_MARSHALL_H 35 8 36 9 #include <rdma/ib_verbs.h>
+1 -28
include/rdma/ib_pack.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2004 Topspin Corporation. All rights reserved. 3 - * 4 - * This software is available to you under a choice of one of two 5 - * licenses. You may choose to be licensed under the terms of the GNU 6 - * General Public License (GPL) Version 2, available from the file 7 - * COPYING in the main directory of this source tree, or the 8 - * OpenIB.org BSD license below: 9 - * 10 - * Redistribution and use in source and binary forms, with or 11 - * without modification, are permitted provided that the following 12 - * conditions are met: 13 - * 14 - * - Redistributions of source code must retain the above 15 - * copyright notice, this list of conditions and the following 16 - * disclaimer. 17 - * 18 - * - Redistributions in binary form must reproduce the above 19 - * copyright notice, this list of conditions and the following 20 - * disclaimer in the documentation and/or other materials 21 - * provided with the distribution. 22 - * 23 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 27 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 28 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 29 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 30 - * SOFTWARE. 31 4 */ 32 5 33 6 #ifndef IB_PACK_H
+2 -29
include/rdma/ib_pma.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2006, 2007, 2008, 2009, 2010 QLogic Corporation. 3 4 * All rights reserved. 4 5 * Copyright (c) 2005, 2006 PathScale, Inc. All rights reserved. 5 - * 6 - * This software is available to you under a choice of one of two 7 - * licenses. You may choose to be licensed under the terms of the GNU 8 - * General Public License (GPL) Version 2, available from the file 9 - * COPYING in the main directory of this source tree, or the 10 - * OpenIB.org BSD license below: 11 - * 12 - * Redistribution and use in source and binary forms, with or 13 - * without modification, are permitted provided that the following 14 - * conditions are met: 15 - * 16 - * - Redistributions of source code must retain the above 17 - * copyright notice, this list of conditions and the following 18 - * disclaimer. 19 - * 20 - * - Redistributions in binary form must reproduce the above 21 - * copyright notice, this list of conditions and the following 22 - * disclaimer in the documentation and/or other materials 23 - * provided with the distribution. 24 - * 25 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 26 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 27 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 28 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 29 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 30 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 31 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 32 - * SOFTWARE. 33 6 */ 34 7 35 - #if !defined(IB_PMA_H) 8 + #ifndef IB_PMA_H 36 9 #define IB_PMA_H 37 10 38 11 #include <rdma/ib_mad.h>
+1 -28
include/rdma/ib_sa.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2004 Topspin Communications. All rights reserved. 3 4 * Copyright (c) 2005 Voltaire, Inc. All rights reserved. 4 5 * Copyright (c) 2006 Intel Corporation. All rights reserved. 5 - * 6 - * This software is available to you under a choice of one of two 7 - * licenses. You may choose to be licensed under the terms of the GNU 8 - * General Public License (GPL) Version 2, available from the file 9 - * COPYING in the main directory of this source tree, or the 10 - * OpenIB.org BSD license below: 11 - * 12 - * Redistribution and use in source and binary forms, with or 13 - * without modification, are permitted provided that the following 14 - * conditions are met: 15 - * 16 - * - Redistributions of source code must retain the above 17 - * copyright notice, this list of conditions and the following 18 - * disclaimer. 19 - * 20 - * - Redistributions in binary form must reproduce the above 21 - * copyright notice, this list of conditions and the following 22 - * disclaimer in the documentation and/or other materials 23 - * provided with the distribution. 24 - * 25 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 26 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 27 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 28 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 29 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 30 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 31 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 32 - * SOFTWARE. 33 6 */ 34 7 35 8 #ifndef IB_SA_H
+2 -29
include/rdma/ib_smi.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2004 Mellanox Technologies Ltd. All rights reserved. 3 4 * Copyright (c) 2004 Infinicon Corporation. All rights reserved. 4 5 * Copyright (c) 2004 Intel Corporation. All rights reserved. 5 6 * Copyright (c) 2004 Topspin Corporation. All rights reserved. 6 7 * Copyright (c) 2004 Voltaire Corporation. All rights reserved. 7 - * 8 - * This software is available to you under a choice of one of two 9 - * licenses. You may choose to be licensed under the terms of the GNU 10 - * General Public License (GPL) Version 2, available from the file 11 - * COPYING in the main directory of this source tree, or the 12 - * OpenIB.org BSD license below: 13 - * 14 - * Redistribution and use in source and binary forms, with or 15 - * without modification, are permitted provided that the following 16 - * conditions are met: 17 - * 18 - * - Redistributions of source code must retain the above 19 - * copyright notice, this list of conditions and the following 20 - * disclaimer. 21 - * 22 - * - Redistributions in binary form must reproduce the above 23 - * copyright notice, this list of conditions and the following 24 - * disclaimer in the documentation and/or other materials 25 - * provided with the distribution. 26 - * 27 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 28 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 29 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 30 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 31 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 32 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 33 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 34 - * SOFTWARE. 35 8 */ 36 9 37 - #if !defined(IB_SMI_H) 10 + #ifndef IB_SMI_H 38 11 #define IB_SMI_H 39 12 40 13 #include <rdma/ib_mad.h>
+1 -28
include/rdma/ib_umem.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2007 Cisco Systems. All rights reserved. 3 - * 4 - * This software is available to you under a choice of one of two 5 - * licenses. You may choose to be licensed under the terms of the GNU 6 - * General Public License (GPL) Version 2, available from the file 7 - * COPYING in the main directory of this source tree, or the 8 - * OpenIB.org BSD license below: 9 - * 10 - * Redistribution and use in source and binary forms, with or 11 - * without modification, are permitted provided that the following 12 - * conditions are met: 13 - * 14 - * - Redistributions of source code must retain the above 15 - * copyright notice, this list of conditions and the following 16 - * disclaimer. 17 - * 18 - * - Redistributions in binary form must reproduce the above 19 - * copyright notice, this list of conditions and the following 20 - * disclaimer in the documentation and/or other materials 21 - * provided with the distribution. 22 - * 23 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 27 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 28 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 29 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 30 - * SOFTWARE. 31 4 */ 32 5 33 6 #ifndef IB_UMEM_H
+1 -28
include/rdma/ib_umem_odp.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2014 Mellanox Technologies. All rights reserved. 3 - * 4 - * This software is available to you under a choice of one of two 5 - * licenses. You may choose to be licensed under the terms of the GNU 6 - * General Public License (GPL) Version 2, available from the file 7 - * COPYING in the main directory of this source tree, or the 8 - * OpenIB.org BSD license below: 9 - * 10 - * Redistribution and use in source and binary forms, with or 11 - * without modification, are permitted provided that the following 12 - * conditions are met: 13 - * 14 - * - Redistributions of source code must retain the above 15 - * copyright notice, this list of conditions and the following 16 - * disclaimer. 17 - * 18 - * - Redistributions in binary form must reproduce the above 19 - * copyright notice, this list of conditions and the following 20 - * disclaimer in the documentation and/or other materials 21 - * provided with the distribution. 22 - * 23 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 27 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 28 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 29 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 30 - * SOFTWARE. 31 4 */ 32 5 33 6 #ifndef IB_UMEM_ODP_H
+2 -29
include/rdma/ib_verbs.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2004 Mellanox Technologies Ltd. All rights reserved. 3 4 * Copyright (c) 2004 Infinicon Corporation. All rights reserved. ··· 7 6 * Copyright (c) 2004 Voltaire Corporation. All rights reserved. 8 7 * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved. 9 8 * Copyright (c) 2005, 2006, 2007 Cisco Systems. All rights reserved. 10 - * 11 - * This software is available to you under a choice of one of two 12 - * licenses. You may choose to be licensed under the terms of the GNU 13 - * General Public License (GPL) Version 2, available from the file 14 - * COPYING in the main directory of this source tree, or the 15 - * OpenIB.org BSD license below: 16 - * 17 - * Redistribution and use in source and binary forms, with or 18 - * without modification, are permitted provided that the following 19 - * conditions are met: 20 - * 21 - * - Redistributions of source code must retain the above 22 - * copyright notice, this list of conditions and the following 23 - * disclaimer. 24 - * 25 - * - Redistributions in binary form must reproduce the above 26 - * copyright notice, this list of conditions and the following 27 - * disclaimer in the documentation and/or other materials 28 - * provided with the distribution. 29 - * 30 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 31 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 32 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 33 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 34 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 35 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 36 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 37 - * SOFTWARE. 38 9 */ 39 10 40 - #if !defined(IB_VERBS_H) 11 + #ifndef IB_VERBS_H 41 12 #define IB_VERBS_H 42 13 43 14 #include <linux/types.h>
+2 -28
include/rdma/iw_cm.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2005 Network Appliance, Inc. All rights reserved. 3 4 * Copyright (c) 2005 Open Grid Computing, Inc. All rights reserved. 4 - * 5 - * This software is available to you under a choice of one of two 6 - * licenses. You may choose to be licensed under the terms of the GNU 7 - * General Public License (GPL) Version 2, available from the file 8 - * COPYING in the main directory of this source tree, or the 9 - * OpenIB.org BSD license below: 10 - * 11 - * Redistribution and use in source and binary forms, with or 12 - * without modification, are permitted provided that the following 13 - * conditions are met: 14 - * 15 - * - Redistributions of source code must retain the above 16 - * copyright notice, this list of conditions and the following 17 - * disclaimer. 18 - * 19 - * - Redistributions in binary form must reproduce the above 20 - * copyright notice, this list of conditions and the following 21 - * disclaimer in the documentation and/or other materials 22 - * provided with the distribution. 23 - * 24 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 25 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 26 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 27 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 28 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 29 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 30 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 31 - * SOFTWARE. 32 5 */ 6 + 33 7 #ifndef IW_CM_H 34 8 #define IW_CM_H 35 9
+2 -28
include/rdma/iw_portmap.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2014 Intel Corporation. All rights reserved. 3 4 * Copyright (c) 2014 Chelsio, Inc. All rights reserved. 4 - * 5 - * This software is available to you under a choice of one of two 6 - * licenses. You may choose to be licensed under the terms of the GNU 7 - * General Public License (GPL) Version 2, available from the file 8 - * COPYING in the main directory of this source tree, or the 9 - * OpenIB.org BSD license below: 10 - * 11 - * Redistribution and use in source and binary forms, with or 12 - * without modification, are permitted provided that the following 13 - * conditions are met: 14 - * 15 - * - Redistributions of source code must retain the above 16 - * copyright notice, this list of conditions and the following 17 - * disclaimer. 18 - * 19 - * - Redistributions in binary form must reproduce the above 20 - * copyright notice, this list of conditions and the following 21 - * disclaimer in the documentation and/or other materials 22 - * provided with the distribution. 23 - * 24 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 25 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 26 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 27 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 28 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 29 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 30 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 31 - * SOFTWARE. 32 5 */ 6 + 33 7 #ifndef _IW_PORTMAP_H 34 8 #define _IW_PORTMAP_H 35 9
+1 -43
include/rdma/opa_addr.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 1 2 /* 2 3 * Copyright(c) 2017 Intel Corporation. 3 - * 4 - * This file is provided under a dual BSD/GPLv2 license. When using or 5 - * redistributing this file, you may do so under either license. 6 - * 7 - * GPL LICENSE SUMMARY 8 - * 9 - * This program is free software; you can redistribute it and/or modify 10 - * it under the terms of version 2 of the GNU General Public License as 11 - * published by the Free Software Foundation. 12 - * 13 - * This program is distributed in the hope that it will be useful, but 14 - * WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 - * General Public License for more details. 17 - * 18 - * BSD LICENSE 19 - * 20 - * Redistribution and use in source and binary forms, with or without 21 - * modification, are permitted provided that the following conditions 22 - * are met: 23 - * 24 - * - Redistributions of source code must retain the above copyright 25 - * notice, this list of conditions and the following disclaimer. 26 - * - Redistributions in binary form must reproduce the above copyright 27 - * notice, this list of conditions and the following disclaimer in 28 - * the documentation and/or other materials provided with the 29 - * distribution. 30 - * - Neither the name of Intel Corporation nor the names of its 31 - * contributors may be used to endorse or promote products derived 32 - * from this software without specific prior written permission. 33 - * 34 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 35 - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 36 - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 37 - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 38 - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 39 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 40 - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 41 - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 42 - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 43 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 44 - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 45 - * 46 4 */ 47 5 48 6 #ifndef OPA_ADDR_H
+2 -29
include/rdma/opa_port_info.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2014-2020 Intel Corporation. All rights reserved. 3 - * 4 - * This software is available to you under a choice of one of two 5 - * licenses. You may choose to be licensed under the terms of the GNU 6 - * General Public License (GPL) Version 2, available from the file 7 - * COPYING in the main directory of this source tree, or the 8 - * OpenIB.org BSD license below: 9 - * 10 - * Redistribution and use in source and binary forms, with or 11 - * without modification, are permitted provided that the following 12 - * conditions are met: 13 - * 14 - * - Redistributions of source code must retain the above 15 - * copyright notice, this list of conditions and the following 16 - * disclaimer. 17 - * 18 - * - Redistributions in binary form must reproduce the above 19 - * copyright notice, this list of conditions and the following 20 - * disclaimer in the documentation and/or other materials 21 - * provided with the distribution. 22 - * 23 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 27 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 28 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 29 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 30 - * SOFTWARE. 31 4 */ 32 5 33 - #if !defined(OPA_PORT_INFO_H) 6 + #ifndef OPA_PORT_INFO_H 34 7 #define OPA_PORT_INFO_H 35 8 36 9 #include <rdma/opa_smi.h>
+2 -29
include/rdma/opa_smi.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2014 Intel Corporation. All rights reserved. 3 - * 4 - * This software is available to you under a choice of one of two 5 - * licenses. You may choose to be licensed under the terms of the GNU 6 - * General Public License (GPL) Version 2, available from the file 7 - * COPYING in the main directory of this source tree, or the 8 - * OpenIB.org BSD license below: 9 - * 10 - * Redistribution and use in source and binary forms, with or 11 - * without modification, are permitted provided that the following 12 - * conditions are met: 13 - * 14 - * - Redistributions of source code must retain the above 15 - * copyright notice, this list of conditions and the following 16 - * disclaimer. 17 - * 18 - * - Redistributions in binary form must reproduce the above 19 - * copyright notice, this list of conditions and the following 20 - * disclaimer in the documentation and/or other materials 21 - * provided with the distribution. 22 - * 23 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 27 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 28 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 29 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 30 - * SOFTWARE. 31 4 */ 32 5 33 - #if !defined(OPA_SMI_H) 6 + #ifndef OPA_SMI_H 34 7 #define OPA_SMI_H 35 8 36 9 #include <rdma/ib_mad.h>
+4 -45
include/rdma/opa_vnic.h
··· 1 - #ifndef _OPA_VNIC_H 2 - #define _OPA_VNIC_H 1 + /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 2 /* 4 3 * Copyright(c) 2017 - 2020 Intel Corporation. 5 - * 6 - * This file is provided under a dual BSD/GPLv2 license. When using or 7 - * redistributing this file, you may do so under either license. 8 - * 9 - * GPL LICENSE SUMMARY 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of version 2 of the GNU General Public License as 13 - * published by the Free Software Foundation. 14 - * 15 - * This program is distributed in the hope that it will be useful, but 16 - * WITHOUT ANY WARRANTY; without even the implied warranty of 17 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 - * General Public License for more details. 19 - * 20 - * BSD LICENSE 21 - * 22 - * Redistribution and use in source and binary forms, with or without 23 - * modification, are permitted provided that the following conditions 24 - * are met: 25 - * 26 - * - Redistributions of source code must retain the above copyright 27 - * notice, this list of conditions and the following disclaimer. 28 - * - Redistributions in binary form must reproduce the above copyright 29 - * notice, this list of conditions and the following disclaimer in 30 - * the documentation and/or other materials provided with the 31 - * distribution. 32 - * - Neither the name of Intel Corporation nor the names of its 33 - * contributors may be used to endorse or promote products derived 34 - * from this software without specific prior written permission. 35 - * 36 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 37 - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 38 - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 39 - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 40 - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 41 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 42 - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 43 - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 44 - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 45 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 46 - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 47 - * 48 4 */ 5 + 6 + #ifndef _OPA_VNIC_H 7 + #define _OPA_VNIC_H 49 8 50 9 /* 51 10 * This file contains Intel Omni-Path (OPA) Virtual Network Interface
+2 -29
include/rdma/rdma_cm.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2005 Voltaire Inc. All rights reserved. 3 4 * Copyright (c) 2005 Intel Corporation. All rights reserved. 4 - * 5 - * This software is available to you under a choice of one of two 6 - * licenses. You may choose to be licensed under the terms of the GNU 7 - * General Public License (GPL) Version 2, available from the file 8 - * COPYING in the main directory of this source tree, or the 9 - * OpenIB.org BSD license below: 10 - * 11 - * Redistribution and use in source and binary forms, with or 12 - * without modification, are permitted provided that the following 13 - * conditions are met: 14 - * 15 - * - Redistributions of source code must retain the above 16 - * copyright notice, this list of conditions and the following 17 - * disclaimer. 18 - * 19 - * - Redistributions in binary form must reproduce the above 20 - * copyright notice, this list of conditions and the following 21 - * disclaimer in the documentation and/or other materials 22 - * provided with the distribution. 23 - * 24 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 25 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 26 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 27 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 28 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 29 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 30 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 31 - * SOFTWARE. 32 5 */ 33 6 34 - #if !defined(RDMA_CM_H) 7 + #ifndef RDMA_CM_H 35 8 #define RDMA_CM_H 36 9 37 10 #include <linux/socket.h>
+2 -29
include/rdma/rdma_cm_ib.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2006 Intel Corporation. All rights reserved. 3 - * 4 - * This software is available to you under a choice of one of two 5 - * licenses. You may choose to be licensed under the terms of the GNU 6 - * General Public License (GPL) Version 2, available from the file 7 - * COPYING in the main directory of this source tree, or the 8 - * OpenIB.org BSD license below: 9 - * 10 - * Redistribution and use in source and binary forms, with or 11 - * without modification, are permitted provided that the following 12 - * conditions are met: 13 - * 14 - * - Redistributions of source code must retain the above 15 - * copyright notice, this list of conditions and the following 16 - * disclaimer. 17 - * 18 - * - Redistributions in binary form must reproduce the above 19 - * copyright notice, this list of conditions and the following 20 - * disclaimer in the documentation and/or other materials 21 - * provided with the distribution. 22 - * 23 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 27 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 28 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 29 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 30 - * SOFTWARE. 31 4 */ 32 5 33 - #if !defined(RDMA_CM_IB_H) 6 + #ifndef RDMA_CM_IB_H 34 7 #define RDMA_CM_IB_H 35 8 36 9 #include <rdma/rdma_cm.h>
+1 -1
include/rdma/rdma_netlink.h
··· 1 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 + 2 3 #ifndef _RDMA_NETLINK_H 3 4 #define _RDMA_NETLINK_H 4 - 5 5 6 6 #include <linux/netlink.h> 7 7 #include <uapi/rdma/rdma_netlink.h>
+4 -46
include/rdma/rdma_vt.h
··· 1 - #ifndef DEF_RDMA_VT_H 2 - #define DEF_RDMA_VT_H 3 - 1 + /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 4 2 /* 5 3 * Copyright(c) 2016 - 2019 Intel Corporation. 6 - * 7 - * This file is provided under a dual BSD/GPLv2 license. When using or 8 - * redistributing this file, you may do so under either license. 9 - * 10 - * GPL LICENSE SUMMARY 11 - * 12 - * This program is free software; you can redistribute it and/or modify 13 - * it under the terms of version 2 of the GNU General Public License as 14 - * published by the Free Software Foundation. 15 - * 16 - * This program is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * BSD LICENSE 22 - * 23 - * Redistribution and use in source and binary forms, with or without 24 - * modification, are permitted provided that the following conditions 25 - * are met: 26 - * 27 - * - Redistributions of source code must retain the above copyright 28 - * notice, this list of conditions and the following disclaimer. 29 - * - Redistributions in binary form must reproduce the above copyright 30 - * notice, this list of conditions and the following disclaimer in 31 - * the documentation and/or other materials provided with the 32 - * distribution. 33 - * - Neither the name of Intel Corporation nor the names of its 34 - * contributors may be used to endorse or promote products derived 35 - * from this software without specific prior written permission. 36 - * 37 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 38 - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 39 - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 40 - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 41 - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 42 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 43 - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 44 - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 45 - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 46 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 47 - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 48 - * 49 4 */ 5 + 6 + #ifndef DEF_RDMA_VT_H 7 + #define DEF_RDMA_VT_H 50 8 51 9 /* 52 10 * Structure that low level drivers will populate in order to register with the
+5 -50
include/rdma/rdmavt_cq.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 2 + /* 3 + * Copyright(c) 2016 - 2018 Intel Corporation. 4 + */ 5 + 1 6 #ifndef DEF_RDMAVT_INCCQ_H 2 7 #define DEF_RDMAVT_INCCQ_H 3 - 4 - /* 5 - * 6 - * This file is provided under a dual BSD/GPLv2 license. When using or 7 - * redistributing this file, you may do so under either license. 8 - * 9 - * GPL LICENSE SUMMARY 10 - * 11 - * Copyright(c) 2016 - 2018 Intel Corporation. 12 - * 13 - * This program is free software; you can redistribute it and/or modify 14 - * it under the terms of version 2 of the GNU General Public License as 15 - * published by the Free Software Foundation. 16 - * 17 - * This program is distributed in the hope that it will be useful, but 18 - * WITHOUT ANY WARRANTY; without even the implied warranty of 19 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 - * General Public License for more details. 21 - * 22 - * BSD LICENSE 23 - * 24 - * Copyright(c) 2015 Intel Corporation. 25 - * 26 - * Redistribution and use in source and binary forms, with or without 27 - * modification, are permitted provided that the following conditions 28 - * are met: 29 - * 30 - * - Redistributions of source code must retain the above copyright 31 - * notice, this list of conditions and the following disclaimer. 32 - * - Redistributions in binary form must reproduce the above copyright 33 - * notice, this list of conditions and the following disclaimer in 34 - * the documentation and/or other materials provided with the 35 - * distribution. 36 - * - Neither the name of Intel Corporation nor the names of its 37 - * contributors may be used to endorse or promote products derived 38 - * from this software without specific prior written permission. 39 - * 40 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 41 - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 42 - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 43 - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 44 - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 45 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 46 - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 47 - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 48 - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 49 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 50 - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 51 - * 52 - */ 53 8 54 9 #include <linux/kthread.h> 55 10 #include <rdma/ib_user_verbs.h>
+4 -46
include/rdma/rdmavt_mr.h
··· 1 - #ifndef DEF_RDMAVT_INCMR_H 2 - #define DEF_RDMAVT_INCMR_H 3 - 1 + /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 4 2 /* 5 3 * Copyright(c) 2016 Intel Corporation. 6 - * 7 - * This file is provided under a dual BSD/GPLv2 license. When using or 8 - * redistributing this file, you may do so under either license. 9 - * 10 - * GPL LICENSE SUMMARY 11 - * 12 - * This program is free software; you can redistribute it and/or modify 13 - * it under the terms of version 2 of the GNU General Public License as 14 - * published by the Free Software Foundation. 15 - * 16 - * This program is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * BSD LICENSE 22 - * 23 - * Redistribution and use in source and binary forms, with or without 24 - * modification, are permitted provided that the following conditions 25 - * are met: 26 - * 27 - * - Redistributions of source code must retain the above copyright 28 - * notice, this list of conditions and the following disclaimer. 29 - * - Redistributions in binary form must reproduce the above copyright 30 - * notice, this list of conditions and the following disclaimer in 31 - * the documentation and/or other materials provided with the 32 - * distribution. 33 - * - Neither the name of Intel Corporation nor the names of its 34 - * contributors may be used to endorse or promote products derived 35 - * from this software without specific prior written permission. 36 - * 37 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 38 - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 39 - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 40 - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 41 - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 42 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 43 - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 44 - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 45 - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 46 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 47 - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 48 - * 49 4 */ 5 + 6 + #ifndef DEF_RDMAVT_INCMR_H 7 + #define DEF_RDMAVT_INCMR_H 50 8 51 9 /* 52 10 * For Memory Regions. This stuff should probably be moved into rdmavt/mr.h once
+4 -46
include/rdma/rdmavt_qp.h
··· 1 - #ifndef DEF_RDMAVT_INCQP_H 2 - #define DEF_RDMAVT_INCQP_H 3 - 1 + /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 4 2 /* 5 3 * Copyright(c) 2016 - 2020 Intel Corporation. 6 - * 7 - * This file is provided under a dual BSD/GPLv2 license. When using or 8 - * redistributing this file, you may do so under either license. 9 - * 10 - * GPL LICENSE SUMMARY 11 - * 12 - * This program is free software; you can redistribute it and/or modify 13 - * it under the terms of version 2 of the GNU General Public License as 14 - * published by the Free Software Foundation. 15 - * 16 - * This program is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * BSD LICENSE 22 - * 23 - * Redistribution and use in source and binary forms, with or without 24 - * modification, are permitted provided that the following conditions 25 - * are met: 26 - * 27 - * - Redistributions of source code must retain the above copyright 28 - * notice, this list of conditions and the following disclaimer. 29 - * - Redistributions in binary form must reproduce the above copyright 30 - * notice, this list of conditions and the following disclaimer in 31 - * the documentation and/or other materials provided with the 32 - * distribution. 33 - * - Neither the name of Intel Corporation nor the names of its 34 - * contributors may be used to endorse or promote products derived 35 - * from this software without specific prior written permission. 36 - * 37 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 38 - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 39 - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 40 - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 41 - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 42 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 43 - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 44 - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 45 - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 46 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 47 - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 48 - * 49 4 */ 5 + 6 + #ifndef DEF_RDMAVT_INCQP_H 7 + #define DEF_RDMAVT_INCQP_H 50 8 51 9 #include <rdma/rdma_vt.h> 52 10 #include <rdma/ib_pack.h>
+1 -28
include/rdma/uverbs_ioctl.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2017, Mellanox Technologies inc. All rights reserved. 3 - * 4 - * This software is available to you under a choice of one of two 5 - * licenses. You may choose to be licensed under the terms of the GNU 6 - * General Public License (GPL) Version 2, available from the file 7 - * COPYING in the main directory of this source tree, or the 8 - * OpenIB.org BSD license below: 9 - * 10 - * Redistribution and use in source and binary forms, with or 11 - * without modification, are permitted provided that the following 12 - * conditions are met: 13 - * 14 - * - Redistributions of source code must retain the above 15 - * copyright notice, this list of conditions and the following 16 - * disclaimer. 17 - * 18 - * - Redistributions in binary form must reproduce the above 19 - * copyright notice, this list of conditions and the following 20 - * disclaimer in the documentation and/or other materials 21 - * provided with the distribution. 22 - * 23 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 27 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 28 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 29 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 30 - * SOFTWARE. 31 4 */ 32 5 33 6 #ifndef _UVERBS_IOCTL_
+1 -28
include/rdma/uverbs_named_ioctl.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2018, Mellanox Technologies inc. All rights reserved. 3 - * 4 - * This software is available to you under a choice of one of two 5 - * licenses. You may choose to be licensed under the terms of the GNU 6 - * General Public License (GPL) Version 2, available from the file 7 - * COPYING in the main directory of this source tree, or the 8 - * OpenIB.org BSD license below: 9 - * 10 - * Redistribution and use in source and binary forms, with or 11 - * without modification, are permitted provided that the following 12 - * conditions are met: 13 - * 14 - * - Redistributions of source code must retain the above 15 - * copyright notice, this list of conditions and the following 16 - * disclaimer. 17 - * 18 - * - Redistributions in binary form must reproduce the above 19 - * copyright notice, this list of conditions and the following 20 - * disclaimer in the documentation and/or other materials 21 - * provided with the distribution. 22 - * 23 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 27 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 28 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 29 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 30 - * SOFTWARE. 31 4 */ 32 5 33 6 #ifndef _UVERBS_NAMED_IOCTL_
+1 -28
include/rdma/uverbs_std_types.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2017, Mellanox Technologies inc. All rights reserved. 3 - * 4 - * This software is available to you under a choice of one of two 5 - * licenses. You may choose to be licensed under the terms of the GNU 6 - * General Public License (GPL) Version 2, available from the file 7 - * COPYING in the main directory of this source tree, or the 8 - * OpenIB.org BSD license below: 9 - * 10 - * Redistribution and use in source and binary forms, with or 11 - * without modification, are permitted provided that the following 12 - * conditions are met: 13 - * 14 - * - Redistributions of source code must retain the above 15 - * copyright notice, this list of conditions and the following 16 - * disclaimer. 17 - * 18 - * - Redistributions in binary form must reproduce the above 19 - * copyright notice, this list of conditions and the following 20 - * disclaimer in the documentation and/or other materials 21 - * provided with the distribution. 22 - * 23 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 27 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 28 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 29 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 30 - * SOFTWARE. 31 4 */ 32 5 33 6 #ifndef _UVERBS_STD_TYPES__
+1 -28
include/rdma/uverbs_types.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 1 2 /* 2 3 * Copyright (c) 2017, Mellanox Technologies inc. All rights reserved. 3 - * 4 - * This software is available to you under a choice of one of two 5 - * licenses. You may choose to be licensed under the terms of the GNU 6 - * General Public License (GPL) Version 2, available from the file 7 - * COPYING in the main directory of this source tree, or the 8 - * OpenIB.org BSD license below: 9 - * 10 - * Redistribution and use in source and binary forms, with or 11 - * without modification, are permitted provided that the following 12 - * conditions are met: 13 - * 14 - * - Redistributions of source code must retain the above 15 - * copyright notice, this list of conditions and the following 16 - * disclaimer. 17 - * 18 - * - Redistributions in binary form must reproduce the above 19 - * copyright notice, this list of conditions and the following 20 - * disclaimer in the documentation and/or other materials 21 - * provided with the distribution. 22 - * 23 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25 - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 27 - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 28 - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 29 - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 30 - * SOFTWARE. 31 4 */ 32 5 33 6 #ifndef _UVERBS_TYPES_