1
1
/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
2
2
/*
3
- * Copyright 2018-2021 Amazon.com, Inc. or its affiliates. All rights reserved.
3
+ * Copyright 2018-2022 Amazon.com, Inc. or its affiliates. All rights reserved.
4
4
*/
5
5
6
6
#ifndef _EFA_IO_H_
@@ -219,9 +219,7 @@ struct efa_io_cdesc_common {
219
219
* 2:1 : q_type - enum efa_io_queue_type: send/recv
220
220
* 3 : has_imm - indicates that immediate data is
221
221
* present - for RX completions only
222
- * 4 : wide_completion - indicates that wide
223
- * completion format is used
224
- * 7:5 : reserved29
222
+ * 7:4 : reserved28 - MBZ
225
223
*/
226
224
uint8_t flags ;
227
225
@@ -253,33 +251,15 @@ struct efa_io_rx_cdesc {
253
251
};
254
252
255
253
/* Extended Rx Completion Descriptor */
256
- struct efa_io_rx_cdesc_wide {
254
+ struct efa_io_rx_cdesc_ex {
257
255
/* Base RX completion info */
258
256
struct efa_io_rx_cdesc rx_cdesc_base ;
259
257
260
258
/*
261
- * Word 0 of remote (source) address, needed only for in-band
262
- * ad-hoc AH support
259
+ * Valid only in case of unknown AH (0xFFFF) and CQ set_src_addr is
260
+ * enabled.
263
261
*/
264
- uint32_t src_addr_0 ;
265
-
266
- /*
267
- * Word 1 of remote (source) address, needed only for in-band
268
- * ad-hoc AH support
269
- */
270
- uint32_t src_addr_1 ;
271
-
272
- /*
273
- * Word 2 of remote (source) address, needed only for in-band
274
- * ad-hoc AH support
275
- */
276
- uint32_t src_addr_2 ;
277
-
278
- /*
279
- * Word 3 of remote (source) address, needed only for in-band
280
- * ad-hoc AH support
281
- */
282
- uint32_t src_addr_3 ;
262
+ uint8_t src_addr [16 ];
283
263
};
284
264
285
265
/* tx_meta_desc */
@@ -305,6 +285,5 @@ struct efa_io_rx_cdesc_wide {
305
285
#define EFA_IO_CDESC_COMMON_PHASE_MASK BIT(0)
306
286
#define EFA_IO_CDESC_COMMON_Q_TYPE_MASK GENMASK(2, 1)
307
287
#define EFA_IO_CDESC_COMMON_HAS_IMM_MASK BIT(3)
308
- #define EFA_IO_CDESC_COMMON_WIDE_COMPLETION_MASK BIT(4)
309
288
310
289
#endif /* _EFA_IO_H_ */
0 commit comments