i40e/base: save VSI resource count on update
authorHelin Zhang <helin.zhang@intel.com>
Tue, 8 Mar 2016 08:14:29 +0000 (16:14 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 16:34:55 +0000 (17:34 +0100)
commit94fb0e01602204a323208bc66e52b752a83fa709
tree37e0c1dfad6352ac5f2c709ea1bafa70c9cfe3ed
parent8a8807369ffafef90c410279b4b2645d2d7a7483
i40e/base: save VSI resource count on update

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

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Remy Horton <remy.horton@intel.com>
drivers/net/i40e/base/i40e_common.c