> On 11 Apr 2019, at 13:57, Mohamed Mohamed via Lists.Fd.Io 
> <[email protected]> wrote:
> 
> Hi All:
> 
>  Today DPDK bind script will name the interfaces based on their PCI address 
> so for example if I have the following 2 interfaces
> 00:08.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet 
> Controller (rev 02)
> 00:09.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet 
> Controller (rev 02)
> 
> I will end up with :- 
> 
> GigabitEthernet0/8/0              1      up          1500/0/0/0     
> GigabitEthernet0/9/0              2      up          1500/0/0/0
> 
> 
> is there a mechanism today decouple the interface's name from its PCI address 
> ?  Ideally I like to have G0/0/0 and G0/0/1 for the above example.
> so regardless to where I deploy vpp I can use the same configs ?

You can assign whatever name you want, under some resonable constraints by 
using “name” option in startup.conf.

ie.

dpdk {
  dev 0000:3b:0a.0 {
    name eth0
  }
}

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

View/Reply Online (#12764): https://lists.fd.io/g/vpp-dev/message/12764
Mute This Topic: https://lists.fd.io/mt/31029751/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to