* [PATCH iproute2-next] ss: report when the RxNoPad optimization is set on TLS sockets
@ 2023-07-31 15:06 Jakub Kicinski
2023-08-03 20:10 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Jakub Kicinski @ 2023-07-31 15:06 UTC (permalink / raw)
To: dsahern; +Cc: stephen, netdev, Jakub Kicinski
Similarly to RO ZC report when RxNoPad is set.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
misc/ss.c | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/misc/ss.c b/misc/ss.c
index e9d813596b91..c71b08f98525 100644
--- a/misc/ss.c
+++ b/misc/ss.c
@@ -2983,12 +2983,6 @@ static void tcp_tls_conf(const char *name, struct rtattr *attr)
}
}
-static void tcp_tls_zc_sendfile(struct rtattr *attr)
-{
- if (attr)
- out(" zc_ro_tx");
-}
-
static void mptcp_subflow_info(struct rtattr *tb[])
{
u_int32_t flags = 0;
@@ -3219,7 +3213,10 @@ static void tcp_show_info(const struct nlmsghdr *nlh, struct inet_diag_msg *r,
tcp_tls_cipher(tlsinfo[TLS_INFO_CIPHER]);
tcp_tls_conf("rxconf", tlsinfo[TLS_INFO_RXCONF]);
tcp_tls_conf("txconf", tlsinfo[TLS_INFO_TXCONF]);
- tcp_tls_zc_sendfile(tlsinfo[TLS_INFO_ZC_RO_TX]);
+ if (!!tlsinfo[TLS_INFO_ZC_RO_TX])
+ out(" zc_ro_tx");
+ if (!!tlsinfo[TLS_INFO_RX_NO_PAD])
+ out(" no_pad_rx");
}
if (ulpinfo[INET_ULP_INFO_MPTCP]) {
struct rtattr *sfinfo[MPTCP_SUBFLOW_ATTR_MAX + 1] =
--
2.41.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH iproute2-next] ss: report when the RxNoPad optimization is set on TLS sockets
2023-07-31 15:06 [PATCH iproute2-next] ss: report when the RxNoPad optimization is set on TLS sockets Jakub Kicinski
@ 2023-08-03 20:10 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-08-03 20:10 UTC (permalink / raw)
To: Jakub Kicinski; +Cc: dsahern, stephen, netdev
Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:
On Mon, 31 Jul 2023 08:06:28 -0700 you wrote:
> Similarly to RO ZC report when RxNoPad is set.
>
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
> ---
> misc/ss.c | 11 ++++-------
> 1 file changed, 4 insertions(+), 7 deletions(-)
Here is the summary with links:
- [iproute2-next] ss: report when the RxNoPad optimization is set on TLS sockets
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=109ddfb4e525
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-03 20:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-31 15:06 [PATCH iproute2-next] ss: report when the RxNoPad optimization is set on TLS sockets Jakub Kicinski
2023-08-03 20:10 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).