1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright 2014 Cisco Systems, Inc. All rights reserved. */
4 #ifndef _CQ_ENET_DESC_H_
5 #define _CQ_ENET_DESC_H_
9 /* Ethernet completion queue descriptor: 16B */
10 struct cq_enet_wq_desc
{
11 __le16 completed_index
;
17 static inline void cq_enet_wq_desc_dec(struct cq_enet_wq_desc
*desc
,
18 u8
*type
, u8
*color
, u16
*q_number
, u16
*completed_index
)
20 cq_desc_dec((struct cq_desc
*)desc
, type
,
21 color
, q_number
, completed_index
);
24 #endif /* _CQ_ENET_DESC_H_ */