]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ss: Shorter display format for TLS zerocopy sendfile
authorMaxim Mikityanskiy <maximmi@nvidia.com>
Wed, 8 Jun 2022 15:34:45 +0000 (18:34 +0300)
committerDavid Ahern <dsahern@kernel.org>
Sun, 12 Jun 2022 15:51:34 +0000 (09:51 -0600)
commitb112043ea8f26ab61e932f3b25c670eeaa620b73
tree6607332897ca0d764a61d9bfe383b3e05405a9d0
parent266d0f854a50d31e188752965ec7c767818f55c4
ss: Shorter display format for TLS zerocopy sendfile

Commit 21c07b45688f ("ss: Show zerocopy sendfile status of TLS
sockets") started displaying the activation status of zerocopy sendfile
on TLS sockets, exposed via sock_diag. This commit makes the format more
compact: the flag's name is shorter and is printed only when the feature
is active, similar to other flag options.

The flag's name is also generalized ("sendfile" -> "tx") to embrace
possible future optimizations, and includes an explicit indication that
the underlying data must not be modified during transfer ("ro").

Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
misc/ss.c