i40e: Fix for Tools loopback test failing after driver load
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Mon, 28 Sep 2015 18:16:55 +0000 (14:16 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 19 Oct 2015 22:35:26 +0000 (15:35 -0700)
commitbcab2db97d2423b97b248ba35eb2277168e71fcc
tree0674c7abca24bce5fe8f018f1853db071c8c4cf3
parentee2319cf17ee64bbd0096f2f8f3f8390c93b1e39
i40e: Fix for Tools loopback test failing after driver load

This patch fixes a problem where our Tools MAC Loopback test, after
driver unbind would fail.  This was because the hw was configured
for multiqueue and unbind operation did not clear this configuration.
The problem is fixed by resetting this configuration in i40e_remove.

Change-ID: I130c05138319182ed1476d3a0b5222d6a6320af9
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@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_main.c