Searched refs:OTX2_ALIGN (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | common.h | 16 #define OTX2_ALIGN 128 /* Align to cacheline */ macro 66 qmem->alloc_sz = (qsize * entry_sz) + OTX2_ALIGN; in qmem_alloc() 74 aligned_addr = ALIGN((u64)qmem->iova, OTX2_ALIGN); in qmem_alloc()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | common.h | 12 #define OTX2_ALIGN 128 /* Align to cacheline */ macro 62 qmem->alloc_sz = (qsize * entry_sz) + OTX2_ALIGN; in qmem_alloc() 70 aligned_addr = ALIGN((u64)qmem->iova, OTX2_ALIGN); in qmem_alloc()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.h | 22 #define OTX2_DATA_ALIGN(X) ALIGN(X, OTX2_ALIGN) 23 #define OTX2_HEAD_ROOM OTX2_ALIGN
|
H A D | otx2_common.c | 476 buf = napi_alloc_frag(pool->rbsize + OTX2_ALIGN); in __otx2_alloc_rbuf() 480 buf = PTR_ALIGN(buf, OTX2_ALIGN); in __otx2_alloc_rbuf() 1099 err = qmem_alloc(pfvf->dev, &pool->fc_addr, 1, OTX2_ALIGN); in otx2_aura_init()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.h | 20 #define OTX2_DATA_ALIGN(X) ALIGN(X, OTX2_ALIGN) 21 #define OTX2_HEAD_ROOM OTX2_ALIGN
|
H A D | otx2_common.c | 531 sz = ALIGN(sz, OTX2_ALIGN); in otx2_alloc_pool_buf() 549 buf = napi_alloc_frag_align(pool->rbsize, OTX2_ALIGN); in __otx2_alloc_rbuf() 1295 err = qmem_alloc(pfvf->dev, &pool->fc_addr, 1, OTX2_ALIGN); in otx2_aura_init()
|
H A D | otx2_pf.c | 1446 return ALIGN(pf->hw.rbuf_len, OTX2_ALIGN) + OTX2_HEAD_ROOM; in otx2_get_rbuf_size()
|
Completed in 12 milliseconds