mlx5-abi.h (ccc8708790273811db24676223b040710793cba7) mlx5-abi.h (de57f2ad06d5bf01015b955600cbfc77059b2b6e)
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:

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

198
199 /* Corresponding bit will be set if qp type from
200 * 'enum ib_qp_type' is supported, e.g.
201 * supported_qpts |= 1 << IB_QPT_RAW_PACKET
202 */
203 __u32 supported_qpts;
204};
205
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:

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

198
199 /* Corresponding bit will be set if qp type from
200 * 'enum ib_qp_type' is supported, e.g.
201 * supported_qpts |= 1 << IB_QPT_RAW_PACKET
202 */
203 __u32 supported_qpts;
204};
205
206enum mlx5_ib_query_dev_resp_flags {
207 /* Support 128B CQE compression */
208 MLX5_IB_QUERY_DEV_RESP_FLAGS_CQE_128B_COMP = 1 << 0,
209};
210
206struct mlx5_ib_query_device_resp {
207 __u32 comp_mask;
208 __u32 response_length;
209 struct mlx5_ib_tso_caps tso_caps;
210 struct mlx5_ib_rss_caps rss_caps;
211 struct mlx5_ib_cqe_comp_caps cqe_comp_caps;
212 struct mlx5_packet_pacing_caps packet_pacing_caps;
213 __u32 mlx5_ib_support_multi_pkt_send_wqes;
211struct mlx5_ib_query_device_resp {
212 __u32 comp_mask;
213 __u32 response_length;
214 struct mlx5_ib_tso_caps tso_caps;
215 struct mlx5_ib_rss_caps rss_caps;
216 struct mlx5_ib_cqe_comp_caps cqe_comp_caps;
217 struct mlx5_packet_pacing_caps packet_pacing_caps;
218 __u32 mlx5_ib_support_multi_pkt_send_wqes;
214 __u32 reserved;
219 __u32 flags; /* Use enum mlx5_ib_query_dev_resp_flags */
215 struct mlx5_ib_sw_parsing_caps sw_parsing_caps;
216 struct mlx5_ib_striding_rq_caps striding_rq_caps;
217};
218
219struct mlx5_ib_create_cq {
220 __u64 buf_addr;
221 __u64 db_addr;
222 __u32 cqe_size;

--- 126 unchanged lines hidden ---
220 struct mlx5_ib_sw_parsing_caps sw_parsing_caps;
221 struct mlx5_ib_striding_rq_caps striding_rq_caps;
222};
223
224struct mlx5_ib_create_cq {
225 __u64 buf_addr;
226 __u64 db_addr;
227 __u32 cqe_size;

--- 126 unchanged lines hidden ---