diff options
author | Larysa Zaremba <[email protected]> | 2024-08-23 11:59:28 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2024-09-03 08:58:20 -0700 |
commit | f50c68763436bc8f805712a7c5ceaf58cfcf5f07 (patch) | |
tree | 5647d47eedba407e96e30475e06fa1f54e33b823 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2504b8405768a57a71e660dbfd5abd59f679a03f (diff) |
ice: check for XDP rings instead of bpf program when unconfiguring
If VSI rebuild is pending, .ndo_bpf() can attach/detach the XDP program on
VSI without applying new ring configuration. When unconfiguring the VSI, we
can encounter the state in which there is an XDP program but no XDP rings
to destroy or there will be XDP rings that need to be destroyed, but no XDP
program to indicate their presence.
When unconfiguring, rely on the presence of XDP rings rather then XDP
program, as they better represent the current state that has to be
destroyed.
Reviewed-by: Wojciech Drewek <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Tested-by: Chandan Kumar Rout <[email protected]>
Acked-by: Maciej Fijalkowski <[email protected]>
Signed-off-by: Larysa Zaremba <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions