Lines Matching full:decoded
71 struct libeth_rx_pt decoded; in ice_rx_hash_to_skb() local
74 decoded = libie_rx_pt_parse(rx_ptype); in ice_rx_hash_to_skb()
75 if (!libeth_rx_pt_has_hash(rx_ring->netdev, decoded)) in ice_rx_hash_to_skb()
80 libeth_rx_pt_set_hash(skb, hash, decoded); in ice_rx_hash_to_skb()
105 * @ptype: the packet type decoded by hardware
113 struct libeth_rx_pt decoded; in ice_rx_csum() local
120 decoded = libie_rx_pt_parse(ptype); in ice_rx_csum()
121 if (!libeth_rx_pt_has_checksum(ring->netdev, decoded)) in ice_rx_csum()
129 (decoded.inner_prot == LIBETH_RX_PT_INNER_TCP || in ice_rx_csum()
130 decoded.inner_prot == LIBETH_RX_PT_INNER_UDP || in ice_rx_csum()
131 decoded.inner_prot == LIBETH_RX_PT_INNER_ICMP)) { in ice_rx_csum()
136 /* check if HW has decoded the packet and checksum */ in ice_rx_csum()
140 ipv4 = libeth_rx_pt_get_ip_ver(decoded) == LIBETH_RX_PT_OUTER_IPV4; in ice_rx_csum()
141 ipv6 = libeth_rx_pt_get_ip_ver(decoded) == LIBETH_RX_PT_OUTER_IPV6; in ice_rx_csum()
169 if (decoded.tunnel_type >= LIBETH_RX_PT_TUNNEL_IP_GRENAT) in ice_rx_csum()