Lines Matching defs:desc
33 static inline void cq_enet_wq_desc_dec(struct cq_enet_wq_desc *desc,
36 cq_desc_dec((struct cq_desc *)desc, type,
104 static inline void cq_enet_rq_desc_dec(struct cq_enet_rq_desc *desc,
117 cq_desc_dec((struct cq_desc *)desc, type,
120 completed_index_flags = le16_to_cpu(desc->completed_index_flags);
122 le16_to_cpu(desc->q_number_rss_type_flags);
123 bytes_written_flags = le16_to_cpu(desc->bytes_written_flags);
139 *rss_hash = le32_to_cpu(desc->rss_hash);
151 *vlan_tci = le16_to_cpu(desc->vlan);
154 *fcoe_sof = (u8)(le16_to_cpu(desc->checksum_fcoe) &
156 *fcoe_fc_crc_ok = (desc->flags &
158 *fcoe_enc_error = (desc->flags &
160 *fcoe_eof = (u8)((desc->checksum_fcoe >>
169 *checksum = le16_to_cpu(desc->checksum_fcoe);
173 (desc->flags & CQ_ENET_RQ_DESC_FLAGS_TCP_UDP_CSUM_OK) ? 1 : 0;
174 *udp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_UDP) ? 1 : 0;
175 *tcp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_TCP) ? 1 : 0;
177 (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4_CSUM_OK) ? 1 : 0;
178 *ipv6 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV6) ? 1 : 0;
179 *ipv4 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4) ? 1 : 0;
181 (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4_FRAGMENT) ? 1 : 0;
182 *fcs_ok = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_FCS_OK) ? 1 : 0;