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

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma

Pull rdma fixes from Doug Ledford:

- two minor bug fixes

- relicense ocrdma driver to dual license, GPL or BSD

* tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma:
RDMA/ocrdma: update ocrdma module license string
RDMA/ocrdma: update ocrdma license to dual-license
IB/ipoib: Fix CONFIG_INFINIBAND_IPOIB_CM
RDMA/cxgb3: fail get_dma_mr on 64 bit arches

+415 -230
+4
drivers/infiniband/hw/cxgb3/iwch_provider.c
··· 736 736 /* 737 737 * T3 only supports 32 bits of size. 738 738 */ 739 + if (sizeof(phys_addr_t) > 4) { 740 + pr_warn_once(MOD "Cannot support dma_mrs on this platform.\n"); 741 + return ERR_PTR(-ENOTSUPP); 742 + } 739 743 bl.size = 0xffffffff; 740 744 bl.addr = 0; 741 745 kva = 0;
+34 -19
drivers/infiniband/hw/ocrdma/ocrdma.h
··· 1 - /******************************************************************* 2 - * This file is part of the Emulex RoCE Device Driver for * 3 - * RoCE (RDMA over Converged Ethernet) adapters. * 4 - * Copyright (C) 2008-2012 Emulex. All rights reserved. * 5 - * EMULEX and SLI are trademarks of Emulex. * 6 - * www.emulex.com * 7 - * * 8 - * This program is free software; you can redistribute it and/or * 9 - * modify it under the terms of version 2 of the GNU General * 10 - * Public License as published by the Free Software Foundation. * 11 - * This program is distributed in the hope that it will be useful. * 12 - * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND * 13 - * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, * 14 - * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 15 - * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD * 16 - * TO BE LEGALLY INVALID. See the GNU General Public License for * 17 - * more details, a copy of which can be found in the file COPYING * 18 - * included with this package. * 1 + /* This file is part of the Emulex RoCE Device Driver for 2 + * RoCE (RDMA over Converged Ethernet) adapters. 3 + * Copyright (C) 2012-2015 Emulex. All rights reserved. 4 + * EMULEX and SLI are trademarks of Emulex. 5 + * www.emulex.com 6 + * 7 + * This software is available to you under a choice of one of two licenses. 8 + * You may choose to be licensed under the terms of the GNU General Public 9 + * License (GPL) Version 2, available from the file COPYING in the main 10 + * directory of this source tree, or the BSD license below: 11 + * 12 + * Redistribution and use in source and binary forms, with or without 13 + * modification, are permitted provided that the following conditions 14 + * are met: 15 + * 16 + * - Redistributions of source code must retain the above copyright notice, 17 + * this list of conditions and the following disclaimer. 18 + * 19 + * - Redistributions in binary form must reproduce the above copyright 20 + * notice, this list of conditions and the following disclaimer in 21 + * the documentation and/or other materials provided with the distribution. 22 + * 23 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 24 + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,THE 25 + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28 + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29 + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 30 + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 31 + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 32 + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 33 + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 19 34 * 20 35 * Contact Information: 21 36 * linux-drivers@emulex.com ··· 38 23 * Emulex 39 24 * 3333 Susan Street 40 25 * Costa Mesa, CA 92626 41 - *******************************************************************/ 26 + */ 42 27 43 28 #ifndef __OCRDMA_H__ 44 29 #define __OCRDMA_H__
+34 -19
drivers/infiniband/hw/ocrdma/ocrdma_abi.h
··· 1 - /******************************************************************* 2 - * This file is part of the Emulex RoCE Device Driver for * 3 - * RoCE (RDMA over Converged Ethernet) adapters. * 4 - * Copyright (C) 2008-2012 Emulex. All rights reserved. * 5 - * EMULEX and SLI are trademarks of Emulex. * 6 - * www.emulex.com * 7 - * * 8 - * This program is free software; you can redistribute it and/or * 9 - * modify it under the terms of version 2 of the GNU General * 10 - * Public License as published by the Free Software Foundation. * 11 - * This program is distributed in the hope that it will be useful. * 12 - * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND * 13 - * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, * 14 - * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 15 - * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD * 16 - * TO BE LEGALLY INVALID. See the GNU General Public License for * 17 - * more details, a copy of which can be found in the file COPYING * 18 - * included with this package. * 1 + /* This file is part of the Emulex RoCE Device Driver for 2 + * RoCE (RDMA over Converged Ethernet) adapters. 3 + * Copyright (C) 2012-2015 Emulex. All rights reserved. 4 + * EMULEX and SLI are trademarks of Emulex. 5 + * www.emulex.com 6 + * 7 + * This software is available to you under a choice of one of two licenses. 8 + * You may choose to be licensed under the terms of the GNU General Public 9 + * License (GPL) Version 2, available from the file COPYING in the main 10 + * directory of this source tree, or the BSD license below: 11 + * 12 + * Redistribution and use in source and binary forms, with or without 13 + * modification, are permitted provided that the following conditions 14 + * are met: 15 + * 16 + * - Redistributions of source code must retain the above copyright notice, 17 + * this list of conditions and the following disclaimer. 18 + * 19 + * - Redistributions in binary form must reproduce the above copyright 20 + * notice, this list of conditions and the following disclaimer in 21 + * the documentation and/or other materials provided with the distribution. 22 + * 23 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 24 + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,THE 25 + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28 + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29 + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 30 + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 31 + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 32 + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 33 + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 19 34 * 20 35 * Contact Information: 21 36 * linux-drivers@emulex.com ··· 38 23 * Emulex 39 24 * 3333 Susan Street 40 25 * Costa Mesa, CA 92626 41 - *******************************************************************/ 26 + */ 42 27 43 28 #ifndef __OCRDMA_ABI_H__ 44 29 #define __OCRDMA_ABI_H__
+34 -19
drivers/infiniband/hw/ocrdma/ocrdma_ah.c
··· 1 - /******************************************************************* 2 - * This file is part of the Emulex RoCE Device Driver for * 3 - * RoCE (RDMA over Converged Ethernet) adapters. * 4 - * Copyright (C) 2008-2012 Emulex. All rights reserved. * 5 - * EMULEX and SLI are trademarks of Emulex. * 6 - * www.emulex.com * 7 - * * 8 - * This program is free software; you can redistribute it and/or * 9 - * modify it under the terms of version 2 of the GNU General * 10 - * Public License as published by the Free Software Foundation. * 11 - * This program is distributed in the hope that it will be useful. * 12 - * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND * 13 - * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, * 14 - * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 15 - * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD * 16 - * TO BE LEGALLY INVALID. See the GNU General Public License for * 17 - * more details, a copy of which can be found in the file COPYING * 18 - * included with this package. * 1 + /* This file is part of the Emulex RoCE Device Driver for 2 + * RoCE (RDMA over Converged Ethernet) adapters. 3 + * Copyright (C) 2012-2015 Emulex. All rights reserved. 4 + * EMULEX and SLI are trademarks of Emulex. 5 + * www.emulex.com 6 + * 7 + * This software is available to you under a choice of one of two licenses. 8 + * You may choose to be licensed under the terms of the GNU General Public 9 + * License (GPL) Version 2, available from the file COPYING in the main 10 + * directory of this source tree, or the BSD license below: 11 + * 12 + * Redistribution and use in source and binary forms, with or without 13 + * modification, are permitted provided that the following conditions 14 + * are met: 15 + * 16 + * - Redistributions of source code must retain the above copyright notice, 17 + * this list of conditions and the following disclaimer. 18 + * 19 + * - Redistributions in binary form must reproduce the above copyright 20 + * notice, this list of conditions and the following disclaimer in 21 + * the documentation and/or other materials provided with the distribution. 22 + * 23 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 24 + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,THE 25 + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28 + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29 + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 30 + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 31 + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 32 + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 33 + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 19 34 * 20 35 * Contact Information: 21 36 * linux-drivers@emulex.com ··· 38 23 * Emulex 39 24 * 3333 Susan Street 40 25 * Costa Mesa, CA 92626 41 - *******************************************************************/ 26 + */ 42 27 43 28 #include <net/neighbour.h> 44 29 #include <net/netevent.h>
+34 -19
drivers/infiniband/hw/ocrdma/ocrdma_ah.h
··· 1 - /******************************************************************* 2 - * This file is part of the Emulex RoCE Device Driver for * 3 - * RoCE (RDMA over Converged Ethernet) adapters. * 4 - * Copyright (C) 2008-2012 Emulex. All rights reserved. * 5 - * EMULEX and SLI are trademarks of Emulex. * 6 - * www.emulex.com * 7 - * * 8 - * This program is free software; you can redistribute it and/or * 9 - * modify it under the terms of version 2 of the GNU General * 10 - * Public License as published by the Free Software Foundation. * 11 - * This program is distributed in the hope that it will be useful. * 12 - * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND * 13 - * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, * 14 - * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 15 - * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD * 16 - * TO BE LEGALLY INVALID. See the GNU General Public License for * 17 - * more details, a copy of which can be found in the file COPYING * 18 - * included with this package. * 1 + /* This file is part of the Emulex RoCE Device Driver for 2 + * RoCE (RDMA over Converged Ethernet) adapters. 3 + * Copyright (C) 2012-2015 Emulex. All rights reserved. 4 + * EMULEX and SLI are trademarks of Emulex. 5 + * www.emulex.com 6 + * 7 + * This software is available to you under a choice of one of two licenses. 8 + * You may choose to be licensed under the terms of the GNU General Public 9 + * License (GPL) Version 2, available from the file COPYING in the main 10 + * directory of this source tree, or the BSD license below: 11 + * 12 + * Redistribution and use in source and binary forms, with or without 13 + * modification, are permitted provided that the following conditions 14 + * are met: 15 + * 16 + * - Redistributions of source code must retain the above copyright notice, 17 + * this list of conditions and the following disclaimer. 18 + * 19 + * - Redistributions in binary form must reproduce the above copyright 20 + * notice, this list of conditions and the following disclaimer in 21 + * the documentation and/or other materials provided with the distribution. 22 + * 23 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 24 + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,THE 25 + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28 + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29 + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 30 + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 31 + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 32 + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 33 + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 19 34 * 20 35 * Contact Information: 21 36 * linux-drivers@emulex.com ··· 38 23 * Emulex 39 24 * 3333 Susan Street 40 25 * Costa Mesa, CA 92626 41 - *******************************************************************/ 26 + */ 42 27 43 28 #ifndef __OCRDMA_AH_H__ 44 29 #define __OCRDMA_AH_H__
+34 -19
drivers/infiniband/hw/ocrdma/ocrdma_hw.c
··· 1 - /******************************************************************* 2 - * This file is part of the Emulex RoCE Device Driver for * 3 - * RoCE (RDMA over Converged Ethernet) CNA Adapters. * 4 - * Copyright (C) 2008-2012 Emulex. All rights reserved. * 5 - * EMULEX and SLI are trademarks of Emulex. * 6 - * www.emulex.com * 7 - * * 8 - * This program is free software; you can redistribute it and/or * 9 - * modify it under the terms of version 2 of the GNU General * 10 - * Public License as published by the Free Software Foundation. * 11 - * This program is distributed in the hope that it will be useful. * 12 - * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND * 13 - * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, * 14 - * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 15 - * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD * 16 - * TO BE LEGALLY INVALID. See the GNU General Public License for * 17 - * more details, a copy of which can be found in the file COPYING * 18 - * included with this package. * 1 + /* This file is part of the Emulex RoCE Device Driver for 2 + * RoCE (RDMA over Converged Ethernet) adapters. 3 + * Copyright (C) 2012-2015 Emulex. All rights reserved. 4 + * EMULEX and SLI are trademarks of Emulex. 5 + * www.emulex.com 6 + * 7 + * This software is available to you under a choice of one of two licenses. 8 + * You may choose to be licensed under the terms of the GNU General Public 9 + * License (GPL) Version 2, available from the file COPYING in the main 10 + * directory of this source tree, or the BSD license below: 11 + * 12 + * Redistribution and use in source and binary forms, with or without 13 + * modification, are permitted provided that the following conditions 14 + * are met: 15 + * 16 + * - Redistributions of source code must retain the above copyright notice, 17 + * this list of conditions and the following disclaimer. 18 + * 19 + * - Redistributions in binary form must reproduce the above copyright 20 + * notice, this list of conditions and the following disclaimer in 21 + * the documentation and/or other materials provided with the distribution. 22 + * 23 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 24 + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,THE 25 + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28 + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29 + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 30 + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 31 + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 32 + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 33 + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 19 34 * 20 35 * Contact Information: 21 36 * linux-drivers@emulex.com ··· 38 23 * Emulex 39 24 * 3333 Susan Street 40 25 * Costa Mesa, CA 92626 41 - *******************************************************************/ 26 + */ 42 27 43 28 #include <linux/sched.h> 44 29 #include <linux/interrupt.h>
+34 -19
drivers/infiniband/hw/ocrdma/ocrdma_hw.h
··· 1 - /******************************************************************* 2 - * This file is part of the Emulex RoCE Device Driver for * 3 - * RoCE (RDMA over Converged Ethernet) CNA Adapters. * 4 - * Copyright (C) 2008-2012 Emulex. All rights reserved. * 5 - * EMULEX and SLI are trademarks of Emulex. * 6 - * www.emulex.com * 7 - * * 8 - * This program is free software; you can redistribute it and/or * 9 - * modify it under the terms of version 2 of the GNU General * 10 - * Public License as published by the Free Software Foundation. * 11 - * This program is distributed in the hope that it will be useful. * 12 - * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND * 13 - * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, * 14 - * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 15 - * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD * 16 - * TO BE LEGALLY INVALID. See the GNU General Public License for * 17 - * more details, a copy of which can be found in the file COPYING * 18 - * included with this package. * 1 + /* This file is part of the Emulex RoCE Device Driver for 2 + * RoCE (RDMA over Converged Ethernet) adapters. 3 + * Copyright (C) 2012-2015 Emulex. All rights reserved. 4 + * EMULEX and SLI are trademarks of Emulex. 5 + * www.emulex.com 6 + * 7 + * This software is available to you under a choice of one of two licenses. 8 + * You may choose to be licensed under the terms of the GNU General Public 9 + * License (GPL) Version 2, available from the file COPYING in the main 10 + * directory of this source tree, or the BSD license below: 11 + * 12 + * Redistribution and use in source and binary forms, with or without 13 + * modification, are permitted provided that the following conditions 14 + * are met: 15 + * 16 + * - Redistributions of source code must retain the above copyright notice, 17 + * this list of conditions and the following disclaimer. 18 + * 19 + * - Redistributions in binary form must reproduce the above copyright 20 + * notice, this list of conditions and the following disclaimer in 21 + * the documentation and/or other materials provided with the distribution. 22 + * 23 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 24 + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,THE 25 + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28 + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29 + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 30 + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 31 + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 32 + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 33 + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 19 34 * 20 35 * Contact Information: 21 36 * linux-drivers@emulex.com ··· 38 23 * Emulex 39 24 * 3333 Susan Street 40 25 * Costa Mesa, CA 92626 41 - *******************************************************************/ 26 + */ 42 27 43 28 #ifndef __OCRDMA_HW_H__ 44 29 #define __OCRDMA_HW_H__
+35 -20
drivers/infiniband/hw/ocrdma/ocrdma_main.c
··· 1 - /******************************************************************* 2 - * This file is part of the Emulex RoCE Device Driver for * 3 - * RoCE (RDMA over Converged Ethernet) adapters. * 4 - * Copyright (C) 2008-2012 Emulex. All rights reserved. * 5 - * EMULEX and SLI are trademarks of Emulex. * 6 - * www.emulex.com * 7 - * * 8 - * This program is free software; you can redistribute it and/or * 9 - * modify it under the terms of version 2 of the GNU General * 10 - * Public License as published by the Free Software Foundation. * 11 - * This program is distributed in the hope that it will be useful. * 12 - * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND * 13 - * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, * 14 - * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 15 - * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD * 16 - * TO BE LEGALLY INVALID. See the GNU General Public License for * 17 - * more details, a copy of which can be found in the file COPYING * 18 - * included with this package. * 1 + /* This file is part of the Emulex RoCE Device Driver for 2 + * RoCE (RDMA over Converged Ethernet) adapters. 3 + * Copyright (C) 2012-2015 Emulex. All rights reserved. 4 + * EMULEX and SLI are trademarks of Emulex. 5 + * www.emulex.com 6 + * 7 + * This software is available to you under a choice of one of two licenses. 8 + * You may choose to be licensed under the terms of the GNU General Public 9 + * License (GPL) Version 2, available from the file COPYING in the main 10 + * directory of this source tree, or the BSD license below: 11 + * 12 + * Redistribution and use in source and binary forms, with or without 13 + * modification, are permitted provided that the following conditions 14 + * are met: 15 + * 16 + * - Redistributions of source code must retain the above copyright notice, 17 + * this list of conditions and the following disclaimer. 18 + * 19 + * - Redistributions in binary form must reproduce the above copyright 20 + * notice, this list of conditions and the following disclaimer in 21 + * the documentation and/or other materials provided with the distribution. 22 + * 23 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 24 + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,THE 25 + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28 + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29 + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 30 + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 31 + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 32 + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 33 + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 19 34 * 20 35 * Contact Information: 21 36 * linux-drivers@emulex.com ··· 38 23 * Emulex 39 24 * 3333 Susan Street 40 25 * Costa Mesa, CA 92626 41 - *******************************************************************/ 26 + */ 42 27 43 28 #include <linux/module.h> 44 29 #include <linux/idr.h> ··· 61 46 MODULE_VERSION(OCRDMA_ROCE_DRV_VERSION); 62 47 MODULE_DESCRIPTION(OCRDMA_ROCE_DRV_DESC " " OCRDMA_ROCE_DRV_VERSION); 63 48 MODULE_AUTHOR("Emulex Corporation"); 64 - MODULE_LICENSE("GPL"); 49 + MODULE_LICENSE("Dual BSD/GPL"); 65 50 66 51 static LIST_HEAD(ocrdma_dev_list); 67 52 static DEFINE_SPINLOCK(ocrdma_devlist_lock);
+34 -19
drivers/infiniband/hw/ocrdma/ocrdma_sli.h
··· 1 - /******************************************************************* 2 - * This file is part of the Emulex RoCE Device Driver for * 3 - * RoCE (RDMA over Converged Ethernet) adapters. * 4 - * Copyright (C) 2008-2012 Emulex. All rights reserved. * 5 - * EMULEX and SLI are trademarks of Emulex. * 6 - * www.emulex.com * 7 - * * 8 - * This program is free software; you can redistribute it and/or * 9 - * modify it under the terms of version 2 of the GNU General * 10 - * Public License as published by the Free Software Foundation. * 11 - * This program is distributed in the hope that it will be useful. * 12 - * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND * 13 - * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, * 14 - * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 15 - * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD * 16 - * TO BE LEGALLY INVALID. See the GNU General Public License for * 17 - * more details, a copy of which can be found in the file COPYING * 18 - * included with this package. * 1 + /* This file is part of the Emulex RoCE Device Driver for 2 + * RoCE (RDMA over Converged Ethernet) adapters. 3 + * Copyright (C) 2012-2015 Emulex. All rights reserved. 4 + * EMULEX and SLI are trademarks of Emulex. 5 + * www.emulex.com 6 + * 7 + * This software is available to you under a choice of one of two licenses. 8 + * You may choose to be licensed under the terms of the GNU General Public 9 + * License (GPL) Version 2, available from the file COPYING in the main 10 + * directory of this source tree, or the BSD license below: 11 + * 12 + * Redistribution and use in source and binary forms, with or without 13 + * modification, are permitted provided that the following conditions 14 + * are met: 15 + * 16 + * - Redistributions of source code must retain the above copyright notice, 17 + * this list of conditions and the following disclaimer. 18 + * 19 + * - Redistributions in binary form must reproduce the above copyright 20 + * notice, this list of conditions and the following disclaimer in 21 + * the documentation and/or other materials provided with the distribution. 22 + * 23 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 24 + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,THE 25 + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28 + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29 + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 30 + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 31 + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 32 + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 33 + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 19 34 * 20 35 * Contact Information: 21 36 * linux-drivers@emulex.com ··· 38 23 * Emulex 39 24 * 3333 Susan Street 40 25 * Costa Mesa, CA 92626 41 - *******************************************************************/ 26 + */ 42 27 43 28 #ifndef __OCRDMA_SLI_H__ 44 29 #define __OCRDMA_SLI_H__
+34 -19
drivers/infiniband/hw/ocrdma/ocrdma_stats.c
··· 1 - /******************************************************************* 2 - * This file is part of the Emulex RoCE Device Driver for * 3 - * RoCE (RDMA over Converged Ethernet) adapters. * 4 - * Copyright (C) 2008-2014 Emulex. All rights reserved. * 5 - * EMULEX and SLI are trademarks of Emulex. * 6 - * www.emulex.com * 7 - * * 8 - * This program is free software; you can redistribute it and/or * 9 - * modify it under the terms of version 2 of the GNU General * 10 - * Public License as published by the Free Software Foundation. * 11 - * This program is distributed in the hope that it will be useful. * 12 - * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND * 13 - * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, * 14 - * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 15 - * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD * 16 - * TO BE LEGALLY INVALID. See the GNU General Public License for * 17 - * more details, a copy of which can be found in the file COPYING * 18 - * included with this package. * 1 + /* This file is part of the Emulex RoCE Device Driver for 2 + * RoCE (RDMA over Converged Ethernet) adapters. 3 + * Copyright (C) 2012-2015 Emulex. All rights reserved. 4 + * EMULEX and SLI are trademarks of Emulex. 5 + * www.emulex.com 6 + * 7 + * This software is available to you under a choice of one of two licenses. 8 + * You may choose to be licensed under the terms of the GNU General Public 9 + * License (GPL) Version 2, available from the file COPYING in the main 10 + * directory of this source tree, or the BSD license below: 11 + * 12 + * Redistribution and use in source and binary forms, with or without 13 + * modification, are permitted provided that the following conditions 14 + * are met: 15 + * 16 + * - Redistributions of source code must retain the above copyright notice, 17 + * this list of conditions and the following disclaimer. 18 + * 19 + * - Redistributions in binary form must reproduce the above copyright 20 + * notice, this list of conditions and the following disclaimer in 21 + * the documentation and/or other materials provided with the distribution. 22 + * 23 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 24 + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,THE 25 + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28 + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29 + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 30 + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 31 + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 32 + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 33 + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 19 34 * 20 35 * Contact Information: 21 36 * linux-drivers@emulex.com ··· 38 23 * Emulex 39 24 * 3333 Susan Street 40 25 * Costa Mesa, CA 92626 41 - *******************************************************************/ 26 + */ 42 27 43 28 #include <rdma/ib_addr.h> 44 29 #include <rdma/ib_pma.h>
+34 -19
drivers/infiniband/hw/ocrdma/ocrdma_stats.h
··· 1 - /******************************************************************* 2 - * This file is part of the Emulex RoCE Device Driver for * 3 - * RoCE (RDMA over Converged Ethernet) adapters. * 4 - * Copyright (C) 2008-2014 Emulex. All rights reserved. * 5 - * EMULEX and SLI are trademarks of Emulex. * 6 - * www.emulex.com * 7 - * * 8 - * This program is free software; you can redistribute it and/or * 9 - * modify it under the terms of version 2 of the GNU General * 10 - * Public License as published by the Free Software Foundation. * 11 - * This program is distributed in the hope that it will be useful. * 12 - * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND * 13 - * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, * 14 - * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 15 - * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD * 16 - * TO BE LEGALLY INVALID. See the GNU General Public License for * 17 - * more details, a copy of which can be found in the file COPYING * 18 - * included with this package. * 1 + /* This file is part of the Emulex RoCE Device Driver for 2 + * RoCE (RDMA over Converged Ethernet) adapters. 3 + * Copyright (C) 2012-2015 Emulex. All rights reserved. 4 + * EMULEX and SLI are trademarks of Emulex. 5 + * www.emulex.com 6 + * 7 + * This software is available to you under a choice of one of two licenses. 8 + * You may choose to be licensed under the terms of the GNU General Public 9 + * License (GPL) Version 2, available from the file COPYING in the main 10 + * directory of this source tree, or the BSD license below: 11 + * 12 + * Redistribution and use in source and binary forms, with or without 13 + * modification, are permitted provided that the following conditions 14 + * are met: 15 + * 16 + * - Redistributions of source code must retain the above copyright notice, 17 + * this list of conditions and the following disclaimer. 18 + * 19 + * - Redistributions in binary form must reproduce the above copyright 20 + * notice, this list of conditions and the following disclaimer in 21 + * the documentation and/or other materials provided with the distribution. 22 + * 23 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 24 + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,THE 25 + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28 + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29 + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 30 + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 31 + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 32 + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 33 + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 19 34 * 20 35 * Contact Information: 21 36 * linux-drivers@emulex.com ··· 38 23 * Emulex 39 24 * 3333 Susan Street 40 25 * Costa Mesa, CA 92626 41 - *******************************************************************/ 26 + */ 42 27 43 28 #ifndef __OCRDMA_STATS_H__ 44 29 #define __OCRDMA_STATS_H__
+34 -19
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
··· 1 - /******************************************************************* 2 - * This file is part of the Emulex RoCE Device Driver for * 3 - * RoCE (RDMA over Converged Ethernet) adapters. * 4 - * Copyright (C) 2008-2012 Emulex. All rights reserved. * 5 - * EMULEX and SLI are trademarks of Emulex. * 6 - * www.emulex.com * 7 - * * 8 - * This program is free software; you can redistribute it and/or * 9 - * modify it under the terms of version 2 of the GNU General * 10 - * Public License as published by the Free Software Foundation. * 11 - * This program is distributed in the hope that it will be useful. * 12 - * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND * 13 - * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, * 14 - * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 15 - * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD * 16 - * TO BE LEGALLY INVALID. See the GNU General Public License for * 17 - * more details, a copy of which can be found in the file COPYING * 18 - * included with this package. * 1 + /* This file is part of the Emulex RoCE Device Driver for 2 + * RoCE (RDMA over Converged Ethernet) adapters. 3 + * Copyright (C) 2012-2015 Emulex. All rights reserved. 4 + * EMULEX and SLI are trademarks of Emulex. 5 + * www.emulex.com 6 + * 7 + * This software is available to you under a choice of one of two licenses. 8 + * You may choose to be licensed under the terms of the GNU General Public 9 + * License (GPL) Version 2, available from the file COPYING in the main 10 + * directory of this source tree, or the BSD license below: 11 + * 12 + * Redistribution and use in source and binary forms, with or without 13 + * modification, are permitted provided that the following conditions 14 + * are met: 15 + * 16 + * - Redistributions of source code must retain the above copyright notice, 17 + * this list of conditions and the following disclaimer. 18 + * 19 + * - Redistributions in binary form must reproduce the above copyright 20 + * notice, this list of conditions and the following disclaimer in 21 + * the documentation and/or other materials provided with the distribution. 22 + * 23 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 24 + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,THE 25 + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28 + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29 + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 30 + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 31 + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 32 + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 33 + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 19 34 * 20 35 * Contact Information: 21 36 * linux-drivers@emulex.com ··· 38 23 * Emulex 39 24 * 3333 Susan Street 40 25 * Costa Mesa, CA 92626 41 - *******************************************************************/ 26 + */ 42 27 43 28 #include <linux/dma-mapping.h> 44 29 #include <rdma/ib_verbs.h>
+34 -19
drivers/infiniband/hw/ocrdma/ocrdma_verbs.h
··· 1 - /******************************************************************* 2 - * This file is part of the Emulex RoCE Device Driver for * 3 - * RoCE (RDMA over Converged Ethernet) adapters. * 4 - * Copyright (C) 2008-2012 Emulex. All rights reserved. * 5 - * EMULEX and SLI are trademarks of Emulex. * 6 - * www.emulex.com * 7 - * * 8 - * This program is free software; you can redistribute it and/or * 9 - * modify it under the terms of version 2 of the GNU General * 10 - * Public License as published by the Free Software Foundation. * 11 - * This program is distributed in the hope that it will be useful. * 12 - * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND * 13 - * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, * 14 - * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 15 - * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD * 16 - * TO BE LEGALLY INVALID. See the GNU General Public License for * 17 - * more details, a copy of which can be found in the file COPYING * 18 - * included with this package. * 1 + /* This file is part of the Emulex RoCE Device Driver for 2 + * RoCE (RDMA over Converged Ethernet) adapters. 3 + * Copyright (C) 2012-2015 Emulex. All rights reserved. 4 + * EMULEX and SLI are trademarks of Emulex. 5 + * www.emulex.com 6 + * 7 + * This software is available to you under a choice of one of two licenses. 8 + * You may choose to be licensed under the terms of the GNU General Public 9 + * License (GPL) Version 2, available from the file COPYING in the main 10 + * directory of this source tree, or the BSD license below: 11 + * 12 + * Redistribution and use in source and binary forms, with or without 13 + * modification, are permitted provided that the following conditions 14 + * are met: 15 + * 16 + * - Redistributions of source code must retain the above copyright notice, 17 + * this list of conditions and the following disclaimer. 18 + * 19 + * - Redistributions in binary form must reproduce the above copyright 20 + * notice, this list of conditions and the following disclaimer in 21 + * the documentation and/or other materials provided with the distribution. 22 + * 23 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 24 + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,THE 25 + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28 + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29 + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 30 + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 31 + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 32 + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 33 + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 19 34 * 20 35 * Contact Information: 21 36 * linux-drivers@emulex.com ··· 38 23 * Emulex 39 24 * 3333 Susan Street 40 25 * Costa Mesa, CA 92626 41 - *******************************************************************/ 26 + */ 42 27 43 28 #ifndef __OCRDMA_VERBS_H__ 44 29 #define __OCRDMA_VERBS_H__
+2 -1
drivers/infiniband/ulp/ipoib/ipoib_verbs.c
··· 177 177 else 178 178 size += ipoib_recvq_size * ipoib_max_conn_qp; 179 179 } else 180 - goto out_free_wq; 180 + if (ret != -ENOSYS) 181 + goto out_free_wq; 181 182 182 183 cq_attr.cqe = size; 183 184 priv->recv_cq = ib_create_cq(priv->ca, ipoib_ib_completion, NULL,