[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210611092132.5f66f710@hermes.local>
Date: Fri, 11 Jun 2021 09:21:32 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: David Ahern <dsahern@...il.com>
Cc: Parav Pandit <parav@...dia.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH iproute2] uapi: add missing virtio related headers
On Thu, 10 Jun 2021 20:54:45 -0600
David Ahern <dsahern@...il.com> wrote:
> On 6/8/21 11:15 PM, Parav Pandit wrote:
> > Hi Stephen,
> >
> > vdpa headers were present in commit c2ecc82b9d4c at [1].
> >
> > I added them at [1] after David's recommendation in [2].
> >
> > Should we remove [1]?
> > Did you face compilation problem without this fix?
> >
> > [1] ./vdpa/include/uapi/linux/vdpa.h
> > [2] https://lore.kernel.org/netdev/abc71731-012e-eaa4-0274-5347fc99c249@gmail.com/
> >
> > Parav
>
> Stephen: Did you hit a compile issue? vdpa goes beyond networking and
> features go through other trees AIUI so the decision was to put the uapi
> file under the vdpa command similar to what rdma is doing.
>
In iproute2, all kernel headers used during the build should come from include/uapi.
If new command or function needs a new header, then the sanitized version should be
included.
I update these with an automated script, and making special case for vdpa
seems to be needless effort. Please just let iproute's include/uapi just be
a copy of what kernel "make install_headers" generates.
Powered by blists - more mailing lists