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 3EF3EA09D3 for ; Thu, 20 Oct 2022 11:02:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FBD142C7C; Thu, 20 Oct 2022 11:02:17 +0200 (CEST) Received: from mail-io1-f46.google.com (mail-io1-f46.google.com [209.85.166.46]) by mails.dpdk.org (Postfix) with ESMTP id EF0E2427F5 for ; Thu, 20 Oct 2022 11:02:15 +0200 (CEST) Received: by mail-io1-f46.google.com with SMTP id 187so16611624iov.10 for ; Thu, 20 Oct 2022 02:02:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=argonnetech.net; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=eDP1uS4vG4BhTDholDeHIl4ADz7oqln2+5gcQberM20=; b=mtBxC1Gk7NCMIHl/8uJmvwwEkaYhtoR/+ftt6c9p9MjZdYNHJBFIHS3Ig88X4yAMib MsUYxH4UnWA4sjPQBFkQXUyBx6+hvFdJjVONTVUwVA4DC9kBD5YOMOvBRJ2YkRduARyR kv5KoCIVUftCq7bQAzM3OfY2tTDpD4CqG0UItQzRaCx/HfZCjEciiOgB1ojdMHz/cKu8 EXcsVb8o6xLiKJ7jGTpN+JiBzlI/GSlFs+Y7l/K9MQSqWZeqYkUVclC1m8YOmDwjNG1u z3RFbrSZ5coIEQoDkGvIZO4i8ecDYUZ7C4a8WGc83JcLqa9DJtJdGGYFcHA/dN2N+3y0 Fwbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eDP1uS4vG4BhTDholDeHIl4ADz7oqln2+5gcQberM20=; b=M8M47ljGt3Vrdlvt90tIfuwgZPU55Lqtw2UKQ9DceBUsaY/tEvFkrRNd/YHqQjhX0Z 02hw1m9xwh72toGN9QWmmd6ZMJUExc2u7HsRhzBgbCDHyGJvIFWIjaWJdQSp5Xfk1Bvw /4VOI6S94EiscGYeULqyKwbP41mWJXlJLCZjp8q6cvWAa7RcKAM13yBUvKLVE9I2LrC/ wNVbUAdb8okJFbYJrB3zWgAUrmXJ3IOt3HpQKHDbkchvgxF79DSRD+srKI4/HD74RB+X OF3xvnmL5DaKN0R8Z8iR0ZrE1UZzcriime4vCi7+hTtIzvCxKKYZccMRMMGP9tRn31is o98A== X-Gm-Message-State: ACrzQf1LMgsCB7o3ptmrJeBECCDRH+CPU9l8ZnZ6MPo/BhLT9gPSQSKL Rlf0K9uNo/u7ePj7aRYzS+8XWsQfpk5sWcGlTCR4uVnkqI9ZZA== X-Google-Smtp-Source: AMsMyM7TwfI2n8GrSd3gWJaoF2l2/qU3oB5Ueo29c2GLYlfXnQzIA3Kf9Y4osGICwFOWpJ+QcxtAxIDlxfHluVXsc5w= X-Received: by 2002:a6b:5d08:0:b0:6bb:f915:4a33 with SMTP id r8-20020a6b5d08000000b006bbf9154a33mr7847719iob.2.1666256535165; Thu, 20 Oct 2022 02:02:15 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Anna Tauzzi Date: Thu, 20 Oct 2022 11:02:04 +0200 Message-ID: Subject: Re: AMD PTDMA support To: Antonio Di Bacco Cc: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000e2326705eb7394e9" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --000000000000e2326705eb7394e9 Content-Type: text/plain; charset="UTF-8" I was able to make it work with: *) IOMMU disabled *) binding the device with uio_pci_generic (igb_uio not available on Ubuntu 22.04) *) disabling the "Above 4GB decoding" in the BIOS Launching the rawdev_autotest in dpdk-test Il giorno mer 19 ott 2022 alle ore 21:57 Antonio Di Bacco < a.dibacco.ks@gmail.com> ha scritto: > Anyone using the PTDMA in DPDK? > > I applied a patch from sebastian selwin to dpdk 21.11 (ABI22). > Then I chose rawdev_autotest in dpdk-test but I get this error: > > ### Run selftest on each available rawdev > Running Copy Tests > In test_enqueue_copies:71 - Error with rte_ptdma_completed_ops - 1 > Rawdev 0 (0000:04:00.2) selftest: Failed > Test Failed > RTE>> > --000000000000e2326705eb7394e9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I was able to make it work with:

*) IOM= MU disabled
*) binding the device with uio_pci_generic (igb_uio n= ot available on Ubuntu 22.04)
*) disabling the "Above 4GB de= coding" in the BIOS

=C2=A0Launching the rawde= v_autotest in dpdk-test

Il giorno mer 19 ott 2022 alle ore 21:57 Anto= nio Di Bacco <a.dibacco.ks@gma= il.com> ha scritto:
Anyone using the PTDMA in DPDK?

I applied a patch from sebastian selwin to dpdk 21.11 (ABI22).
Then I chose rawdev_autotest in dpdk-test but I get this error:

### Run selftest on each available rawdev
Running Copy Tests
In test_enqueue_copies:71 - Error with rte_ptdma_completed_ops - 1
Rawdev 0 (0000:04:00.2) selftest: Failed
Test Failed
RTE>>
--000000000000e2326705eb7394e9--