Re: [PATCH net-next] vhost/net: align variable names with XDP terminology

From: Willem de Bruijn
Date: Thu May 08 2025 - 09:43:14 EST


Jon Kohler wrote:
>
>
> > On May 7, 2025, at 1:23 PM, Willem de Bruijn <willemdebruijn.kernel@xxxxxxxxx> wrote:
> >
> > !-------------------------------------------------------------------|
> > CAUTION: External Email
> >
> > |-------------------------------------------------------------------!
> >

Minor: can you fix email to avoid the above?

> > Jon Kohler wrote:
> >> Refactor variable names in vhost_net_build_xdp to align with XDP
> >> terminology, enhancing code clarity and consistency. Additionally,
> >> reorder variables to follow a reverse Christmas tree structure,
> >> improving code organization and readability.
> >>
> >> This change introduces no functional modifications.
> >>
> >> Signed-off-by: Jon Kohler <jon@xxxxxxxxxxx>
> >
> > We generally don't do pure refactoring patches.
> >
> > They add churn to code history for little gain (and some
> > overhead and risk).
> >
>
> Ok, I’ll club this together with the larger change I’m working on
> for multi-buffer support in vhost/net, ill send that as a series
> when it is ready for eyes

I forgot to add that it makes stable fixes harder to apply across
LTS, distro and other derived kernels.

So resist the urge the just make stylistic changes. Functional
improvements warrants the risk, churn and extra work.