Lines Matching refs:rx_desc
44 * @rx_desc: specific descriptor
48 static u32 ice_get_rx_hash(const union ice_32b_rx_flex_desc *rx_desc)
52 if (unlikely(rx_desc->wb.rxdid != ICE_RXDID_FLEX_NIC))
55 nic_mdid = (struct ice_32b_rx_flex_desc_nic *)rx_desc;
62 * @rx_desc: specific descriptor
68 const union ice_32b_rx_flex_desc *rx_desc,
78 hash = ice_get_rx_hash(rx_desc);
87 * @rx_desc: the receive descriptor
94 union ice_32b_rx_flex_desc *rx_desc, u16 ptype)
107 rx_status0 = le16_to_cpu(rx_desc->wb.status_error0);
108 rx_status1 = le16_to_cpu(rx_desc->wb.status_error1);
156 * @rx_desc: Receive descriptor
163 const union ice_32b_rx_flex_desc *rx_desc,
166 u64 ts_ns = ice_ptp_get_rx_hwts(rx_desc, &rx_ring->pkt_ctx);
173 * @rx_desc: RX descriptor
175 static u16 ice_get_ptype(const union ice_32b_rx_flex_desc *rx_desc)
177 return le16_to_cpu(rx_desc->wb.ptype_flex_flags0) &
184 * @rx_desc: pointer to the EOP Rx descriptor
193 union ice_32b_rx_flex_desc *rx_desc,
196 u16 ptype = ice_get_ptype(rx_desc);
198 ice_rx_hash_to_skb(rx_ring, rx_desc, skb, ptype);
203 rx_desc);
212 ice_rx_csum(rx_ring, skb, rx_desc, ptype);
215 ice_ptp_rx_hwts_to_skb(rx_ring, rx_desc, skb);