diff options
author | Amit Cohen <[email protected]> | 2024-10-25 16:26:26 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-10-30 18:24:39 -0700 |
commit | 15f73e601a9c67aa83bde92b2d940a6532d8614d (patch) | |
tree | 9b7e479a7690142d5a6fa6146785a31e1ed6d94c /tools/perf/scripts/python/stackcollapse.py | |
parent | 0a66e5582b5102c4d7b866b977ff7c850c1174ce (diff) |
mlxsw: pci: Sync Rx buffers for CPU
When Rx packet is received, drivers should sync the pages for CPU, to
ensure the CPU reads the data written by the device and not stale
data from its cache.
Add the missing sync call in Rx path, sync the actual length of data for
each fragment.
Cc: Jiri Pirko <[email protected]>
Fixes: b5b60bb491b2 ("mlxsw: pci: Use page pool for Rx buffers allocation")
Signed-off-by: Amit Cohen <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: Petr Machata <[email protected]>
Link: https://patch.msgid.link/461486fac91755ca4e04c2068c102250026dcd0b.1729866134.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions