Skip to content
Commit c73e787a authored by Ben Hutchings's avatar Ben Hutchings
Browse files

sfc: Correct efx_rx_buffer::page_offset when EFX_PAGE_IP_ALIGN != 0



RX DMA buffers start at an offset of EFX_PAGE_IP_ALIGN bytes from the
start of a cache line.  This offset obviously needs to be included in
the virtual address, but this was missed in commit b590ace0
('sfc: Fix efx_rx_buf_offset() in the presence of swiotlb') since
EFX_PAGE_IP_ALIGN is equal to 0 on both x86 and powerpc.

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
parent 35205b21
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment