[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89i+4rbirjiACASWGSJtL9oyu2FRBneNOFfcKXc7UX+e=HA@mail.gmail.com>
Date: Mon, 6 Jan 2025 10:36:35 +0100
From: Eric Dumazet <edumazet@...gle.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, pabeni@...hat.com,
dw@...idwei.uk, almasrymina@...gle.com, jdamato@...tly.com
Subject: Re: [PATCH net-next 2/8] netdev: define NETDEV_INTERNAL
On Fri, Jan 3, 2025 at 8:00 PM Jakub Kicinski <kuba@...nel.org> wrote:
>
> Linus suggested during one of past maintainer summits (in context of
> a DMA_BUF discussion) that symbol namespaces can be used to prevent
> unwelcome but in-tree code from using all exported functions.
> Create a namespace for netdev.
>
> Export netdev_rx_queue_restart(), drivers may want to use it since
> it gives them a simple and safe way to restart a queue to apply
> config changes. But it's both too low level and too actively developed
> to be used outside netdev.
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists