provider.c (331784) | provider.c (346923) |
---|---|
1/* 2 * Copyright (c) 2009-2013, 2016 Chelsio, 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: --- 16 unchanged lines hidden (view full) --- 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 */ 32#include <sys/cdefs.h> | 1/* 2 * Copyright (c) 2009-2013, 2016 Chelsio, 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: --- 16 unchanged lines hidden (view full) --- 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 */ 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: stable/11/sys/dev/cxgbe/iw_cxgbe/provider.c 331784 2018-03-30 18:36:44Z hselasky $"); | 33__FBSDID("$FreeBSD: stable/11/sys/dev/cxgbe/iw_cxgbe/provider.c 346923 2019-04-29 20:10:28Z np $"); |
34 35#define LINUXKPI_PARAM_PREFIX iw_cxgbe_ 36 37#include "opt_inet.h" 38 39#ifdef TCP_OFFLOAD 40#include <asm/pgtable.h> 41#include <linux/page.h> 42#include <rdma/ib_verbs.h> 43#include <rdma/ib_user_verbs.h> 44 45#include "iw_cxgbe.h" 46#include "user.h" | 34 35#define LINUXKPI_PARAM_PREFIX iw_cxgbe_ 36 37#include "opt_inet.h" 38 39#ifdef TCP_OFFLOAD 40#include <asm/pgtable.h> 41#include <linux/page.h> 42#include <rdma/ib_verbs.h> 43#include <rdma/ib_user_verbs.h> 44 45#include "iw_cxgbe.h" 46#include "user.h" |
47extern int use_dsgl; | 47 |
48static int fastreg_support = 1; 49module_param(fastreg_support, int, 0644); 50MODULE_PARM_DESC(fastreg_support, "Advertise fastreg support (default = 1)"); 51 52static int c4iw_modify_port(struct ib_device *ibdev, 53 u8 port, int port_modify_mask, 54 struct ib_port_modify *props) 55{ --- 479 unchanged lines hidden --- | 48static int fastreg_support = 1; 49module_param(fastreg_support, int, 0644); 50MODULE_PARM_DESC(fastreg_support, "Advertise fastreg support (default = 1)"); 51 52static int c4iw_modify_port(struct ib_device *ibdev, 53 u8 port, int port_modify_mask, 54 struct ib_port_modify *props) 55{ --- 479 unchanged lines hidden --- |