mbox series

[net-next,0/2] net/tls: some optimizations for tls

Message ID cover.1647572976.git.william.xuanziyang@huawei.com (mailing list archive)
Headers show
Series net/tls: some optimizations for tls | expand

Message

Ziyang Xuan (William) March 18, 2022, 3:16 a.m. UTC
Do some small optimizations for tls, including jump instructions
optimization, and judgement processes optimization.

Ziyang Xuan (2):
  net/tls: remove unnecessary jump instructions in
    do_tls_setsockopt_conf()
  net/tls: optimize judgement processes in tls_set_device_offload()

 net/tls/tls_device.c | 63 ++++++++++++++++++++++----------------------
 net/tls/tls_main.c   | 15 ++++-------
 2 files changed, 37 insertions(+), 41 deletions(-)