2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-22 01:51:26 +00:00
David Marchand 2956a61265 dp-packet: Rework L4 checksum offloads.
The DPDK mbuf API specifies 4 status when it comes to L4 checksums:
- RTE_MBUF_F_RX_L4_CKSUM_UNKNOWN: no information about the RX L4 checksum
- RTE_MBUF_F_RX_L4_CKSUM_BAD: the L4 checksum in the packet is wrong
- RTE_MBUF_F_RX_L4_CKSUM_GOOD: the L4 checksum in the packet is valid
- RTE_MBUF_F_RX_L4_CKSUM_NONE: the L4 checksum is not correct in the packet
  data, but the integrity of the L4 data is verified.

Similarly to the IP checksum offloads API, revise OVS L4 offloads API.

No information about the L4 protocol is provided by any netdev-*
implementation, so OVS needs to mark this L4 protocol during flow
extraction.

Rename current API for consistency with dp_packet_(inner_)?l4_checksum_.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
2025-06-19 21:02:56 +02:00
..
2024-03-08 20:18:05 +01:00
2025-04-25 21:29:10 +02:00
2025-04-25 21:29:10 +02:00
2022-10-18 12:20:55 +02:00
2022-03-30 16:59:02 +02:00
2017-12-01 13:22:18 -08:00
2025-06-19 21:02:56 +02:00
2025-06-19 21:00:54 +02:00
2025-04-17 16:51:46 -04:00
2022-11-30 13:31:11 +01:00
2020-03-24 07:36:14 -07:00
2025-01-17 00:20:48 +01:00
2020-03-25 20:26:51 -07:00
2022-11-30 13:28:37 +01:00
2022-08-15 19:43:57 +02:00
2022-08-15 19:43:57 +02:00
2024-02-21 20:45:23 +01:00
2018-05-25 13:36:05 -07:00
2024-02-15 22:24:43 +01:00
2017-08-03 14:48:33 -07:00
2024-05-17 13:25:25 +02:00
2018-02-01 13:03:44 -08:00
2025-05-30 10:29:58 +02:00
2022-09-27 01:17:56 +02:00
2022-09-27 01:17:56 +02:00