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 <vpp-dev@lists.fd.io> On Behalf Of sheckman
Sent: Friday, December 14, 2018 2:52 PM
To: 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 (#11618): https://lists.fd.io/g/vpp-dev/message/11618
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