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
build: replace meson OS detection with variable
[dpdk.git]
/
examples
/
vdpa
/
main.c
diff --git
a/examples/vdpa/main.c
b/examples/vdpa/main.c
index
6d6831f
..
d9a9112
100644
(file)
--- a/
examples/vdpa/main.c
+++ b/
examples/vdpa/main.c
@@
-331,7
+331,7
@@
static void cmd_create_vdpa_port_parsed(void *parsed_result,
cmdline_printf(cl, "Unable to parse the given bdf.\n");
return;
}
cmdline_printf(cl, "Unable to parse the given bdf.\n");
return;
}
- addr.type =
PCI_ADDR
;
+ addr.type =
VDPA_ADDR_PCI
;
did = rte_vdpa_find_device_id(&addr);
if (did < 0) {
cmdline_printf(cl, "Unable to find vdpa device id.\n");
did = rte_vdpa_find_device_id(&addr);
if (did < 0) {
cmdline_printf(cl, "Unable to find vdpa device id.\n");