qcacmn: Store the DMA address in the TSO meta data
Store the DMA address in the TSO meta data as opposed to storing the higher and lower bits separately. The DMA address can be convering to higher and lower 32 bit addresses if needed by the hardware at a later point. Change-Id: Iff706ca980ee86400952e8b3087a619f4a2728e1 CRs-Fixed: 1024169
This commit is contained in:

committed by
Akash Patel

orang tua
2bb5098d5e
melakukan
5cfd37e211
@@ -1203,6 +1203,19 @@ static inline void qdf_nbuf_reset_num_frags(qdf_nbuf_t buf)
|
||||
__qdf_nbuf_reset_num_frags(buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_dmaaddr_to_32s - return high and low parts of dma_addr
|
||||
*
|
||||
* Returns the high and low 32-bits of the DMA addr in the provided ptrs
|
||||
*
|
||||
* Return: N/A
|
||||
*/
|
||||
static inline void qdf_dmaaddr_to_32s(qdf_dma_addr_t dmaaddr,
|
||||
uint32_t *lo, uint32_t *hi)
|
||||
{
|
||||
return __qdf_dmaaddr_to_32s(dmaaddr, lo, hi);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_nbuf_is_tso() - is the network buffer a jumbo packet?
|
||||
* @buf: Network buffer
|
||||
|
Reference in New Issue
Block a user