eal: add generic I/O device read/write implementation
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Wed, 18 Jan 2017 01:21:24 +0000 (06:51 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 18 Jan 2017 16:12:05 +0000 (17:12 +0100)
commit4540fbb2ae41ec7f7d1fdcb42d858690ba9f2016
treeb6f1a095e3fcf95b7f55ead161f5a9c4604066ca
parent69736db1d80d365199b5be55591878c5542aaf33
eal: add generic I/O device read/write implementation

This patch implements the generic version of rte_read[b/w/l/q]_[relaxed]
and rte_write[b/w/l/q]_[relaxed] using rte_io_wmb() and rte_io_rmb()

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
lib/librte_eal/common/include/generic/rte_io.h