summaryrefslogtreecommitdiffstats
path: root/net/tls/tls_proc.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-10-05 01:19:27 +0200
committerDavid S. Miller <davem@davemloft.net>2019-10-06 01:29:00 +0200
commita4d26fdbc2a5414bb1b67198656cc7e24a4a3c3a (patch)
tree27aff1b1be15148421eba9b38f1f2efee5dc5dd4 /net/tls/tls_proc.c
parentnet/tls: add TlsDecryptError stat (diff)
downloadlinux-a4d26fdbc2a5414bb1b67198656cc7e24a4a3c3a.tar.xz
linux-a4d26fdbc2a5414bb1b67198656cc7e24a4a3c3a.zip
net/tls: add TlsDeviceRxResync statistic
Add a statistic for number of RX resyncs sent down to the NIC. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls/tls_proc.c')
-rw-r--r--net/tls/tls_proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tls/tls_proc.c b/net/tls/tls_proc.c
index 2bea7ef4823c..83d9c80a684e 100644
--- a/net/tls/tls_proc.c
+++ b/net/tls/tls_proc.c
@@ -16,6 +16,7 @@ static const struct snmp_mib tls_mib_list[] = {
SNMP_MIB_ITEM("TlsTxDevice", LINUX_MIB_TLSTXDEVICE),
SNMP_MIB_ITEM("TlsRxDevice", LINUX_MIB_TLSRXDEVICE),
SNMP_MIB_ITEM("TlsDecryptError", LINUX_MIB_TLSDECRYPTERROR),
+ SNMP_MIB_ITEM("TlsRxDeviceResync", LINUX_MIB_TLSRXDEVICERESYNC),
SNMP_MIB_SENTINEL
};