diff options
author | Matias Elo <matias.elo@nokia.com> | 2018-04-25 10:26:14 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2018-04-26 10:05:19 +0300 |
commit | 0eaa26a5ea7391d79617f1a5933ccaaedf03257d (patch) | |
tree | 281aa6b845a84ab241bf65f4fe54ebbfef7b11b7 /platform/linux-dpdk/include/odp_packet_internal.h | |
parent | 272b58540d8df75aef589ff73f82d6d1ddaffd52 (diff) |
Port 2c99a9d "linux-gen: packet: IPv4 checksum insertion"
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'platform/linux-dpdk/include/odp_packet_internal.h')
-rw-r--r-- | platform/linux-dpdk/include/odp_packet_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/linux-dpdk/include/odp_packet_internal.h b/platform/linux-dpdk/include/odp_packet_internal.h index 20ce64119..5e2569754 100644 --- a/platform/linux-dpdk/include/odp_packet_internal.h +++ b/platform/linux-dpdk/include/odp_packet_internal.h @@ -261,6 +261,8 @@ int _odp_packet_set_data(odp_packet_t pkt, uint32_t offset, int _odp_packet_cmp_data(odp_packet_t pkt, uint32_t offset, const void *s, uint32_t len); +int _odp_packet_ipv4_chksum_insert(odp_packet_t pkt); + /* We can't enforce tailroom reservation for received packets */ ODP_STATIC_ASSERT(CONFIG_PACKET_TAILROOM == 0, "ERROR: Tailroom has to be 0, DPDK doesn't support this"); |