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: 1173fca25af9 ("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
..
2019-10-23 16:43:10 +02:00
2019-11-06 11:55:24 +01:00
2019-11-08 16:40:29 +01:00
2019-11-08 23:15:04 +01:00
2019-10-23 16:43:10 +02:00
2019-10-25 19:00:22 +02:00
2019-10-27 22:03:06 +01:00
2019-10-25 19:23:23 +02:00
2019-11-08 15:23:41 +01:00
2019-10-23 16:43:10 +02:00
2019-11-08 23:15:04 +01:00
2019-11-08 15:23:41 +01:00
2019-10-25 19:00:22 +02:00
2019-10-25 19:23:22 +02:00
2019-10-08 12:14:31 +02:00
2019-11-08 15:34:10 +01:00
2019-10-23 16:43:08 +02:00
2019-11-08 15:23:41 +01:00
2019-10-23 16:43:08 +02:00
2019-10-07 15:00:57 +02:00
2019-10-23 16:43:08 +02:00
2019-10-23 16:43:08 +02:00