i40e: Save off VSI resource count when updating VSI
authorKevin Scott <kevin.c.scott@intel.com>
Thu, 10 Mar 2016 22:59:41 +0000 (14:59 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 5 Apr 2016 09:46:40 +0000 (02:46 -0700)
commitb6caccaccf749dddd296f3056111d6c4b94500c1
tree23ebc3b8ab38bb43e3bd91e11add27a56c5b1fad
parentb7c359376429953dc1672224dbc9845eadf2a29c
i40e: Save off VSI resource count when updating VSI

When updating a VSI, save off the number of allocated and unallocated
VSIs as we do when adding a VSI.

Signed-off-by: Kevin Scott <kevin.c.scott@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_common.c