Device-to-device memory-transfer offload with P2PDMA
Device-to-device memory-transfer offload with P2PDMA
Posted Oct 4, 2018 15:57 UTC (Thu) by willy (subscriber, #9762)Parent article: Device-to-device memory-transfer offload with P2PDMA
Just because a parameter is called 'size' does not mean it should have type 'size_t'. In this case, it's a length of a (subset of a) BAR, and it can easily be 64-bit on a 32-bit kernel. Should probably be phys_addr_t (even though it's a length, not an address).
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
