]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix channel addition in reset flow
authorAmritha Nambiar <amritha.nambiar@intel.com>
Tue, 9 Jan 2018 01:27:20 +0000 (17:27 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 23 Jan 2018 19:29:19 +0000 (11:29 -0800)
commita35c402c9cc01d4ef6e772e0af8c6d171edc36b1
tree0eb2bf1bdc41c4e4ad532f73f5f2fe4857f54efd
parent45c56e90da487cbf0773b8f053ee42707c4419fb
i40e: Fix channel addition in reset flow

Fix recreating the channel VSIs during the reset flow to reconfigure
the Tx rings and the queue context associated with the channel VSI.
Also update the next_base_queue for the VSI while rebuilding the
channel VSIs after a reset.

Signed-off-by: Amritha Nambiar <amritha.nambiar@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c