diff options
author | Gabriel Oginski <gabrielx.oginski@intel.com> | 2021-10-08 09:09:45 +0100 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2021-11-03 16:04:00 +0000 |
commit | 4739c8833e2e8013417ef0e52610d8b310e97a93 (patch) | |
tree | dbcc0c49dbeacad72005ef58c22d0e4ab13c2250 /src/vlib | |
parent | 505fd37b31aa5a7d242184ebe281dbd4622ad277 (diff) |
wireguard: reduce memcopy and prefetch header
Originally wireguard implementation does memory copy of the whole
packet in encryption and decryption.
This patch removes unnecessary packet copy in wireguard. In addition,
it contains some performance improvement such as prefetching header
and deleting unnecessary lock and unlock for decryption.
Type: improvement
Signed-off-by: Gabriel Oginski <gabrielx.oginski@intel.com>
Change-Id: I1fe8e54d749e6922465341083b448c842e2b670f
Diffstat (limited to 'src/vlib')
0 files changed, 0 insertions, 0 deletions