OSDN Git Service

i40e: Add a call to set the client interface down
authorCatherine Sullivan <catherine.sullivan@intel.com>
Mon, 16 May 2016 17:26:34 +0000 (10:26 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 27 Jun 2016 22:25:36 +0000 (15:25 -0700)
commitf980d445e5ae71c64e1a8e07e9cbf7bb285d1106
tree57a251e92aaff06ba6b630a3921bdcb10775107a
parentbb36071721699c531e19ea7c3e7eebd605e8b61d
i40e: Add a call to set the client interface down

We were failing to set the client interface down when we put the VSI
down. Add this call so that the client doesn't get an open called with
no close.

Also remove an un-needed delay. The VF should not be affected at all by
i40e_down.

Change-ID: I1135dffef534bf84e6fed57cf51bcf590e6cfaf7
Signed-off-by: Catherine Sullivan <catherine.sullivan@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