Matthew Smith | a5fb2cf | 2017-12-18 14:19:07 -0600 | [diff] [blame] | 1 | diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c |
| 2 | index 22db895..6f982f6 100644 |
| 3 | --- a/drivers/net/ena/ena_ethdev.c |
| 4 | +++ b/drivers/net/ena/ena_ethdev.c |
| 5 | @@ -261,16 +261,6 @@ static inline void ena_rx_mbuf_prepare(struct rte_mbuf *mbuf, |
| 6 | { |
| 7 | uint64_t ol_flags = 0; |
| 8 | |
| 9 | - if (ena_rx_ctx->l4_proto == ENA_ETH_IO_L4_PROTO_TCP) |
| 10 | - ol_flags |= PKT_TX_TCP_CKSUM; |
| 11 | - else if (ena_rx_ctx->l4_proto == ENA_ETH_IO_L4_PROTO_UDP) |
| 12 | - ol_flags |= PKT_TX_UDP_CKSUM; |
| 13 | - |
| 14 | - if (ena_rx_ctx->l3_proto == ENA_ETH_IO_L3_PROTO_IPV4) |
| 15 | - ol_flags |= PKT_TX_IPV4; |
| 16 | - else if (ena_rx_ctx->l3_proto == ENA_ETH_IO_L3_PROTO_IPV6) |
| 17 | - ol_flags |= PKT_TX_IPV6; |
| 18 | - |
| 19 | if (unlikely(ena_rx_ctx->l4_csum_err)) |
| 20 | ol_flags |= PKT_RX_L4_CKSUM_BAD; |
| 21 | if (unlikely(ena_rx_ctx->l3_csum_err)) |