Lines Matching refs:desc
19 static inline void cq_enet_wq_desc_dec(struct cq_enet_wq_desc *desc, in cq_enet_wq_desc_dec() argument
22 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_wq_desc_dec()
81 static inline void cq_enet_rq_desc_dec(struct cq_enet_rq_desc *desc, in cq_enet_rq_desc_dec() argument
90 u16 completed_index_flags = le16_to_cpu(desc->completed_index_flags); in cq_enet_rq_desc_dec()
92 le16_to_cpu(desc->q_number_rss_type_flags); in cq_enet_rq_desc_dec()
93 u16 bytes_written_flags = le16_to_cpu(desc->bytes_written_flags); in cq_enet_rq_desc_dec()
95 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_rq_desc_dec()
112 *rss_hash = le32_to_cpu(desc->rss_hash); in cq_enet_rq_desc_dec()
121 *vlan = le16_to_cpu(desc->vlan); in cq_enet_rq_desc_dec()
124 *fcoe_sof = (u8)(le16_to_cpu(desc->checksum_fcoe) & in cq_enet_rq_desc_dec()
126 *fcoe_fc_crc_ok = (desc->flags & in cq_enet_rq_desc_dec()
128 *fcoe_enc_error = (desc->flags & in cq_enet_rq_desc_dec()
130 *fcoe_eof = (u8)((desc->checksum_fcoe >> in cq_enet_rq_desc_dec()
139 *checksum = le16_to_cpu(desc->checksum_fcoe); in cq_enet_rq_desc_dec()
143 (desc->flags & CQ_ENET_RQ_DESC_FLAGS_TCP_UDP_CSUM_OK) ? 1 : 0; in cq_enet_rq_desc_dec()
144 *udp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_UDP) ? 1 : 0; in cq_enet_rq_desc_dec()
145 *tcp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_TCP) ? 1 : 0; in cq_enet_rq_desc_dec()
147 (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4_CSUM_OK) ? 1 : 0; in cq_enet_rq_desc_dec()
148 *ipv6 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV6) ? 1 : 0; in cq_enet_rq_desc_dec()
149 *ipv4 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4) ? 1 : 0; in cq_enet_rq_desc_dec()
151 (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4_FRAGMENT) ? 1 : 0; in cq_enet_rq_desc_dec()
152 *fcs_ok = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_FCS_OK) ? 1 : 0; in cq_enet_rq_desc_dec()