avf: rename interface name 53/14953/1
authorDamjan Marion <damarion@cisco.com>
Mon, 24 Sep 2018 18:30:32 +0000 (20:30 +0200)
committerDamjan Marion <damarion@cisco.com>
Mon, 24 Sep 2018 18:30:38 +0000 (20:30 +0200)
Change-Id: I4a1dca92a69547f8b26e9aec7574332f39e43c37
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/plugins/avf/README.md
src/plugins/avf/format.c

index 995a557..d1a8416 100644 (file)
@@ -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
index 32b9d3f..4eab319 100644 (file)
@@ -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;
 }