diff options
author | Brett Creeley <[email protected]> | 2024-09-06 16:26:21 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-09-09 19:18:15 -0700 |
commit | a7f3f635f07afc73711c66c023c1046bd2187d72 (patch) | |
tree | 164d52bf5fa3594a554a8f0d86ef1636dd06e3f4 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 668e423920de1b64f7c1b60fa323c50e8d10719e (diff) |
ionic: Fully reconfigure queues when going to/from a NULL XDP program
Currently when going to/from a NULL XDP program the driver uses
ionic_stop_queues_reconfig() and then ionic_start_queues_reconfig() in
order to re-register the xdp_rxq_info and re-init the queues. This is
fine until page_pool(s) are used in an upcoming patch.
In preparation for adding page_pool support make sure to completely
rebuild the queues when going to/from a NULL XDP program. Without this
change the call to mem_allocator_disconnect() never happens when going
to a NULL XDP program, which eventually results in
xdp_rxq_info_reg_mem_model() failing with -ENOSPC due to the mem_id_pool
ida having no remaining space.
Signed-off-by: Brett Creeley <[email protected]>
Signed-off-by: Shannon Nelson <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions