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 62006A0C48; Tue, 20 Jul 2021 15:51:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 49FF44068F; Tue, 20 Jul 2021 15:51:36 +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 C942940689 for ; Tue, 20 Jul 2021 15:51:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626789094; 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: in-reply-to:in-reply-to:references:references; bh=RJ2Vw7oGzskaynZ/O8qwACUmBprkg05jIJXWh1iL1HQ=; b=MR6qZ6WlzTdvkpn6TcYK5ySgop1A3S7Pi7qLajeEM7z0coSzg2doepKhc5j/49v2bkNQr3 KFOWD2BUWeq0N+UnbmoCE/9qY76wZUruB+RgKaunvUI8sA31jQWy6O6DUiKJgLrl/N6ncL swWncYqjBX1ROtPlJcJ0Ub/Jd4DLaHg= Received: from mail-vs1-f70.google.com (mail-vs1-f70.google.com [209.85.217.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-296-j9JyBzz5NPSRiRsPQYbX3g-1; Tue, 20 Jul 2021 09:51:33 -0400 X-MC-Unique: j9JyBzz5NPSRiRsPQYbX3g-1 Received: by mail-vs1-f70.google.com with SMTP id a15-20020a056102014fb029028cb7648cbfso4888650vsr.15 for ; Tue, 20 Jul 2021 06:51:33 -0700 (PDT) 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; bh=RJ2Vw7oGzskaynZ/O8qwACUmBprkg05jIJXWh1iL1HQ=; b=dhR8E0tUW65txWbGPxOT/j4dwWSQ0165Z/twYbM8XjevNQCxtfKxBSFJMrtrMHFV5K 8cRJ4ktAH+P75+sRseyGI/yJ3M52nbwbLZt0bI8zxlIoaKnlk4Bi0Kk+odbEgT6lChRW MlTgc+qruMJWx0wTpf9q8bK2QVPzouu8D4PbGm7yjCQYoyTFQC4pSOkxgb/a8dhKAQRU rriGsL23iE7LXzQMnIRqe7O9htnImFGI+dVzosNGExx8/li0LtrnNZg6fWhIIxkCwvva ThfO3XD5zKk/YWJMerv74sZkqlZPAxXIu6cakrP7v+qYRS+UsybZFYigWALgGYeVAcdD QPjA== X-Gm-Message-State: AOAM5302Yc8/F1BjhlunRgzCf2rZVz5W4Vt0Dz0+A/iA/QzyKZ+bCp6H ipU3NYNuqlADZ+QZTPis+glfIpYPCRwhwsvQlt3PLsHLcRqVFeW0Zf+ce21z/tR9k3YO2eaRDEc Gbsb1YCUeDJ8kULOZq8c= X-Received: by 2002:a05:6102:c16:: with SMTP id x22mr28717539vss.27.1626789092801; Tue, 20 Jul 2021 06:51:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYm+bYDvUDT+U2sMwwWfT6i51on+Fh+NS1kHAoe/c5SN3+A2nLap+i9oRANV0/MO3xFU3GVcYiCzsQJfGbDzg= X-Received: by 2002:a05:6102:c16:: with SMTP id x22mr28717519vss.27.1626789092644; Tue, 20 Jul 2021 06:51:32 -0700 (PDT) MIME-Version: 1.0 References: <20210716135027.30855-1-konstantin.ananyev@intel.com> In-Reply-To: From: David Marchand Date: Tue, 20 Jul 2021 15:51:21 +0200 Message-ID: To: Konstantin Ananyev Cc: Bruce Richardson , dev Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] raw/ioat: fix termination descriptor for batch 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" On Fri, Jul 16, 2021 at 4:28 PM Bruce Richardson wrote: > > On Fri, Jul 16, 2021 at 02:50:27PM +0100, Konstantin Ananyev wrote: > > When batch_size == 1, idxd has to add a dummy termination descriptor > > to satisfy HW requirements. > > Right now it uses NOP descriptor with FENCE flag. > > This is excessive and fencing can slowdown things quite significantly. > > The patch removes FENCE flag from termination dummy descriptor. > > That helps to improve performance for no-burst scenarios. > > > > Fixes: 245efe544d8e ("raw/ioat: report status of completed jobs") > > > > Signed-off-by: Konstantin Ananyev > Acked-by: Bruce Richardson Applied, thanks. -- David Marchand