summaryrefslogtreecommitdiffstats
path: root/LICENSES
diff options
context:
space:
mode:
authorTariq Toukan2017-12-20 10:56:35 +0100
committerSaeed Mahameed2018-03-31 01:55:07 +0200
commitb8a98a4cf3221d8140969e3f5bde09206a6cb623 (patch)
tree4ab167a2152d139d86ed2e28cc334df6cd2f1816 /LICENSES
parentnet/mlx5e: Remove page_ref bulking in Striding RQ (diff)
downloadkernel-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 'LICENSES')
0 files changed, 0 insertions, 0 deletions