> -----Original Message-----
> From: Tariq Toukan <[email protected]>
> Sent: Thursday, September 3, 2026 10:52 AM
> To: Andrew Lunn <[email protected]>; David S. Miller
> <[email protected]>; Eric Dumazet <[email protected]>; Jakub
> Kicinski <[email protected]>; [email protected]; Paolo Abeni
> <[email protected]>; Sabrina Dubroca <[email protected]>
> Cc: Loktionov, Aleksandr <[email protected]>; Alexei Lazar
> <[email protected]>; Alexei Starovoitov <[email protected]>; Allison
> Henderson <[email protected]>; Antonio Quartulli
> <[email protected]>; Anubhav Singh <[email protected]>; Bobby
> Eshleman <[email protected]>; Boris Pismenny <[email protected]>;
> [email protected]; Carolina Jubran <[email protected]>; Chris Mi
> <[email protected]>; Cosmin Ratiu <[email protected]>; Daniel Borkmann
> <[email protected]>; Daniel Zahka <[email protected]>; David
> Wei <[email protected]>; Doruk Tan Ozturk <[email protected]>; Dragos Tatulea
> <[email protected]>; Gal Pressman <[email protected]>; Keller, Jacob E
> <[email protected]>; Jesper Dangaard Brouer <[email protected]>;
> Jianbo Liu <[email protected]>; John Fastabend
> <[email protected]>; Kees Cook <[email protected]>; Lama Kayal
> <[email protected]>; Leon Romanovsky <[email protected]>; open list
> <[email protected]>; [email protected];
> [email protected]; Mark Bloch <[email protected]>; Matthieu
> Baerts (NGI0) <[email protected]>; Patrisious Haddad
> <[email protected]>; Petr Machata <[email protected]>; Raed Salem
> <[email protected]>; Rahul Rameshbabu <[email protected]>; Richard
> Gobert <[email protected]>; Saeed Mahameed <[email protected]>;
> Shuah Khan <[email protected]>; Shuah Khan <[email protected]>;
> Simon Horman <[email protected]>; Stanislav Fomichev <[email protected]>;
> Stanislav Fomichev <[email protected]>; Tariq Toukan
> <[email protected]>; Willem de Bruijn <[email protected]>; Willem de
> Bruijn <[email protected]>
> Subject: [PATCH net-next V3 14/15] selftests: net: gro: Add PSP
> encapsulation and encryption
> 
> From: Cosmin Ratiu <[email protected]>
> 
> Add a PSP mode which wraps every transmitted frame in PSP transport
> mode and encrypts them in SW with the help of OpenSSL.
> The receiving NIC decrypts and decapsulates, so the frame the receiver
> sees on its AF_PACKET socket is identical to the non-PSP one and every
> geometry assertion in this file applies unchanged.
> 
> Sender packet construction is unchange, PSP uses a different buffer to
Probably 'is unchange,' -> 'is unchanged,' ?

Reviewed-by: Aleksandr Loktionov <[email protected]>

> avoid double encryption.
> 
> A few PSP-only cases are added: psp_spi_diff, psp_ver_diff, psp_mixed,
> to cover coalescing scenarios which only exist for PSP.
> 
> OpenSSL is optional and scoped to this binary: gro is deployed by
> several suites, so a missing libcrypto costs only the PSP mode.
> 
> Signed-off-by: Cosmin Ratiu <[email protected]>
> Reviewed-by: Dragos Tatulea <[email protected]>
> Signed-off-by: Tariq Toukan <[email protected]>
> ---
>  tools/testing/selftests/net/lib/Makefile |  16 ++
>  tools/testing/selftests/net/lib/gro.c    | 337
> ++++++++++++++++++++++-
>  2 files changed, 351 insertions(+), 2 deletions(-)
> 
> diff --git a/tools/testing/selftests/net/lib/Makefile
> b/tools/testing/selftests/net/lib/Makefile
> index ff83603397d0..ce67e8d3e4f6 100644
> --- a/tools/testing/selftests/net/lib/Makefile
> +++ b/tools/testing/selftests/net/lib/Makefile
> @@ -22,4 +22,20 @@ TEST_INCLUDES := $(wildcard py/*.py sh/*.sh)
> 
>  include ../../lib.mk
> 

...

>       read_MAC(src_mac, smac);
>       read_MAC(dst_mac, dmac);
> 
> --
> 2.44.0


Reply via email to