git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mbuf: rename physical address to IOVA
[dpdk.git]
/
drivers
/
net
/
virtio
/
virtqueue.h
diff --git
a/drivers/net/virtio/virtqueue.h
b/drivers/net/virtio/virtqueue.h
index
235f8c5
..
6c90d37
100644
(file)
--- a/
drivers/net/virtio/virtqueue.h
+++ b/
drivers/net/virtio/virtqueue.h
@@
-79,7
+79,7
@@
struct rte_mbuf;
#define VIRTIO_MBUF_ADDR(mb, vq) \
((uint64_t)(*(uintptr_t *)((uintptr_t)(mb) + (vq)->offset)))
#else
-#define VIRTIO_MBUF_ADDR(mb, vq) ((mb)->buf_
physaddr
)
+#define VIRTIO_MBUF_ADDR(mb, vq) ((mb)->buf_
iova
)
#endif
/**