]> git.baikalelectronics.ru Git - kernel.git/commit
net/tls: add statistics for installed sessions
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 4 Oct 2019 23:19:25 +0000 (16:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Oct 2019 23:29:00 +0000 (16:29 -0700)
commit561070fdd3c68e6ce0d32ec9ac6e18ab0c83c1a5
treeb84ba9030fd5b6d2db283229943fb583797ce9d0
parent26413614c5b2ac659940233857deb257e0a525db
net/tls: add statistics for installed sessions

Add SNMP stats for number of sockets with successfully
installed sessions.  Break them down to software and
hardware ones.  Note that if hardware offload fails
stack uses software implementation, and counts the
session appropriately.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/tls.rst
include/uapi/linux/snmp.h
net/tls/tls_main.c
net/tls/tls_proc.c