diff options
author | Tariq Toukan | 2017-12-20 10:56:35 +0100 |
---|---|---|
committer | Saeed Mahameed | 2018-03-31 01:55:07 +0200 |
commit | b8a98a4cf3221d8140969e3f5bde09206a6cb623 (patch) | |
tree | 4ab167a2152d139d86ed2e28cc334df6cd2f1816 /Documentation/fmc/fmc-trivial.txt | |
parent | net/mlx5e: Remove page_ref bulking in Striding RQ (diff) | |
download | kernel-qcow2-linux-b8a98a4cf3221d8140969e3f5bde09206a6cb623.tar.gz kernel-qcow2-linux-b8a98a4cf3221d8140969e3f5bde09206a6cb623.tar.xz kernel-qcow2-linux-b8a98a4cf3221d8140969e3f5bde09206a6cb623.zip |
net/mlx5e: Keep single pre-initialized UMR WQE per RQ
All UMR WQEs of an RQ share many common fields. We use
pre-initialized structures to save calculations in datapath.
One field (xlt_offset) was the only reason we saved a pre-initialized
copy per WQE index.
Here we remove its initialization (move its calculation to datapath),
and reduce the number of copies to one-per-RQ.
A very small datapath calculation is added, it occurs once per a MPWQE
(i.e. once every 256KB), but reduces memory consumption and gives
better cache utilization.
Performance testing:
Tested packet rate, no degradation sensed.
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'Documentation/fmc/fmc-trivial.txt')
0 files changed, 0 insertions, 0 deletions