Lines Matching full:decoded
51 struct ice_rx_ptype_decoded decoded = ice_decode_rx_desc_ptype(ptype); in ice_ptype_to_htype() local
53 if (!decoded.known) in ice_ptype_to_htype()
55 if (decoded.payload_layer == ICE_RX_PTYPE_PAYLOAD_LAYER_PAY4) in ice_ptype_to_htype()
57 if (decoded.payload_layer == ICE_RX_PTYPE_PAYLOAD_LAYER_PAY3) in ice_ptype_to_htype()
59 if (decoded.outer_ip == ICE_RX_PTYPE_OUTER_L2) in ice_ptype_to_htype()
109 * @ptype: the packet type decoded by hardware
117 struct ice_rx_ptype_decoded decoded; in ice_rx_csum() local
124 decoded = ice_decode_rx_desc_ptype(ptype); in ice_rx_csum()
134 /* check if HW has decoded the packet and checksum */ in ice_rx_csum()
138 if (!(decoded.known && decoded.outer_ip)) in ice_rx_csum()
141 ipv4 = (decoded.outer_ip == ICE_RX_PTYPE_OUTER_IP) && in ice_rx_csum()
142 (decoded.outer_ip_ver == ICE_RX_PTYPE_OUTER_IPV4); in ice_rx_csum()
143 ipv6 = (decoded.outer_ip == ICE_RX_PTYPE_OUTER_IP) && in ice_rx_csum()
144 (decoded.outer_ip_ver == ICE_RX_PTYPE_OUTER_IPV6); in ice_rx_csum()
168 if (decoded.tunnel_type >= ICE_RX_PTYPE_TUNNEL_IP_GRENAT) in ice_rx_csum()
172 switch (decoded.inner_prot) { in ice_rx_csum()