mbox series

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

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

Message

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

---
v1-v2:
  - Delete a new line before "return rc;" in patch 2.

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 | 62 ++++++++++++++++++++++----------------------
 net/tls/tls_main.c   | 15 ++++-------
 2 files changed, 36 insertions(+), 41 deletions(-)

Comments

Jakub Kicinski March 19, 2022, 4:43 a.m. UTC | #1
On Sat, 19 Mar 2022 11:13:34 +0800 Ziyang Xuan wrote:
> Do some small optimizations for tls, including jump instructions
> optimization, and judgement processes optimization.

Acked-by: Jakub Kicinski <kuba@kernel.org>
patchwork-bot+netdevbpf@kernel.org March 21, 2022, 11 p.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Sat, 19 Mar 2022 11:13:34 +0800 you wrote:
> Do some small optimizations for tls, including jump instructions
> optimization, and judgement processes optimization.
> 
> ---
> v1-v2:
>   - Delete a new line before "return rc;" in patch 2.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/2] net/tls: remove unnecessary jump instructions in do_tls_setsockopt_conf()
    https://git.kernel.org/netdev/net-next/c/1ddcbfbf9dc9
  - [net-next,v2,2/2] net/tls: optimize judgement processes in tls_set_device_offload()
    https://git.kernel.org/netdev/net-next/c/b1a6f56b6506

You are awesome, thank you!