Re: [vpp-dev] Issue faced while bringing up kernel interfaces

2020-02-18 Thread Benoit Ganne (bganne) via Lists.Fd.Io
> Can you please elaborate on how we can achieve this through /sys/.. ?

See 
https://gerrit.fd.io/r/gitweb?p=vpp.git;a=blob;f=extras/scripts/pci-nic-bind-to-kernel
 for an example.

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

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


Re: [vpp-dev] Issue faced while bringing up kernel interfaces

2020-02-18 Thread Chinmaya Aggarwal
Can you please elaborate on how we can achieve this through /sys/.. ?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


Re: [vpp-dev] Issue faced while bringing up kernel interfaces

2020-02-18 Thread Benoit Ganne (bganne) via Lists.Fd.Io
When used through DPDK, the interfaces are bound to the vfio-pci kernel driver, 
you need to bind it back to the netdev driver instead. You can do this manually 
through /sys/... or use a tool such as DPDK devbind 
https://doc.dpdk.org/guides/tools/devbind.html

ben

> -Original Message-
> From: vpp-dev@lists.fd.io  On Behalf Of Chinmaya
> Aggarwal
> Sent: mardi 18 février 2020 08:06
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] Issue faced while bringing up kernel interfaces
> 
> Hi,
>   We have two interfaces (ens8 and ens9). We made an entry of pci address
> of both the interfaces in /etc/vpp/startup.conf and brought down the
> interfaces. On restarting VPP, we can see vpp interfaces corresponding to
> both the interfaces (GigabitEthernet0/8/0 and GigabitEthernet0/9/0). We
> now want to bring up the kernel interfaces again but we are facing error
> and the error is :- "ERROR while getting interface flags: No such device".
> We removed the pci address entry from /etc/vpp/startup.conf and restarted
> the vpp but still getting the same error while running "ifconfig ens8 up".
> But on rebooting the machine, we are able to see kernel interfaces in
> "ifconfig" command.
> Can you suggest what could be the way to detach kernel interfaces from vpp
> without rebooting and use it as normal nic?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


[vpp-dev] Issue faced while bringing up kernel interfaces

2020-02-17 Thread Chinmaya Aggarwal
Hi,
We have two interfaces (ens8 and ens9). We made an entry of pci address of both 
the interfaces in /etc/vpp/startup.conf and brought down the interfaces. On 
restarting VPP, we can see vpp interfaces corresponding to both the interfaces 
(GigabitEthernet0/8/0 and GigabitEthernet0/9/0). We now want to bring up the 
kernel interfaces again but we are facing error and the error is :- *"ERROR 
while getting interface flags: No such device".
* We removed the pci address entry from /etc/vpp/startup.conf and restarted the 
vpp but still getting the same error while running "ifconfig ens8 up". But on 
rebooting the machine, we are able to see kernel interfaces in "ifconfig" 
command. *
* Can you suggest what could be the way to detach kernel interfaces from vpp 
without rebooting and use it as normal nic?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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