Thread (16 messages) 16 messages, 3 authors, 2021-07-13

Re: [dpdk-dev] [PATCH v2 2/2] net/mlx5: reduce unnecessary memory access

From: Slava Ovsiienko <hidden>
Date: 2021-07-12 15:33:20

-----Original Message-----
From: Ruifeng Wang <redacted>
Sent: Wednesday, July 7, 2021 12:03
To: Raslan Darawsheh <redacted>; Matan Azrad
[off-list ref]; Shahaf Shuler [off-list ref]; Slava
Ovsiienko [off-list ref]
Cc: dev@dpdk.org; jerinj@marvell.com; nd@arm.com;
honnappa.nagarahalli@arm.com; Ruifeng Wang [off-list ref]
Subject: [PATCH v2 2/2] net/mlx5: reduce unnecessary memory access

MR btree len is a constant during Rx replenish.
Moved retrieve of the value out of loop to reduce data loads.
Slight performance uplift was measured on both N1SDP and x86.

Suggested-by: Slava Ovsiienko <redacted>
Signed-off-by: Ruifeng Wang <redacted>
Thank you for the update,
Acked-by: Viacheslav Ovsiienko <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help