]> git.dujemihanovic.xyz Git - linux.git/commit
ionic: always use rxq_info
authorShannon Nelson <shannon.nelson@amd.com>
Fri, 6 Sep 2024 23:26:20 +0000 (16:26 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 10 Sep 2024 02:18:14 +0000 (19:18 -0700)
commit668e423920de1b64f7c1b60fa323c50e8d10719e
tree8aed9a0864037ce3ae725647935af81420620247
parent7b4ec51f165f37b0102f98df1b0c13b64b5178e8
ionic: always use rxq_info

Instead of setting up and tearing down the rxq_info only when the XDP
program is loaded or unloaded, we will build the rxq_info whether or not
XDP is in use.  This is the more common use pattern and better supports
future conversion to page_pool.  Since the rxq_info wants the napi_id
we re-order things slightly to tie this into the queue init and deinit
functions where we do the add and delete of napi.

Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Signed-off-by: Brett Creeley <brett.creeley@amd.com>
Link: https://patch.msgid.link/20240906232623.39651-5-brett.creeley@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_lif.c