[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHS8izNH32B7JeZU9MFZ33cqLFWG6KNhg=f1hVASeojmUr53Hw@mail.gmail.com>
Date: Tue, 7 Jan 2025 13:04:59 -0800
From: Mina Almasry <almasrymina@...gle.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, dw@...idwei.uk, jdamato@...tly.com
Subject: Re: [PATCH net-next 2/8] netdev: define NETDEV_INTERNAL
On Fri, Jan 3, 2025 at 11:00 AM 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: Mina Almasry <almasrymina@...gle.com>
--
Thanks,
Mina
Powered by blists - more mailing lists