]> git.baikalelectronics.ru Git - kernel.git/commit
fm10k: don't protect fm10k_queue_mac_request by fm10k_host_mbx_ready
authorJacob Keller <jacob.e.keller@intel.com>
Thu, 12 Apr 2018 18:15:59 +0000 (11:15 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 9 May 2018 16:02:48 +0000 (09:02 -0700)
commitd2b5399e454e18ec40ba1affda89aac5d075cee9
tree638783b040e6136084b46c7611f46306652223b3
parentafd408221452b2a3e3b3a923a35d2618a455c048
fm10k: don't protect fm10k_queue_mac_request by fm10k_host_mbx_ready

We don't actually need to check if the host mbx is ready when queuing
MAC requests, because these are not handled by a special queue which
queues up requests until the mailbox is capable of handling them.

Pull these requests outside the fm10k_host_mbx_ready() check, as it is
not necessary.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c