]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: refactor reset code
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Wed, 20 Nov 2013 10:02:55 +0000 (10:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 7 Dec 2013 00:57:23 +0000 (16:57 -0800)
commit74541dac5f55ca4227febeeb2ecfac9187337e1a
tree61b6ac4f71f7280f04b6d396dc9b16a480387a63
parent5e7fef07f06208332d953267932f15ae171d32e5
i40e: refactor reset code

In order to re-size queues and vectors while the interface is
still up, we need to be able to call functions to free and
re-allocate without bringing down the VSI.

We also need to reset the existing setup, update the
configuration and then rebuild again. This requires us to have
the reset flow broken down into two parts.

Change-Id: I374dd25aabf769decda69b676491c7b7730a4635
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c