[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e39bf2a7-0eb4-7c93-5a98-3a57df860fbc@nvidia.com>
Date: Mon, 19 Jun 2023 15:40:58 +0300
From: Gal Pressman <gal@...dia.com>
To: "David S. Miller" <davem@...emloft.net>, Jakub Kicinski
<kuba@...nel.org>, David Ahern <dsahern@...il.com>
Cc: Stephen Hemminger <stephen@...workplumber.org>,
Michal Kubecek <mkubecek@...e.cz>, netdev@...r.kernel.org,
Edwin Peer <edwin.peer@...adcom.com>, Edwin Peer <espeer@...il.com>
Subject: Re: [PATCH iproute2-next] iplink: filter stats using
RTEXT_FILTER_SKIP_STATS
On 11/06/2023 13:57, Gal Pressman wrote:
> From: Edwin Peer <edwin.peer@...adcom.com>
>
> Don't request statistics we do not intend to render. This avoids the
> possibility of a truncated IFLA_VFINFO_LIST when statistics are not
> requested as well as the fetching of unnecessary data.
>
> Signed-off-by: Edwin Peer <edwin.peer@...adcom.com>
> Cc: Edwin Peer <espeer@...il.com>
> Signed-off-by: Gal Pressman <gal@...dia.com>
> ---
> Userspace side for kernel submission:
> https://lore.kernel.org/all/20230611105108.122586-1-gal@nvidia.com/
>
> It is only a partial "fix", but increases the number of VFs presented
> before the truncation occurs.
Kernel side was applied.
Powered by blists - more mailing lists