]> git.baikalelectronics.ru Git - kernel.git/commit
net: aquantia: introduce fwreq mutex
authorNikita Danilov <ndanilov@aquantia.com>
Mon, 29 Apr 2019 10:04:57 +0000 (10:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 May 2019 13:30:15 +0000 (09:30 -0400)
commit938c59fa6c3e92e2d0f071cf81ffa2e74f7eb5d4
tree96032af50882266d030e56d1418e9a20e8bf9832
parent2faaf9e93252b73a6c8f49c871e8c11ce8c3fa0c
net: aquantia: introduce fwreq mutex

Some of FW operations could be invoked simultaneously,
from f.e. ethtool context and from service service activity work.
Here we introduce a fw mutex to secure and serialize access
to FW logic.

Signed-off-by: Nikita Danilov <ndanilov@aquantia.com>
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c
drivers/net/ethernet/aquantia/atlantic/aq_nic.c
drivers/net/ethernet/aquantia/atlantic/aq_nic.h
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c