]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-tls-add-ctrl-path-tracing-and-statistics'
authorDavid S. Miller <davem@davemloft.net>
Sat, 5 Oct 2019 23:29:01 +0000 (16:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Oct 2019 23:29:22 +0000 (16:29 -0700)
commitfbdaab9cf588608aeafd98ffa12ce100e04dab4f
tree27aff1b1be15148421eba9b38f1f2efee5dc5dd4
parent9383b108c2cbdc7b43f52becd179dc4f79ceaae4
parent7ce367a1b562a926ce28d2ab8e35d714770f4838
Merge branch 'net-tls-add-ctrl-path-tracing-and-statistics'

Jakub Kicinski says:

====================
net/tls: add ctrl path tracing and statistics

This set adds trace events related to TLS offload and basic MIB stats
for TLS.

First patch contains the TLS offload related trace points. Those are
helpful in troubleshooting offload issues, especially around the
resync paths.

Second patch adds a tracepoint to the fastpath of device offload,
it's separated out in case there will be objections to adding
fast path tracepoints. Again, it's quite useful for debugging
offload issues.

Next four patches add MIB statistics. The statistics are implemented
as per-cpu per-netns counters. Since there are currently no fast path
statistics we could move to atomic variables. Per-CPU seem more common.

Most basic statistics are number of created and live sessions, broken
out to offloaded and non-offloaded. Users seem to like those a lot.

Next there is a statistic for decryption errors. These are primarily
useful for device offload debug, in normal deployments decryption
errors should not be common.

Last but not least a counter for device RX resync.
====================

Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>