From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9C021A034F; Mon, 30 Aug 2021 09:12:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5F79D410F8; Mon, 30 Aug 2021 09:12:09 +0200 (CEST) Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) by mails.dpdk.org (Postfix) with ESMTP id 89026410F6 for ; Mon, 30 Aug 2021 09:12:08 +0200 (CEST) Received: by mail-ed1-f53.google.com with SMTP id eb14so10907233edb.8 for ; Mon, 30 Aug 2021 00:12:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=qYBBuNYY0xblDqGoC7uidsJS09qKN94RIgGoumiqpRo=; b=qqemCnKQ3nX1dsGy6nFJEDIfkGNiIE5PgnM30hbOh4rlbhHoRRic8ctXxvTA+6p0PV uL9CGHfMKyiCQqzoSR6fMUZqymmld3ZgCd1xEqtEEG61XpJsGWJo2by7W1K3Rk8xkBKe VditHrkewBwDnqSdl9TbZOa+m50QgJZPAta+9N83WbuSsWsdmvBgqZSMTfTtmAN36AuM arCnGQqs/NG+cG8ZbMEvqRWne+cxAUg+0hKgrcFh/AlMqfHGp9uwRYp7vbHyWevqfNTU X/nOleqAg+uyFxXziCfzXs7gJ1h4T4UDo0njQdHDAAJo+STO9v49MBqmLpl0rA6SQZMr di8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=qYBBuNYY0xblDqGoC7uidsJS09qKN94RIgGoumiqpRo=; b=icjIUihSTw+oEu56hrnhM0u/v1ODAA+u+DRjFgtBkbEqBMiLDZz0W5pfbyPFZxDDPk KMqU4XcktmmR93Nm3N++8I7kXWJpdA1iZJWTmn+M1IwHzyI9s/xtl3IQ/0tViO310t3Y Tdt/4c+buFlo7o0y92F1zTlfLjsZT98vZiK0QEblDuKmF3Vw1QqmIGSwMq0hAqGxO+2m WeIstOa3f7w9GEkOjB1tZRtNBzjSG8+SShTBI+m9iyzSFa3zNU4jywHHFLNtSMzcCbhA cje26RByC2GMqGS+4J4EqjqjSaSh9U9oHTU01C62T3jbz9FHM16zGXH7BYL5ucncbnw5 F4Ow== X-Gm-Message-State: AOAM533c8BmtKrT68NML1irgqbkaokNPBQ0Xu1dSOsxfZjzzK5TcSPB+ dgnWrFsy15eTPd0QiJ+pPvxmzdvEfucHY1Dv7l6+PQ== X-Google-Smtp-Source: ABdhPJwRXxAgK3v+OkMJVHz++in8n8MtCZftKDV1tfIc1JsvegbWIKoDByygqo7CKmg5qo7mQdWB05Nuq8Kj95IEMrQ= X-Received: by 2002:a05:6402:5:: with SMTP id d5mr22423399edu.359.1630307528265; Mon, 30 Aug 2021 00:12:08 -0700 (PDT) MIME-Version: 1.0 References: <20210814033609.58553-1-u9012063@gmail.com> <20210814143108.128803ef@sovereign> In-Reply-To: From: =?UTF-8?Q?Micha=C5=82_Krawczyk?= Date: Mon, 30 Aug 2021 09:11:57 +0200 Message-ID: To: William Tu Cc: Dmitry Kozlyuk , dpdk-dev , Igor Chauskin , Evgeny Schemeilin , Shai Brandes , Marcin Wojtas , Narcisa Ana Maria Vasile Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH RFC] net/ena: Add Windows support. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" czw., 19 sie 2021 o 04:19 William Tu napisa=C5=82(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 : n=3D171456, size=3D2176, soc= ket=3D0 > testpmd: preferred mempool ops selected: ring_mp_mc > > Warning! port-topology=3Dpaired 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