diff options
author | Laurent Vivier <lvivier@redhat.com> | 2024-03-06 16:58:31 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-03-06 08:03:32 +0100 |
commit | 907621eaae579cc7f2fe5a2fd238aa640e2e29da (patch) | |
tree | fc4e8ff24edf6984d526c46ef38bfc0c51d31a9d /udp.c | |
parent | 94502fa15e0b7386318e4a7dad78ea05462010d0 (diff) | |
download | passt-907621eaae579cc7f2fe5a2fd238aa640e2e29da.tar passt-907621eaae579cc7f2fe5a2fd238aa640e2e29da.tar.gz passt-907621eaae579cc7f2fe5a2fd238aa640e2e29da.tar.bz2 passt-907621eaae579cc7f2fe5a2fd238aa640e2e29da.tar.lz passt-907621eaae579cc7f2fe5a2fd238aa640e2e29da.tar.xz passt-907621eaae579cc7f2fe5a2fd238aa640e2e29da.tar.zst passt-907621eaae579cc7f2fe5a2fd238aa640e2e29da.zip |
checksum: align buffers
If buffer is not aligned use sum_16b() only on the not aligned
part, and then use csum_avx2() on the remaining part
Remove unneeded now function csum_unaligned().
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-ID: <20240303135114.1023026-3-lvivier@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'udp.c')
0 files changed, 0 insertions, 0 deletions