[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130810.132935.1257046025460198490.davem@davemloft.net>
Date: Sat, 10 Aug 2013 13:29:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: stephen@...workplumber.org
Cc: pomidorabelisima@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net] skge: add dma_mapping check
From: Stephen Hemminger <stephen@...workplumber.org>
Date: Sat, 10 Aug 2013 10:41:00 -0700
> The DMA debug check insists that the call to sync_single has
> to be the same length as the mapping. The driver is only bothering
> to sync the bytes that matter (got received) rather than the whole
> map.
>
> In reality that is not required, but I will make a patch anyway.
PCI and other system controllers will prefetch, I think it can matter.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists