|
@@ -831,13 +831,6 @@ static inline void i40e_rx_checksum(struct i40e_vsi *vsi,
|
|
|
if (rx_error & BIT(I40E_RX_DESC_ERROR_PPRS_SHIFT))
|
|
|
return;
|
|
|
|
|
|
- /* If there is an outer header present that might contain a checksum
|
|
|
- * we need to bump the checksum level by 1 to reflect the fact that
|
|
|
- * we are indicating we validated the inner checksum.
|
|
|
- */
|
|
|
- if (decoded.tunnel_type >= I40E_RX_PTYPE_TUNNEL_IP_GRENAT)
|
|
|
- skb->csum_level = 1;
|
|
|
-
|
|
|
/* Only report checksum unnecessary for TCP, UDP, or SCTP */
|
|
|
switch (decoded.inner_prot) {
|
|
|
case I40E_RX_PTYPE_INNER_PROT_TCP:
|