diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-10-04 07:21:15 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-07 16:47:07 -0700 |
commit | 5546da79e6cc5bb3324bf25688ed05498fd3f86d (patch) | |
tree | decf6dd6b421f56e7f132026dce5eee9b0e6005c /drivers/spi/spi-pxa2xx.c | |
parent | 5c14e51d2d7df49fe0d4e64a12c58d2542f452ff (diff) | |
download | lwn-5546da79e6cc5bb3324bf25688ed05498fd3f86d.tar.gz lwn-5546da79e6cc5bb3324bf25688ed05498fd3f86d.zip |
Revert "net: stmmac: set PP_FLAG_DMA_SYNC_DEV only if XDP is enabled"
This reverts commit b514c47ebf41a6536551ed28a05758036e6eca7c.
The commit describes that we don't have to sync the page when
recycling, and it tries to optimize that case. But we do need
to sync after allocation. Recycling side should be changed to
pass the right sync size instead.
Fixes: b514c47ebf41 ("net: stmmac: set PP_FLAG_DMA_SYNC_DEV only if XDP is enabled")
Reported-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/20241004070846.2502e9ea@kernel.org
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Furong Xu <0x1207@gmail.com>
Link: https://patch.msgid.link/20241004142115.910876-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.c')
0 files changed, 0 insertions, 0 deletions