diff options
author | Corinna Vinschen <vinschen@redhat.com> | 2022-01-19 17:52:59 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-02-08 01:23:01 +0300 |
commit | e62ad74aa534404b3ee7e250b114a3536ac56987 (patch) | |
tree | 6ba6010c8a5fae0a5272eba6b1e90c8336f36dc9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 453307b569a0d41bddd07f26bf41b784cd82a4c9 (diff) | |
download | linux-e62ad74aa534404b3ee7e250b114a3536ac56987.tar.xz |
igb: refactor XDP registration
On changing the RX ring parameters igb uses a hack to avoid a warning
when calling xdp_rxq_info_reg via igb_setup_rx_resources. It just
clears the struct xdp_rxq_info content.
Instead, change this to unregister if we're already registered. Align
code to the igc code.
Fixes: 9cbc948b5a20c ("igb: add XDP support")
Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
Acked-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Tested-by: Sandeep Penigalapati <sandeep.penigalapati@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions