i40e: Change some init flow for the client
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Thu, 25 Aug 2016 00:51:53 +0000 (17:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Aug 2016 23:59:30 +0000 (16:59 -0700)
commitf38ff2ee7727994685494bcc4d7c274b35b5418a
tree1052fc92af63b4979ff8a3513250158bc7a381cf
parentc3e70edd7c2eed6acd234627a6007627f5c76e8e
i40e: Change some init flow for the client

This change makes a common flow for Client instance open during init
and reset path. The Client subtask can handle both the cases instead of
making a separate notify_client_of_open call.
Also it may fix a bug during reset where the service task was leaking
some memory and causing issues.

Change-Id: I7232a32fd52b82e863abb54266fa83122f80a0cd
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_client.c
drivers/net/ethernet/intel/i40e/i40e_main.c