diff options
Diffstat (limited to 'dpdk')
-rw-r--r-- | dpdk/dpdk-17.11_patches/0001-ena-pmd-no-tx-flags.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dpdk/dpdk-17.11_patches/0001-ena-pmd-no-tx-flags.patch b/dpdk/dpdk-17.11_patches/0001-ena-pmd-no-tx-flags.patch new file mode 100644 index 00000000000..97dbadd1aa8 --- /dev/null +++ b/dpdk/dpdk-17.11_patches/0001-ena-pmd-no-tx-flags.patch @@ -0,0 +1,21 @@ +diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c +index 22db895..6f982f6 100644 +--- a/drivers/net/ena/ena_ethdev.c ++++ b/drivers/net/ena/ena_ethdev.c +@@ -261,16 +261,6 @@ static inline void ena_rx_mbuf_prepare(struct rte_mbuf *mbuf, + { + uint64_t ol_flags = 0; + +- if (ena_rx_ctx->l4_proto == ENA_ETH_IO_L4_PROTO_TCP) +- ol_flags |= PKT_TX_TCP_CKSUM; +- else if (ena_rx_ctx->l4_proto == ENA_ETH_IO_L4_PROTO_UDP) +- ol_flags |= PKT_TX_UDP_CKSUM; +- +- if (ena_rx_ctx->l3_proto == ENA_ETH_IO_L3_PROTO_IPV4) +- ol_flags |= PKT_TX_IPV4; +- else if (ena_rx_ctx->l3_proto == ENA_ETH_IO_L3_PROTO_IPV6) +- ol_flags |= PKT_TX_IPV6; +- + if (unlikely(ena_rx_ctx->l4_csum_err)) + ol_flags |= PKT_RX_L4_CKSUM_BAD; + if (unlikely(ena_rx_ctx->l3_csum_err)) |