numam-dpdk/drivers/net/ena
Igor Chauskin 05817057fa net/ena: fix indication of bad L4 Rx checksums
Add checking of l4_csum_checked and frag flags before checking the
l4_csum_error flag.

In case of IP fragment/unchecked L4 csum - add PKT_RX_L4_CKSUM_UNKNOWN
flag to the indicated mbuf.

Fixes: 1173fca25a ("ena: add polling-mode driver")
Cc: stable@dpdk.org

Signed-off-by: Igor Chauskin <igorch@amazon.com>
Reviewed-by: Maciej Bielski <mba@semihalf.com>
Reviewed-by: Michal Krawczyk <mk@semihalf.com>
2019-11-08 23:15:04 +01:00
..
base net/ena: change license clause to SPDX tags 2019-10-07 15:00:56 +02:00
ena_ethdev.c net/ena: fix indication of bad L4 Rx checksums 2019-11-08 23:15:04 +01:00
ena_ethdev.h net/ena: change license clause to SPDX tags 2019-10-07 15:00:56 +02:00
ena_logs.h net/ena: change license clause to SPDX tags 2019-10-07 15:00:56 +02:00
ena_platform.h net/ena: change license clause to SPDX tags 2019-10-07 15:00:56 +02:00
Makefile net/ena: change license clause to SPDX tags 2019-10-07 15:00:56 +02:00
meson.build net/ena: add to meson build 2018-06-14 19:27:50 +02:00
rte_pmd_ena_version.map ena: add polling-mode driver 2016-03-25 18:56:43 +01:00