summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2017-12-20 11:56:35 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2018-03-30 16:55:07 -0700
commitb8a98a4cf3221d8140969e3f5bde09206a6cb623 (patch)
tree4ab167a2152d139d86ed2e28cc334df6cd2f1816 /drivers/input
parent9f9e9cd50eac6ad09cb053509f2e764bddc05f18 (diff)
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 'drivers/input')
0 files changed, 0 insertions, 0 deletions