slightly related: not sure if people notified, but recently I added option to 
specify interface name from the startup.conf.

i.e. 
dpdk {
  dev 0000:12:00.0 { name eth0 }
  dev 0000:12:00.1 { name eth1 }
}

An then config looks like:

set int ip address eth0 172.16.0.1/24
set int ip address eth1 172.16.1.1/24

much easier to type and reuse configs on different nics....

-- 
Damjan

> On 14 Dec 2018, at 21:26, sheckman <steve.heck...@arris.com> wrote:
> 
> Yes...I just figured that out....:-[
> 
> Thanks,
> Steve
> 
> On 12/14/2018 03:18 PM, Dave Barach (dbarach) wrote:
>> Yes, it can. The interface is called “HundredGigabitEthernetaf/­4/2” not 
>> “HundredGigabitEthernetaf/04/2”
>>  
>> The interface name is (u8 *) vector which is exact-matched, not parsed in 
>> any way which would make 04 equivalent to 4.
>>  
>> D.
>>  
>> From: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> <vpp-dev@lists.fd.io> 
>> <mailto:vpp-dev@lists.fd.io> On Behalf Of sheckman
>> Sent: Friday, December 14, 2018 2:52 PM
>> To: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>
>> Subject: [vpp-dev] Alphabetic PCI Major address
>>  
>> Can VPP (or VPP CLI) handle PCI addresses that start with "A-F"?
>>  
>> # lshw -c network -businfo | grep af
>> pci@0000:af:00.0 <mailto:pci@0000:af:00.0>  enp175s0f0  network        
>> MT28800 Family [ConnectX-5]
>> pci@0000:af:00.1 <mailto:pci@0000:af:00.1>  enp175s0f1  network        
>> MT28800 Family [ConnectX-5]
>> pci@0000:af:00.2 <mailto:pci@0000:af:00.2>  enp175s0f2  network        
>> MT28800 Family [ConnectX-5 
>> Virtual Function]
>> pci@0000:af:04.2 <mailto:pci@0000:af:04.2>  enp175s4f2  network        
>> MT28800 Family [ConnectX-5 
>> Virtual Function]
>>  
>> vpp# set interface mtu: unknown input `2000 HundredGigabitEthernetaf/...'
>> show interface
>>                Name               Idx    State  MTU 
>> (L3/IP4/IP6/MPLS)     Counter          Count
>> HundredGigabitEthernet18/4/2      2     down 2000/0/0/0
>> HundredGigabitEthernetaf/4/2      3     down 9000/0/0/0
>> local0                            0     down 0/0/0/0
>> tuntap-0                          1      up 0/0/0/0       rx 
>> packets                     2
>> rx bytes                      96
>> drops                          2
>> ip6                            2
>> vpp# set interface mtu 2000 HundredGigabitEthernetaf/04/2
>> set interface mtu: unknown input `2000 HundredGigabitEthernetaf/...'
>>  
>> Thanks,
>>  
>> Steve Heckman
>>  
>> Arris
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#11620): https://lists.fd.io/g/vpp-dev/message/11620 
> <https://lists.fd.io/g/vpp-dev/message/11620>
> Mute This Topic: https://lists.fd.io/mt/28755737/675642 
> <https://lists.fd.io/mt/28755737/675642>
> Group Owner: vpp-dev+ow...@lists.fd.io <mailto:vpp-dev+ow...@lists.fd.io>
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub 
> <https://lists.fd.io/g/vpp-dev/unsub>  [dmar...@me.com 
> <mailto:dmar...@me.com>]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11625): https://lists.fd.io/g/vpp-dev/message/11625
Mute This Topic: https://lists.fd.io/mt/28755737/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to