diff options
author | Eli Cohen <eli@mellanox.co.il> | 2008-07-15 06:48:44 (GMT) |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-07-15 06:48:44 (GMT) |
commit | 9670e553915e67fb68f13258644342c68dc26b84 (patch) | |
tree | 68730cafe26cdb14d591f5f9c80bdeb1d6c85642 /include/drm/sis_drm.h | |
parent | 164ba0893c27a216557396320b6063fdac040392 (diff) | |
download | linux-fsl-qoriq-9670e553915e67fb68f13258644342c68dc26b84.tar.xz |
IB/mlx4: Optimize QP stamping
The idea is that for QPs with fixed size work requests (eg selective
signaling QPs), before stamping the WQE, we read the value of the DS
field, which gives the effective size of the descriptor as used in the
previous post. Then we stamp only that area, since the rest of the
descriptor is already stamped.
When initializing the send queue buffer, make sure the DS field is
initialized to the max descriptor size so that the subsequent stamping
will be done on the entire descriptor area.
Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/drm/sis_drm.h')
0 files changed, 0 insertions, 0 deletions