diff options
author | Tomer Tayar <Tomer.Tayar@cavium.com> | 2017-03-23 15:50:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-23 11:53:29 -0700 |
commit | 4ed1eea82a21ba460e53468cc1c73cfdf83d0e00 (patch) | |
tree | 4b58fb4a3f9dbcfd8263316c859bb5dc7480455d /drivers/net/appletalk | |
parent | 4deece6c9fe69f396812a956f526d1cb43e9c0f0 (diff) |
qed: Revise MFW command locking
Interaction of driver -> management firmware is based
on a one-pending mailbox [per interface], and various
mailbox commands need to be synchronized.
Current scheme is messy, and there's a difficulty extending
it as it deals differently with various commands as well as
making assumption on the required behavior for load/unload
requests.
Drop the current scheme into a completion-list-based approach;
Each flow would try sending the command when possible,
allowing one flow to complete another flow's completion and
relieve the mailbox before sending its own command.
Signed-off-by: Tomer Tayar <Tomer.Tayar@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/appletalk')
0 files changed, 0 insertions, 0 deletions