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