Lines Matching refs:desc
20 static inline void cq_enet_wq_desc_dec(struct cq_enet_wq_desc *desc,
23 cq_desc_dec((struct cq_desc *)desc, type,
91 static inline void cq_enet_rq_desc_dec(struct cq_enet_rq_desc *desc,
104 cq_desc_dec((struct cq_desc *)desc, type,
107 completed_index_flags = le16_to_cpu(desc->completed_index_flags);
109 le16_to_cpu(desc->q_number_rss_type_flags);
110 bytes_written_flags = le16_to_cpu(desc->bytes_written_flags);
126 *rss_hash = le32_to_cpu(desc->rss_hash);
138 *vlan_tci = le16_to_cpu(desc->vlan);
141 *fcoe_sof = (u8)(le16_to_cpu(desc->checksum_fcoe) &
143 *fcoe_fc_crc_ok = (desc->flags &
145 *fcoe_enc_error = (desc->flags &
147 *fcoe_eof = (u8)((le16_to_cpu(desc->checksum_fcoe) >>
156 *checksum = le16_to_cpu(desc->checksum_fcoe);
160 (desc->flags & CQ_ENET_RQ_DESC_FLAGS_TCP_UDP_CSUM_OK) ? 1 : 0;
161 *udp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_UDP) ? 1 : 0;
162 *tcp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_TCP) ? 1 : 0;
164 (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4_CSUM_OK) ? 1 : 0;
165 *ipv6 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV6) ? 1 : 0;
166 *ipv4 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4) ? 1 : 0;
168 (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4_FRAGMENT) ? 1 : 0;
169 *fcs_ok = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_FCS_OK) ? 1 : 0;