src/dpdk/drivers/common/octeontx2/otx2_mbox.h
static inline void
otx2_mbox_memset(volatile void *d, uint8_t val, size_t l)
{
	volatile uint8_t *db;
	size_t i = 0;

	if (!d || !l)
		return;
	db = (volatile uint8_t *)d;
	for (i = 0; i < l; i++)
		db[i] = val;
}
/* This is required for memory operations from device memory which do not
 * work on addresses which are unaligned to 16B. This is because of specific
 * optimizations to libc memset.
 */
This is required for memory operations from device memory which do not
work on addresses which are unaligned to 16B. This is because of specific
optimizations to libc memset.
This is required for memory operations from device memory which do not work on addresses which are unaligned to 16B . This is because of specific optimizations to libc memset .
static inline void
otx2_mbox_memset(volatile void *d, uint8_t val, size_t l)
{
	volatile uint8_t *db;
	size_t i = 0;
	if (!d || !l)
		return;
	db = (volatile uint8_t *)d;
	for (i = 0; i < l; i++)
		db[i] = val;
}
static inline void otx2_mbox_memset ( volatile void * d , uint8_t val , size_t l ) { volatile uint8_t * db ; size_t i = 0 ; if ( ! d || ! l ) return ; db = ( volatile uint8_t * ) d ; for ( i = 0 ; i < l ; i ++ ) db [ i ] = val ; }
This is required for memory operations from device memory which do not
 work on addresses which are unaligned to 16B.
This is required for memory operations from device memory which do not work on addresses which are unaligned to 16B .