[dpdk-dev] [PATCH RFC] net/ena: Add Windows support.

Michał Krawczyk mk at semihalf.com
Mon Aug 30 09:11:57 CEST 2021


czw., 19 sie 2021 o 04:19 William Tu <u9012063 at gmail.com> napisał(a):
>
> So I finally set up everything on AWS and tested this patch.
> Virt2phys and netuio (I added ena conf) load OK.
> Finally, starting dpdk-testpmd, I got some errors below:
> ---
> PS C:\dpdk-kmods> cd c:\dpdk
> PS C:\dpdk> .\build\app\dpdk-testpmd.exe
> EAL: Detected 4 lcore(s)
> EAL: Detected 1 NUMA nodes
> EAL: Multi-process support is requested, but not available.
> EAL: WARNING: TSC frequency estimated roughly - clock timings may be
> less accurate.
> EAL: Requested device 0000:00:05.0 cannot be used
> EAL: Probe PCI driver: net_ena (1d0f:ec20) device: 0000:00:06.0 (socket 0)
> EAL: eth_ena_pci_probe[ENA_COM:
> ena_com_wait_and_process_admin_cq_interrupts]Invalid wait event.
> pthread ret: 1
> [ENA_COM: ena_com_wait_and_process_admin_cq_interrupts]The ena device
> sent a completion but the driver didn
> 't receive a MSI-X interrupt (cmd 9), autopolling mode is OFF
> [ENA_COM: ena_com_set_dev_mtu]Failed to set mtu 1500. error: -137
> ena_mtu_set(): Could not set MTU: 1500
> Failed to set MTU to 1500 for port 0
> testpmd: create a new mbuf pool <mb_pool_0>: n=171456, size=2176, socket=0
> testpmd: preferred mempool ops selected: ring_mp_mc
>
> Warning! port-topology=paired and odd forward ports number, the last
> port will pair with itself.
>
> Configuring Port 0 (socket 0)
> [ENA_COM: ena_com_create_io_cq]Failed to create IO CQ. error: -19
> ena_create_io_queue(): Failed to create IO queue[0] (qid:1), rc: -19
> ena_queue_start(): Failed to create IO queue
> ena_queue_start_all(): Failed to start queue[0] of type(1)
> Fail to start port 0: No such device
> Please stop the ports first
> Done
> Error during enabling promiscuous mode for port 0: Unknown error - ignore
> No commandline core given, start packet forwarding
> Not all ports were started
> ---
> I will see if I can fix these issues and I will submit v2 patch.
> Thanks

Hi William,

It's great to hear that you're working on ENA support for Windows!

ENA PMD uses admin interrupt for processing all the commands like
creating the IO queues, setting up the MTU, etc., and also for the
AENQ events. With the current driver design it's critical to have this
admin interrupt working.

It looks like the admin interrupt is not functional and from what I've
seen in the email regarding the v21.11 roadmap for the Windows
support, the netuio interrupt support is going to be added in the
future. That might be the reason for you seeing those errors.

Thanks,
Michal

> William


More information about the dev mailing list