It is an error returned by the DPDK driver, you'll need to check the DPDK 
driver code to be sure.
As an alternative, did you try to use VPP native AVF driver? 
https://s3-docs.fd.io/vpp/22.06/developer/devicedrivers/avf.html

Best
ben

> -----Original Message-----
> From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of
> jnhe...@gmail.com
> Sent: Monday, May 2, 2022 19:21
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] Help requested with VPP not working with 25G intel
> adapter #vpp-dev
> 
> Hello,
> 
> Trying to get an Intel adapter to work with VPP and cannot figure out the
> error. Any help is welcome and appreciated!
> 
> Adapter:  Intel(R) Ethernet Network Adapter E810-XXVDA2, driver: ice
> (version: 5.13.0-40-generic)
> VPP: v22.02
> Linux: kernel 5.13.0-40-generic, Ubuntu focal 20.04.3 LTS
> 
> When I use the adapter outside of VPP, it works just fine. But when
> interface is specified in /etc/vpp/startup.conf and started with vppctl, I
> see this in vpp (error on last line):
>  Is the error -1 as in EIO?
> 
> ________________________________
> 
> vpp# show hardware-interfaces TwentyFiveGigabitEthernet37/0/0
> 
>               Name                Idx   Link  Hardware
> 
> TwentyFiveGigabitEthernet37/0/0    1     up
> TwentyFiveGigabitEthernet37/0/0
> 
>   Link speed: 25 Gbps
> 
>   RX Queues:
> 
>     queue thread         mode
> 
>     0     main (0)       polling
> 
>   Ethernet address b4:96:91:a5:d0:0a
> 
>   Intel E810 Family
> 
>     carrier up full duplex max-frame-size 9018
> 
>     flags: maybe-multiseg tx-offload intel-phdr-cksum rx-ip4-cksum
> 
>     Devargs:
> 
>     rx: queues 1 (max 64), desc 1024 (min 64 max 4096 align 32)
> 
>     tx: queues 1 (max 64), desc 1024 (min 64 max 4096 align 32)
> 
>     pci: device 8086:159b subsystem 8086:0003 address 0000:37:00.00 numa 0
> 
>     max rx packet len: 9728
> 
>     promiscuous: unicast off all-multicast off
> 
>     vlan offload: strip off filter off qinq off
> 
>     rx offload avail:  vlan-strip ipv4-cksum udp-cksum tcp-cksum qinq-
> strip
> 
>                        outer-ipv4-cksum vlan-filter vlan-extend scatter
> timestamp
> 
>                        keep-crc rss-hash
> 
>     rx offload active: ipv4-cksum scatter
> 
>     tx offload avail:  vlan-insert ipv4-cksum udp-cksum tcp-cksum sctp-
> cksum
> 
>                        tcp-tso outer-ipv4-cksum qinq-insert multi-segs
> mbuf-fast-free
> 
>                        outer-udp-cksum
> 
>     tx offload active: ipv4-cksum udp-cksum tcp-cksum multi-segs
> 
>     rss avail:         ipv4-frag ipv4-tcp ipv4-udp ipv4-sctp ipv4-other
> ipv4
> 
>                        ipv6-frag ipv6-tcp ipv6-udp ipv6-sctp ipv6-other
> ipv6
> 
>                        l2-payload
> 
>     rss active:        none
> 
>     tx burst mode: Scalar
> 
>     tx burst function: (not available)
> 
>     rx burst mode: Scalar
> 
>     rx burst function: (not available)
> 
> 
> 
>     rx bytes ok                                      2613819
> 
>     rx missed                                          18468  Errors:
> 
>     rte_eth_dev_start[port:0, errno:-5]: Unknown error -5
> 
>   rte_eth_dev_start[port:0, errno:-5]: Unknown error -5
> 
> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21341): https://lists.fd.io/g/vpp-dev/message/21341
Mute This Topic: https://lists.fd.io/mt/90840787/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/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to