Lines Matching refs:decoded
281 struct ice_rx_ptype_decoded decoded; in ice_rx_checksum() local
289 decoded = ice_decode_rx_desc_ptype(ptype); in ice_rx_checksum()
292 if (!(decoded.known && decoded.outer_ip)) in ice_rx_checksum()
295 is_ipv4 = (decoded.outer_ip == ICE_RX_PTYPE_OUTER_IP) && in ice_rx_checksum()
296 (decoded.outer_ip_ver == ICE_RX_PTYPE_OUTER_IPV4); in ice_rx_checksum()
297 is_ipv6 = (decoded.outer_ip == ICE_RX_PTYPE_OUTER_IP) && in ice_rx_checksum()
298 (decoded.outer_ip_ver == ICE_RX_PTYPE_OUTER_IPV6); in ice_rx_checksum()
305 switch (decoded.inner_prot) { in ice_rx_checksum()
350 switch (decoded.inner_prot) { in ice_rx_checksum()
385 struct ice_rx_ptype_decoded decoded; in ice_ptype_to_hash() local
390 decoded = ice_decode_rx_desc_ptype(ptype); in ice_ptype_to_hash()
392 if (!decoded.known) in ice_ptype_to_hash()
395 if (decoded.outer_ip == ICE_RX_PTYPE_OUTER_L2) in ice_ptype_to_hash()
399 if (decoded.outer_ip_ver == ICE_RX_PTYPE_OUTER_IPV6) { in ice_ptype_to_hash()
400 switch (decoded.inner_prot) { in ice_ptype_to_hash()
409 if (decoded.outer_ip_ver == ICE_RX_PTYPE_OUTER_IPV4) { in ice_ptype_to_hash()
410 switch (decoded.inner_prot) { in ice_ptype_to_hash()