Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / scsi / snic / cq_enet_desc.h
blobbd7381e525210c5b3cd9eefb8c494f42862e9bf3
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_
7 #include "cq_desc.h"
9 /* Ethernet completion queue descriptor: 16B */
10 struct cq_enet_wq_desc {
11 __le16 completed_index;
12 __le16 q_number;
13 u8 reserved[11];
14 u8 type_color;
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_ */