]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: There is no need to update num_rx_pools in L2 fwd offload
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 22 Nov 2017 18:56:34 +0000 (10:56 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 9 Jan 2018 16:47:12 +0000 (08:47 -0800)
commit57e99632fc22d93d6019f2ed21f3e674d3873304
treea43f8fe56a40abef98398c95a90f9866139ea996
parent5aa51efd0cc164c9961fd7cadb8a728c13648b1d
ixgbe: There is no need to update num_rx_pools in L2 fwd offload

The num_rx_pools value is overwritten when we reinitialize the queue
configuration. In reality we shouldn't need to be updating the value since
it is redone every time we call into ixgbe_setup_tc so for now just drop
the spots where we were incrementing or decrementing the value.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c