[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e8b6465a-3b32-4ec1-907a-414a6e5a10c1@blackwall.org>
Date: Mon, 24 Feb 2025 19:00:02 +0200
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: Jordan Rife <jordan@...fe.io>, Daniel Borkmann <daniel@...earbox.net>
Cc: netdev@...r.kernel.org, bpf@...r.kernel.org, stephen@...workplumber.org,
dsahern@...nel.org
Subject: Re: [PATCH iproute2-next v2] ip: link: netkit: Support scrub options
On 2/24/25 18:49, Jordan Rife wrote:
> Add "scrub" option to configure IFLA_NETKIT_SCRUB and
> IFLA_NETKIT_PEER_SCRUB when setting up a link. Add "scrub" and
> "peer scrub" to device details as well when printing.
>
> $ sudo ./ip/ip link add jordan type netkit scrub default peer scrub none
> $ ./ip/ip -details link show jordan
> 43: jordan@nk0: <BROADCAST,MULTICAST,NOARP,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
> link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff promiscuity 0 allmulti 0 minmtu 68 maxmtu 65535
> netkit mode l3 type primary policy forward peer policy forward scrub default peer scrub none numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 tso_max_size 524280 tso_max_segs 65535 gro_max_size 65536 gso_ipv4_max_size 65536 gro_ipv4_max_size 65536
>
> v1->v2: Added some spaces around "scrub SCRUB" in the help message.
>
> Link: https://lore.kernel.org/netdev/20241004101335.117711-1-daniel@iogearbox.net/
>
> Signed-off-by: Jordan Rife <jordan@...fe.io>
> ---
> ip/iplink_netkit.c | 46 +++++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 45 insertions(+), 1 deletion(-)
>
Acked-by: Nikolay Aleksandrov <razor@...ckwall.org>
Powered by blists - more mailing lists