diff options
author | Corinna Vinschen <[email protected]> | 2022-01-19 15:52:59 +0100 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2022-02-07 14:23:01 -0800 |
commit | e62ad74aa534404b3ee7e250b114a3536ac56987 (patch) | |
tree | 6ba6010c8a5fae0a5272eba6b1e90c8336f36dc9 /lib/mpi/mpi-add.c | |
parent | 453307b569a0d41bddd07f26bf41b784cd82a4c9 (diff) |
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 <[email protected]>
Acked-by: Vinicius Costa Gomes <[email protected]>
Tested-by: Sandeep Penigalapati <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions