summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/avf/README.md2
-rw-r--r--src/plugins/avf/format.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/avf/README.md b/src/plugins/avf/README.md
index 995a557a467..d1a8416621a 100644
--- a/src/plugins/avf/README.md
+++ b/src/plugins/avf/README.md
@@ -79,7 +79,7 @@ setup 0000:3b:00.1 00:11:22:33:44:01
Interfaces can be dynamically created by using following CLI:
```
create interface avf 0000:3b:02.0
-set int state AVF0/3b/2/0 up
+set int state avf-0/3b/2/0 up
```
### Interface Deletion
diff --git a/src/plugins/avf/format.c b/src/plugins/avf/format.c
index 32b9d3f14a6..4eab3198766 100644
--- a/src/plugins/avf/format.c
+++ b/src/plugins/avf/format.c
@@ -30,7 +30,7 @@ format_avf_device_name (u8 * s, va_list * args)
avf_device_t *ad = vec_elt_at_index (am->devices, i);
vlib_pci_addr_t *addr = vlib_pci_get_addr (ad->pci_dev_handle);
- s = format (s, "AVF%x/%x/%x/%x",
+ s = format (s, "avf-%x/%x/%x/%x",
addr->domain, addr->bus, addr->slot, addr->function);
return s;
}