commit | 9cd81988cce195598e04fd8290fea873052bb7bd | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Mon Jun 03 15:17:03 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 04 14:33:50 2019 -0700 |
tree | 9073abec02e7dc2fbe9b50526572751f1545d99f | |
parent | 1fe275d434ad4ff2d576f9a770eb4c192153ea1d [diff] |
net/tls: use version from prot ctx->prot holds the same information as per-direction contexts. Almost all code gets TLS version from this structure, convert the last two stragglers, this way we can improve the cache utilization by moving the per-direction data into cold cache lines. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>