[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <63d55246-fd88-40e6-bb78-8447e0863684@redhat.com>
Date: Thu, 14 Aug 2025 15:18:08 +0200
From: Paolo Abeni <pabeni@...hat.com>
To: Daniel Zahka <daniel.zahka@...il.com>,
Donald Hunter <donald.hunter@...il.com>, Jakub Kicinski <kuba@...nel.org>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Simon Horman <horms@...nel.org>, Jonathan Corbet <corbet@....net>,
Andrew Lunn <andrew+netdev@...n.ch>
Cc: Saeed Mahameed <saeedm@...dia.com>, Leon Romanovsky <leon@...nel.org>,
Tariq Toukan <tariqt@...dia.com>, Boris Pismenny <borisp@...dia.com>,
Kuniyuki Iwashima <kuniyu@...gle.com>, Willem de Bruijn
<willemb@...gle.com>, David Ahern <dsahern@...nel.org>,
Neal Cardwell <ncardwell@...gle.com>, Patrisious Haddad
<phaddad@...dia.com>, Raed Salem <raeds@...dia.com>,
Jianbo Liu <jianbol@...dia.com>, Dragos Tatulea <dtatulea@...dia.com>,
Rahul Rameshbabu <rrameshbabu@...dia.com>,
Stanislav Fomichev <sdf@...ichev.me>,
Toke Høiland-Jørgensen <toke@...hat.com>,
Alexander Lobakin <aleksander.lobakin@...el.com>,
Kiran Kella <kiran.kella@...adcom.com>,
Jacob Keller <jacob.e.keller@...el.com>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next v6 04/19] tcp: add datapath logic for PSP with
inline key exchange
On 8/12/25 2:29 AM, Daniel Zahka wrote:
> @@ -2070,7 +2076,9 @@ bool tcp_add_backlog(struct sock *sk, struct sk_buff *skb,
> (TCPHDR_ECE | TCPHDR_CWR | TCPHDR_AE)) ||
> !tcp_skb_can_collapse_rx(tail, skb) ||
> thtail->doff != th->doff ||
> - memcmp(thtail + 1, th + 1, hdrlen - sizeof(*th)))
> + memcmp(thtail + 1, th + 1, hdrlen - sizeof(*th)) ||
> + /* prior to PSP Rx policy check, retain exact PSP metadata */
> + psp_skb_coalesce_diff(tail, skb))
> goto no_coalesce;
The TCP stack will try to coalesce skbs in other places, too (i.e.
tcp_try_coalesce(), tcp_collapse()...) Why a similar check is not needed
there?
/P
Powered by blists - more mailing lists