1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2019 Marvell International Ltd.
8 #include <rte_common.h>
13 /* AQM Virtual Function Registers */
14 #define AQMQ_QSZX(_i) (0x20008 + ((_i)*0x40000))
16 static inline uint64_t
17 nitrox_read_csr(uint8_t *bar_addr, uint64_t offset)
19 return rte_read64(bar_addr + offset);
23 nitrox_write_csr(uint8_t *bar_addr, uint64_t offset, uint64_t value)
25 rte_write64(value, (bar_addr + offset));
28 #endif /* _NITROX_CSR_H_ */