]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Decrease the scope of rtnl lock
authorMaciej Sosin <maciej.sosin@intel.com>
Wed, 5 Apr 2017 11:50:55 +0000 (07:50 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 8 Apr 2017 09:53:49 +0000 (02:53 -0700)
commit0612901d6cc83aba12eb47f87d226ca7b744a68b
tree3bee4976ba2a61ae75975e60cc255113f3012f67
parentb563bd20dcbb8424a0695715248ab8647780d6a2
i40e: Decrease the scope of rtnl lock

Previously rtnl lock was held during whole reset procedure that
was stopping other PFs running their reset procedures. In the result
reset was not handled properly and host reset was the only way
to recover.

Change-ID: I23c0771c0303caaa7bd64badbf0c667e25142954
Signed-off-by: Maciej Sosin <maciej.sosin@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.h
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c