Lines Matching full:rx_desc
848 union iavf_rx_desc *rx_desc; in iavf_alloc_rx_buffers() local
854 rx_desc = IAVF_RX_DESC(rx_ring, ntu); in iavf_alloc_rx_buffers()
866 rx_desc->read.pkt_addr = cpu_to_le64(addr); in iavf_alloc_rx_buffers()
868 rx_desc++; in iavf_alloc_rx_buffers()
871 rx_desc = IAVF_RX_DESC(rx_ring, 0); in iavf_alloc_rx_buffers()
876 rx_desc->wb.qword1.status_error_len = 0; in iavf_alloc_rx_buffers()
902 * @rx_desc: the receive descriptor
906 union iavf_rx_desc *rx_desc) in iavf_rx_checksum() argument
916 qword = le64_to_cpu(rx_desc->wb.qword1.status_error_len); in iavf_rx_checksum()
965 * @rx_desc: specific descriptor
970 union iavf_rx_desc *rx_desc, in iavf_rx_hash() argument
984 if ((rx_desc->wb.qword1.status_error_len & rss_mask) == rss_mask) { in iavf_rx_hash()
985 hash = le32_to_cpu(rx_desc->wb.qword0.hi_dword.rss); in iavf_rx_hash()
993 * @rx_desc: pointer to the EOP Rx descriptor
1003 union iavf_rx_desc *rx_desc, struct sk_buff *skb, in iavf_process_skb_fields() argument
1006 iavf_rx_hash(rx_ring, rx_desc, skb, rx_ptype); in iavf_process_skb_fields()
1008 iavf_rx_checksum(rx_ring->vsi, skb, rx_desc); in iavf_process_skb_fields()
1042 * @size: packet length from rx_desc
1095 * @rx_desc: Rx descriptor for current buffer
1104 union iavf_rx_desc *rx_desc, in iavf_is_non_eop() argument
1117 if (likely(iavf_test_staterr(rx_desc, IAVF_RXD_EOF))) in iavf_is_non_eop()
1146 union iavf_rx_desc *rx_desc; in iavf_clean_rx_irq() local
1159 rx_desc = IAVF_RX_DESC(rx_ring, rx_ring->next_to_clean); in iavf_clean_rx_irq()
1166 qword = le64_to_cpu(rx_desc->wb.qword1.status_error_len); in iavf_clean_rx_irq()
1169 * any other fields out of the rx_desc until we have in iavf_clean_rx_irq()
1174 if (!iavf_test_staterr(rx_desc, IAVF_RXD_DD)) in iavf_clean_rx_irq()
1179 iavf_trace(clean_rx_irq, rx_ring, rx_desc, skb); in iavf_clean_rx_irq()
1200 if (iavf_is_non_eop(rx_ring, rx_desc, skb) || unlikely(!skb)) in iavf_clean_rx_irq()
1208 if (unlikely(iavf_test_staterr(rx_desc, BIT(IAVF_RXD_QW1_ERROR_SHIFT)))) { in iavf_clean_rx_irq()
1222 qword = le64_to_cpu(rx_desc->wb.qword1.status_error_len); in iavf_clean_rx_irq()
1226 iavf_process_skb_fields(rx_ring, rx_desc, skb, rx_ptype); in iavf_clean_rx_irq()
1230 vlan_tag = le16_to_cpu(rx_desc->wb.qword0.lo_dword.l2tag1); in iavf_clean_rx_irq()
1231 if (rx_desc->wb.qword2.ext_status & in iavf_clean_rx_irq()
1234 vlan_tag = le16_to_cpu(rx_desc->wb.qword2.l2tag2_2); in iavf_clean_rx_irq()
1236 iavf_trace(clean_rx_irq_rx, rx_ring, rx_desc, skb); in iavf_clean_rx_irq()