ice: Change number of XDP TxQ to 0 when destroying rings
authorMarta Plantykow <marta.a.plantykow@intel.com>
Sat, 16 May 2020 00:42:15 +0000 (17:42 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 28 May 2020 00:49:56 +0000 (17:49 -0700)
commitc8f135c6ee7851ad72bd4d877216950fcbd45fb6
tree3cb89e6d4175b330a216e8badd7059dee30f4bd7
parentb5c7f857e5c98c21271678992fb2634df38292f5
ice: Change number of XDP TxQ to 0 when destroying rings

When XDP Tx rings are destroyed the number of XDP Tx queues
is not changing. This patch is changing this number to 0.

Signed-off-by: Marta Plantykow <marta.a.plantykow@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_main.c