diff options
author | Daniel Jurgens <danielj@mellanox.com> | 2018-11-21 18:12:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-22 22:38:36 +0300 |
commit | e45678973dcbb131f29a6c90b0ea3829f38eeab8 (patch) | |
tree | 7c832cf06e48233a27040f9134bd70b14d77debf /drivers/target | |
parent | 1d0795ea9ca37be0fa0823776e0367b8fc398c91 (diff) | |
download | linux-e45678973dcbb131f29a6c90b0ea3829f38eeab8.tar.xz |
{net, IB}/mlx4: Initialize CQ buffers in the driver when possible
Perform CQ initialization in the driver when the capability is supported
by the FW. When passing the CQ to HW indicate that the CQ buffer has
been pre-initialized.
Doing so decreases CQ creation time. Testing on P8 showed a single 2048
entry CQ creation time was reduced from ~395us to ~170us, which is
2.3x faster.
Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions