summaryrefslogtreecommitdiff
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorAmit Cohen <amcohen@nvidia.com>2024-10-25 16:26:26 +0200
committerJakub Kicinski <kuba@kernel.org>2024-10-30 18:24:39 -0700
commit15f73e601a9c67aa83bde92b2d940a6532d8614d (patch)
tree9b7e479a7690142d5a6fa6146785a31e1ed6d94c /scripts/kconfig
parent0a66e5582b5102c4d7b866b977ff7c850c1174ce (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 <jiri@resnulli.us> Fixes: b5b60bb491b2 ("mlxsw: pci: Use page pool for Rx buffers allocation") Signed-off-by: Amit Cohen <amcohen@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Link: https://patch.msgid.link/461486fac91755ca4e04c2068c102250026dcd0b.1729866134.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/kconfig')
0 files changed, 0 insertions, 0 deletions