]> 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)
commit9557c6252de0600649715621aaab200e2de63f02
tree61b6ac4f71f7280f04b6d396dc9b16a480387a63
parentdcee5ec65d1c475c76d202e61b797a6e27ebe06e
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