Deleted Added
full compact
main.c (299179) main.c (300050)
1/*
2 * Copyright (c) 2004, 2005 Topspin Communications. All rights reserved.
3 * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
4 * Copyright (c) 2005, 2006, 2007, 2008, 2014 Mellanox Technologies. All rights reserved.
5 * Copyright (c) 2006, 2007 Cisco Systems, Inc. All rights reserved.
6 *
7 * This software is available to you under a choice of one of two
8 * licenses. You may choose to be licensed under the terms of the GNU

--- 150 unchanged lines hidden (view full) ---

159static int fast_drop;
160module_param_named(fast_drop, fast_drop, int, 0444);
161MODULE_PARM_DESC(fast_drop,
162 "Enable fast packet drop when no receive WQEs are posted");
163
164int mlx4_enable_64b_cqe_eqe = 1;
165module_param_named(enable_64b_cqe_eqe, mlx4_enable_64b_cqe_eqe, int, 0644);
166MODULE_PARM_DESC(enable_64b_cqe_eqe,
1/*
2 * Copyright (c) 2004, 2005 Topspin Communications. All rights reserved.
3 * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
4 * Copyright (c) 2005, 2006, 2007, 2008, 2014 Mellanox Technologies. All rights reserved.
5 * Copyright (c) 2006, 2007 Cisco Systems, Inc. All rights reserved.
6 *
7 * This software is available to you under a choice of one of two
8 * licenses. You may choose to be licensed under the terms of the GNU

--- 150 unchanged lines hidden (view full) ---

159static int fast_drop;
160module_param_named(fast_drop, fast_drop, int, 0444);
161MODULE_PARM_DESC(fast_drop,
162 "Enable fast packet drop when no receive WQEs are posted");
163
164int mlx4_enable_64b_cqe_eqe = 1;
165module_param_named(enable_64b_cqe_eqe, mlx4_enable_64b_cqe_eqe, int, 0644);
166MODULE_PARM_DESC(enable_64b_cqe_eqe,
167 "Enable 64 byte CQEs/EQEs when the the FW supports this if non-zero (default: 1)");
167 "Enable 64 byte CQEs/EQEs when the FW supports this if non-zero (default: 1)");
168
169#define HCA_GLOBAL_CAP_MASK 0
170
171#define PF_CONTEXT_BEHAVIOUR_MASK MLX4_FUNC_CAP_64B_EQE_CQE
172
173static char mlx4_version[] __devinitdata =
174 DRV_NAME ": Mellanox ConnectX VPI driver v"
175 DRV_VERSION " (" DRV_RELDATE ")\n";

--- 3706 unchanged lines hidden ---
168
169#define HCA_GLOBAL_CAP_MASK 0
170
171#define PF_CONTEXT_BEHAVIOUR_MASK MLX4_FUNC_CAP_64B_EQE_CQE
172
173static char mlx4_version[] __devinitdata =
174 DRV_NAME ": Mellanox ConnectX VPI driver v"
175 DRV_VERSION " (" DRV_RELDATE ")\n";

--- 3706 unchanged lines hidden ---