]> 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)
commitc63fe98b0d5bbcf19aba3e956d34141389d38a51
tree3bee4976ba2a61ae75975e60cc255113f3012f67
parent330d95e0fa12e3457c4ba14bc258a376c2a6356a
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