Lines Matching full:rx_desc

446 				   union ixgbe_adv_rx_desc *rx_desc,  in ixgbevf_rx_hash()  argument
454 rss_type = le16_to_cpu(rx_desc->wb.lower.lo_dword.hs_rss.pkt_info) & in ixgbevf_rx_hash()
460 skb_set_hash(skb, le32_to_cpu(rx_desc->wb.lower.hi_dword.rss), in ixgbevf_rx_hash()
468 * @rx_desc: current Rx descriptor being processed
472 union ixgbe_adv_rx_desc *rx_desc, in ixgbevf_rx_checksum() argument
482 if (ixgbevf_test_staterr(rx_desc, IXGBE_RXD_STAT_IPCS) && in ixgbevf_rx_checksum()
483 ixgbevf_test_staterr(rx_desc, IXGBE_RXDADV_ERR_IPE)) { in ixgbevf_rx_checksum()
488 if (!ixgbevf_test_staterr(rx_desc, IXGBE_RXD_STAT_L4CS)) in ixgbevf_rx_checksum()
491 if (ixgbevf_test_staterr(rx_desc, IXGBE_RXDADV_ERR_TCPE)) { in ixgbevf_rx_checksum()
503 * @rx_desc: pointer to the EOP Rx descriptor
511 union ixgbe_adv_rx_desc *rx_desc, in ixgbevf_process_skb_fields() argument
514 ixgbevf_rx_hash(rx_ring, rx_desc, skb); in ixgbevf_process_skb_fields()
515 ixgbevf_rx_checksum(rx_ring, rx_desc, skb); in ixgbevf_process_skb_fields()
517 if (ixgbevf_test_staterr(rx_desc, IXGBE_RXD_STAT_VP)) { in ixgbevf_process_skb_fields()
518 u16 vid = le16_to_cpu(rx_desc->wb.upper.vlan); in ixgbevf_process_skb_fields()
525 if (ixgbevf_test_staterr(rx_desc, IXGBE_RXDADV_STAT_SECP)) in ixgbevf_process_skb_fields()
526 ixgbevf_ipsec_rx(rx_ring, rx_desc, skb); in ixgbevf_process_skb_fields()
579 * @rx_desc: Rx descriptor for current buffer
587 union ixgbe_adv_rx_desc *rx_desc) in ixgbevf_is_non_eop() argument
597 if (likely(ixgbevf_test_staterr(rx_desc, IXGBE_RXD_STAT_EOP))) in ixgbevf_is_non_eop()
657 union ixgbe_adv_rx_desc *rx_desc; in ixgbevf_alloc_rx_buffers() local
665 rx_desc = IXGBEVF_RX_DESC(rx_ring, i); in ixgbevf_alloc_rx_buffers()
682 rx_desc->read.pkt_addr = cpu_to_le64(bi->dma + bi->page_offset); in ixgbevf_alloc_rx_buffers()
684 rx_desc++; in ixgbevf_alloc_rx_buffers()
688 rx_desc = IXGBEVF_RX_DESC(rx_ring, 0); in ixgbevf_alloc_rx_buffers()
694 rx_desc->wb.upper.length = 0; in ixgbevf_alloc_rx_buffers()
721 * @rx_desc: pointer to the EOP Rx descriptor
737 union ixgbe_adv_rx_desc *rx_desc, in ixgbevf_cleanup_headers() argument
741 if (unlikely(ixgbevf_test_staterr(rx_desc, in ixgbevf_cleanup_headers()
852 union ixgbe_adv_rx_desc *rx_desc) in ixgbevf_construct_skb() argument
927 union ixgbe_adv_rx_desc *rx_desc) in ixgbevf_build_skb() argument
1136 union ixgbe_adv_rx_desc *rx_desc; in ixgbevf_clean_rx_irq() local
1145 rx_desc = IXGBEVF_RX_DESC(rx_ring, rx_ring->next_to_clean); in ixgbevf_clean_rx_irq()
1146 size = le16_to_cpu(rx_desc->wb.upper.length); in ixgbevf_clean_rx_irq()
1151 * any other fields out of the rx_desc until we know the in ixgbevf_clean_rx_irq()
1187 &xdp, rx_desc); in ixgbevf_clean_rx_irq()
1190 &xdp, rx_desc); in ixgbevf_clean_rx_irq()
1204 if (ixgbevf_is_non_eop(rx_ring, rx_desc)) in ixgbevf_clean_rx_irq()
1208 if (xdp_res || ixgbevf_cleanup_headers(rx_ring, rx_desc, skb)) { in ixgbevf_clean_rx_irq()
1228 ixgbevf_process_skb_fields(rx_ring, rx_desc, skb); in ixgbevf_clean_rx_irq()
1910 union ixgbe_adv_rx_desc *rx_desc; in ixgbevf_configure_rx_ring() local
1944 rx_desc = IXGBEVF_RX_DESC(ring, 0); in ixgbevf_configure_rx_ring()
1945 rx_desc->wb.upper.length = 0; in ixgbevf_configure_rx_ring()