aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/avf
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-09-24 20:30:32 +0200
committerDamjan Marion <damarion@cisco.com>2018-09-24 20:30:38 +0200
commit61f702bdd09e569bf9b3ef05d2040de5540fb8db (patch)
treef8c92fb53c0743a234e86d9a64f42b74e60ee90c /src/plugins/avf
parentcf7efe01e791fd1aa688624194e6e2ffffd8f97f (diff)
avf: rename interface name
Change-Id: I4a1dca92a69547f8b26e9aec7574332f39e43c37 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/avf')
-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;
}