diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2013-03-05 21:49:39 +0400 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2013-03-06 21:57:25 +0400 |
commit | c73e787a8db9117d59b5180baf83203a42ecadca (patch) | |
tree | 0b698120c031b71eb49c0221729fdc386764b6c9 /drivers/net/ethernet/via | |
parent | 35205b211c8d17a8a0b5e8926cb7c73e9a7ef1ad (diff) | |
download | linux-c73e787a8db9117d59b5180baf83203a42ecadca.tar.xz |
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 b590ace09d51
('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: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/via')
0 files changed, 0 insertions, 0 deletions