HI,

VPP doesn't detect the i40e driver interface. Any help would be appreciated ?

stack@gna200405:~/devstack$ sudo vppctl show interface
Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     Counter          
Count
BondEthernet0                     2     down         9000/0/0/0
local0                            0     down          0/0/0/0
loop0                             1      up          9000/0/0/0

stack@xxx:~/devstack$ cat /etc/vpp/startup.conf
unix {
nodaemon
log /tmp/vpp.log
full-coredump
startup-config /etc/vpp-startup.conf
cli-listen /run/vpp/cli.sock
gid vpp
}

api-trace {
on
}

api-segment {
gid vpp
}

socksvr {
default
}

dpdk {
dev default {
num-rx-queues 30
tso off
}
uio-driver vfio-pci
dev 0000:02:00.0
dev 0000:02:00.3
#        socket-mem 128
}
stack@xxx:~/devstack$ sudo vppctl show pci
Address      Sock VID:PID     Link Speed   Driver          Product Name         
           Vital Product Data
0000:02:00.0   0  8086:1572   8.0 GT/s x8  i40e            Cisco(R) Ethernet 
Converged NIC  PN: X710-DA4
V0: 0x 4d 41 50 20 35 2e 31 36 ...
MN: 1137
RV: 0x 2e
0000:02:00.1   0  8086:1572   8.0 GT/s x8  i40e            Cisco(R) Ethernet 
Converged NIC  PN: X710-DA4
V0: 0x 4d 41 50 20 35 2e 31 36 ...
MN: 1137
RV: 0x 2e
0000:02:00.2   0  8086:1572   8.0 GT/s x8  i40e            Cisco(R) Ethernet 
Converged NIC  PN: X710-DA4
V0: 0x 4d 41 50 20 35 2e 31 36 ...
MN: 1137
RV: 0x 2e
0000:02:00.3   0  8086:1572   8.0 GT/s x8  i40e            Cisco(R) Ethernet 
Converged NIC  PN: X710-DA4
V0: 0x 4d 41 50 20 35 2e 31 36 ...
MN: 1137
RV: 0x 2e
0000:06:00.0   0  8086:1572   8.0 GT/s x8  i40e            Cisco(R) Ethernet 
Converged NIC  PN: X710-DA4
V0: 0x 4d 41 50 20 35 2e 31 36 ...
MN: 1137
RV: 0x 2e
0000:06:00.1   0  8086:1572   8.0 GT/s x8  i40e            Cisco(R) Ethernet 
Converged NIC  PN: X710-DA4
V0: 0x 4d 41 50 20 35 2e 31 36 ...
MN: 1137
RV: 0x 2e
0000:06:00.2   0  8086:1572   8.0 GT/s x8  i40e            Cisco(R) Ethernet 
Converged NIC  PN: X710-DA4
V0: 0x 4d 41 50 20 35 2e 31 36 ...
MN: 1137
RV: 0x 2e
0000:06:00.3   0  8086:1572   8.0 GT/s x8  i40e            Cisco(R) Ethernet 
Converged NIC  PN: X710-DA4
V0: 0x 4d 41 50 20 35 2e 31 36 ...
MN: 1137
RV: 0x 2e
0000:0a:00.0   0  8086:1521   5.0 GT/s x4  igb             Cisco  I350-TX 1Gig 
LOM          PN: I350-TX
V0: 0x 31 2e 36 2e 33 2d 32 2e ...
MN: 1137
RV: 0x be
0000:0a:00.1   0  8086:1521   5.0 GT/s x4  igb             Cisco  I350-TX 1Gig 
LOM          PN: I350-TX
V0: 0x 31 2e 36 2e 33 2d 32 2e ...
MN: 1137
RV: 0x be

stack@xxx:~/devstack$ cat /etc/dpdk/interfaces
#
# <bus> Currently only "pci" is supported
# <id> Device ID on the specified bus
# <driver> Driver to bind against (vfio-pci, uio_pci_generic, igb_uio or
#               rte_kni)
#
# Be aware that the two dpdk compatible drivers uio_pci_generic and vfio-pci are
# part of linux-image-extra-<VERSION> package.
# This package is not always installed by default - for example in cloud-images.
# So please install it in case you run into missing module issues.
#
# For the module igb_uio, please install the dpdk-igb-uio-dkms package.
#
# <bus> <id> <driver>
# pci 0000:04:00.0 vfio-pci
# pci 0000:04:00.1 uio_pci_generic
# pci 0000:05:00.0 igb_uio
0000:02:00.0 vfio-pci
0000:02:00.1 vfio-pci
0000:06:00.0 vfio-pci
0000:06:00.1 vfio-pci

gna@xxxx~$ ethtool -i enp2s0f0
driver: i40e
version: 2.8.20-k
firmware-version: 5.05 0x80002b50 0.385.33
expansion-rom-version:
bus-info: 0000:02:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21976): https://lists.fd.io/g/vpp-dev/message/21976
Mute This Topic: https://lists.fd.io/mt/94169841/21656
Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to