Re: [PATCH net-next v2] net/rds: Use DMA memory pool allocation for rds_header

2019-10-03 Thread David Miller
From: Ka-Cheong Poon Date: Wed, 2 Oct 2019 21:11:08 -0700 > Currently, RDS calls ib_dma_alloc_coherent() to allocate a large piece > of contiguous DMA coherent memory to store struct rds_header for > sending/receiving packets. The memory allocated is then partitioned > into struct rds_header.

[PATCH net-next v2] net/rds: Use DMA memory pool allocation for rds_header

2019-10-02 Thread Ka-Cheong Poon
Currently, RDS calls ib_dma_alloc_coherent() to allocate a large piece of contiguous DMA coherent memory to store struct rds_header for sending/receiving packets. The memory allocated is then partitioned into struct rds_header. This is not necessary and can be costly at times when memory is fragm