Re: RFC: NFS over TLS stats

From: Simon J. Gerraty <sjg_at_juniper.net>
Date: Thu, 26 Oct 2023 01:32:56 UTC
Freddie Cash <fjwcash@gmail.com> wrote:
> Have no technical comments, but a style suggestion:  put the tls at the end to make the output look nicer.  :)
> 
> kern.rpctls.snd_msgbytes: 21508
> kern.rpctls.snd_msgbytes_tls: 20828
> kern.rpctls.snd_msgcnt: 58
> kern.rpctls.snd_msgcnt_tls: 57
> kern.rpctls.rcv_msgbytes: 12072
> kern.rpctls.rcv_tmsgbytes_tls: 12336
> kern.rpctls.rcv_msgcnt: 58
> kern.rpctls.rcv_msgcnt_tls: 57

FWIW I'd probably go the opposite way with

kern.rpctls.tls.snd_msgbytes: 20828
kern.rpctls.tls.snd_msgcnt: 57
kern.rpctls.tls.rcv_tmsgbytes: 12336
kern.rpctls.tls.rcv_msgcnt: 57

which allows for sysctl kern.rpctls.tls