[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230602230635.773b8f87@kernel.org>
Date: Fri, 2 Jun 2023 23:06:35 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Amritha Nambiar <amritha.nambiar@...el.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, sridhar.samudrala@...el.com
Subject: Re: [net-next/RFC PATCH v1 1/4] net: Introduce new napi fields for
rx/tx queues
On Thu, 01 Jun 2023 10:42:25 -0700 Amritha Nambiar wrote:
> Introduce new napi fields 'napi_rxq_list' and 'napi_txq_list'
> for rx and tx queue set associated with the napi and
> initialize them. Handle their removal as well.
>
> This enables a mapping of each napi instance with the
> queue/queue-set on the corresponding irq line.
Wouldn't it be easier to store the NAPI instance pointer in the queue?
That way we don't have to allocate memory.
Powered by blists - more mailing lists