i40e: abstract the close path for better netdev vsis
authorShannon Nelson <shannon.nelson@intel.com>
Fri, 14 Mar 2014 07:32:26 +0000 (07:32 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 22 Apr 2014 10:29:53 +0000 (03:29 -0700)
commit90ef8d47cbb19df60f594e264498380251dae950
tree525262011ef3657e60905ba002c97e909c0ec723
parentc22e3c6c791221fc00b56e8a8250fa50f3724d3f
i40e: abstract the close path for better netdev vsis

Abstract out the vsi close actions into a single function so they
can be used correctly for both netdev and non-netdev based VSIs.

Change-ID: I59e3d115fcb20e614a09477281b7787dd340d276
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@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