cq.c (7ae9fb1b7ecbb5d85d07857943f677fd1a559b18) | cq.c (f14c1a14e63227a65faa68237687784a6dd2e922) |
---|---|
1/* 2 * Copyright (c) 2013-2015, 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: --- 979 unchanged lines hidden (view full) --- 988 err = create_cq_kernel(dev, cq, entries, cqe_size, &cqb, 989 &index, &inlen); 990 if (err) 991 return err; 992 993 INIT_WORK(&cq->notify_work, notify_soft_wc_handler); 994 } 995 | 1/* 2 * Copyright (c) 2013-2015, 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: --- 979 unchanged lines hidden (view full) --- 988 err = create_cq_kernel(dev, cq, entries, cqe_size, &cqb, 989 &index, &inlen); 990 if (err) 991 return err; 992 993 INIT_WORK(&cq->notify_work, notify_soft_wc_handler); 994 } 995 |
996 err = mlx5_vector2eqn(dev->mdev, vector, &eqn); | 996 err = mlx5_comp_eqn_get(dev->mdev, vector, &eqn); |
997 if (err) 998 goto err_cqb; 999 1000 cq->cqe_size = cqe_size; 1001 1002 cqc = MLX5_ADDR_OF(create_cq_in, cqb, cq_context); 1003 MLX5_SET(cqc, cqc, cqe_sz, 1004 cqe_sz_to_mlx_sz(cqe_size, --- 440 unchanged lines hidden --- | 997 if (err) 998 goto err_cqb; 999 1000 cq->cqe_size = cqe_size; 1001 1002 cqc = MLX5_ADDR_OF(create_cq_in, cqb, cq_context); 1003 MLX5_SET(cqc, cqc, cqe_sz, 1004 cqe_sz_to_mlx_sz(cqe_size, --- 440 unchanged lines hidden --- |