diff options
author | Eli Cohen <eli@mellanox.co.il> | 2006-02-26 14:36:06 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-03-20 10:08:17 -0800 |
commit | 14abdffcc0a0ca9c5bb3274648d073e09a6fd2ba (patch) | |
tree | fe934450412ed70f627e9d98bb881b03c7b31222 /arch | |
parent | ea88fd16d6e85f4bc71b6053180b64f04be1ff14 (diff) |
IB/mthca: Write FW commands through doorbell page
This patch is checks whether the HCA supports posting FW commands
through a doorbell page (user access region 0, or "UAR0"). If this is
supported, the driver maps UAR0 and uses it for FW commands. This can
be controlled by the value of a writable module parameter
fw_cmd_doorbell. When the parameter is 0, the commands are posted
through HCR using the old method; otherwise if HCA is capable commands
go through UAR0.
This use of UAR0 to post commands eliminates the need for polling the
"go" bit prior to posting a new command. Since reading from a PCI
device is much more expensive then issuing a posted write, it is
expected that issuing FW commands this way will provide better CPU
utilization.
Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions