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 4AFD0455E2; Tue, 9 Jul 2024 12:18:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3CD88402AF; Tue, 9 Jul 2024 12:18:45 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 24B824028B for ; Tue, 9 Jul 2024 12:18:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1720520323; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Mx+d5sbZEjy3BMASpGlT1gUw4s0urrtaIvyH2BwTWT8=; b=YNTDK2Rp4UrSUb3yLieyK2mGo+iQWx0w8BbJnuR1n0d/WC8rEDzN1b6DhbRz601S8q6vD/ 0YuAYij8+rSd3+dxrZEAE374Mlbedli864RazmRNBzdVKzxhuMsISd4Rrf8isdejPcRjxh RpeNUZT7tC6BTKMey2G1gHqx99dH7II= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-584-1vhhEflQMIKJlex80V7L_Q-1; Tue, 09 Jul 2024 06:18:42 -0400 X-MC-Unique: 1vhhEflQMIKJlex80V7L_Q-1 Received: by mail-lj1-f199.google.com with SMTP id 38308e7fff4ca-2ee92048377so50195571fa.2 for ; Tue, 09 Jul 2024 03:18:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720520321; x=1721125121; h=content-transfer-encoding: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=Mx+d5sbZEjy3BMASpGlT1gUw4s0urrtaIvyH2BwTWT8=; b=v71rt6EH/pizhD2/KWiflIp6C4PwGEtrOuluEIoW8EQMUmfmCgJMo+G94mGvlpyZst 1tVBFAr8ZApmpS/1m/xvMUZGV1WR/SMUzjs+Htk4WuEMKPqBvLwGZUiokKq1PIDBNJ+Q tubMiMfmWPru/J/uaMv2xAeVm1zTeGMSZof0dW1sCJuuqAITYvFot28uBDFrSN/4QQ2w N4hMy1ia0pD0lsKMQmFU2B4aAWbgmTuFyF+ek+b/6+tku8A5vGSFRQ297uMNRsqseetI O3ElB8vLF1AQsUieQM308yDkPiWEr+liTppKOjxCbElnpqg/lnNPaZLRrY9GwaJdb+e0 Nipw== X-Forwarded-Encrypted: i=1; AJvYcCW89Yw26m9cCHDEonUpRrhAlz0hwvb08bi51NmKK4W2H+VBF+SXvjzxxxlv/t8U1XGxEoLYI52GnelnZWQ= X-Gm-Message-State: AOJu0YwI99CSSWnbgzUcDauO/16RGP12yr50N/FXoujP8WXBB2o0bMc/ g7TdxqvZl8wqsb4yqON9b+oP7DXjrQYleqYTPuA+H5bfimNBHQukdSx2xITx3adJlPrAoiLYDor CG5F4ESZ/zJnAuKxbR+9G38gWL/rNgRqRQWqQ/9Dixc11cRqrilgyok4MCmEeVwjCcvwovHFJR3 8YQDdlf/sZn6qx/iQ= X-Received: by 2002:a05:651c:1212:b0:2ee:8d05:db2 with SMTP id 38308e7fff4ca-2eeb30fe835mr18403031fa.29.1720520320831; Tue, 09 Jul 2024 03:18:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEXyLkUSvJWkyOIwLZU3nMpstxSeSU8RdePulebVb3fqEGd70wxcPRN6srIwmXE1kym9CGFhgkjqTPXnBurME0= X-Received: by 2002:a05:651c:1212:b0:2ee:8d05:db2 with SMTP id 38308e7fff4ca-2eeb30fe835mr18402941fa.29.1720520320509; Tue, 09 Jul 2024 03:18:40 -0700 (PDT) MIME-Version: 1.0 References: <20240628053458.78337-1-wenwux.ma@intel.com> <20240628095400.126083-1-wenwux.ma@intel.com> In-Reply-To: From: David Marchand Date: Tue, 9 Jul 2024 12:18:29 +0200 Message-ID: Subject: Re: [PATCH v2] dma/idxd: fix failure to configure a device instance for DSA To: Bruce Richardson , dev@dpdk.org Cc: Wenwu Ma , songx.jiale@intel.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Fri, Jun 28, 2024 at 12:26=E2=80=AFPM Bruce Richardson wrote: > > On Fri, Jun 28, 2024 at 05:54:00PM +0800, Wenwu Ma wrote: > > In ubuntu 24.04, DSA's workqueue has a new driver_name file in sysfs, > > DPDK needs to write a correct value to this file when configuring a dev= ice > > instance using the dpdk_idxd_cfg.py script, otherwise it will fail to b= e > > configured, this patch fixes the issue. Pointing at the kernel version would be useful too. I suppose this change is introduced with 7af1e0aceeb3 ("dmaengine: idxd: add wq driver name support for accel-config user tool"). Can you confirm? > > > > Signed-off-by: Wenwu Ma > > --- > Acked-by: Bruce Richardson > --=20 David Marchand