[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251016063406.GA17762@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net>
Date: Wed, 15 Oct 2025 23:34:06 -0700
From: Erni Sri Satya Vennela <ernis@...ux.microsoft.com>
To: stephen@...workplumber.org, dsahern@...il.com, netdev@...r.kernel.org
Cc: haiyangz@...rosoft.com, shradhagupta@...ux.microsoft.com,
ssengar@...rosoft.com, dipayanroy@...rosoft.com,
ernis@...rosoft.com
Subject: Re: [PATCH iproute2-next v4] netshaper: Add netshaper command
On Tue, Oct 07, 2025 at 04:06:14AM -0700, Erni Sri Satya Vennela wrote:
> Add support for the netshaper Generic Netlink family to
> iproute2. Introduce a new command for configuring netshaper
> parameters directly from userspace.
>
> This interface allows users to set shaping attributes which
> are passed to the kernel to perform the corresponding netshaper
> operation.
>
> Example usage:
> $netshaper { set | show | delete } dev DEV \
> handle scope SCOPE [id ID] \
> [ bw-max BW_MAX ]
>
> Internally, this triggers a kernel call to apply the shaping
> configuration to the specified network device.
>
> Currently, the tool supports the following functionalities:
> - Setting bandwidth in Mbps, enabling bandwidth clamping for
> a network device that support netshaper operations.
> - Deleting the current configuration.
> - Querying the existing configuration.
>
> Additional netshaper operations will be integrated into the tool
> as per requirement.
>
> This change enables easy and scriptable configuration of bandwidth
> shaping for devices that use the netshaper Netlink family.
>
> Corresponding net-next patches:
> 1) https://lore.kernel.org/all/cover.1728460186.git.pabeni@redhat.com/
> 2) https://lore.kernel.org/lkml/1750144656-2021-1-git-send-email-ernis@linux.microsoft.com/
>
> Install pkg-config and libmnl* packages to print kernel extack
> errors to stdout.
>
> Signed-off-by: Erni Sri Satya Vennela <ernis@...ux.microsoft.com>
Hi,
Just following up on the patch I sent last week. I wanted to check
if you have had a chance to look at it. Please let me know if any
changes are needed or if I should resend it. I appreciate your time and
feedback.
Thanks,
Vennela
Powered by blists - more mailing lists