From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 32FBAA04B7; Tue, 13 Oct 2020 21:07:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2972B1D906; Tue, 13 Oct 2020 21:07:12 +0200 (CEST) Received: from mail-il1-f194.google.com (mail-il1-f194.google.com [209.85.166.194]) by dpdk.org (Postfix) with ESMTP id A545E1D6AB for ; Tue, 13 Oct 2020 21:07:09 +0200 (CEST) Received: by mail-il1-f194.google.com with SMTP id d16so1488128iln.10 for ; Tue, 13 Oct 2020 12:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nDdzZiRcJQ3WiyFW9FsXkYeVC1k3LlpTRcV3gfEhyzQ=; b=a3OOzn72q9UweMuMl6osQLhFS/Koy7NOBWvxIcuuZdvHNaSqLwgWUiuQpdiHfCAEt9 0sKSlggSFDWxq35qDtUfhccFe6Eck9oOjCPztK6bMyXhGBDhDhl/cWS1vYVUU5EuJgUo 2NmG82GilQr+9bcAR/nYVDLCrUc9fOxpwZDaFUpk+ffhuR+bKGopFM1VZ4pYp/2YjLgb SFbkwtgh8LBJ3mTIKhY83ylOxoHWNex2ySimTOTKMXhjUVrGDks8rCap6qccYgHVfqfg IDtUMx6xQpZMjkV3eRlxhIyAYDAiw6Gz0MQELoSktOACEzqEr1NKDqz8vYbYRGjP4gOZ jS0Q== 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=nDdzZiRcJQ3WiyFW9FsXkYeVC1k3LlpTRcV3gfEhyzQ=; b=FeFc4/CxmZ+Y0IFMhGhbruBgBz1f/ZMKjHaOGmJUtIc3q/50VESoxuznZE3LOq3+w9 dWLbU7EhaVijG5X07Rg/xZrEMYhXBAoB1IB/+gTdTl+kZxXJ0Qh+zxCNhdoqRXZd0i60 Cx+2qaYGcXV+13Wxyg5YTeHOzfLv1RTNYeY/HDdixsWbrW4MgahVTmslYoGzxkFjmWyT RiR2vIMBHjSTTINa4tt6ueQQooKTxsXLw1X/kak41kWm2T7ko3IHx4vtD5K1cD3ISh7Y IQ8kbDvdKfcGvjfutJ7ZPKT0cRU7zmyL+2sysXOfUVI0MAztKjqMOay48DtbrDTwq6sZ 1jfw== X-Gm-Message-State: AOAM532S08X37hug8BKsjkSN7f4SDYQMtWbx7F8cB1OqabxFSHXPpuWy GmR+qD/NlOs63/Q1gB0jLCDuFBH12dnv22mU+RA= X-Google-Smtp-Source: ABdhPJyBcNVno1pg0EaSKocYjuHrZG6leqJX5G67u58vRrCaARs9meszC+CcGyfY38jvhTo4RnVwLyR0EcS6dWPs3wI= X-Received: by 2002:a92:d7c4:: with SMTP id g4mr1213444ilq.162.1602616027996; Tue, 13 Oct 2020 12:07:07 -0700 (PDT) MIME-Version: 1.0 References: <1602182927-18254-1-git-send-email-hkalra@marvell.com> <1602182927-18254-4-git-send-email-hkalra@marvell.com> In-Reply-To: From: Jerin Jacob Date: Wed, 14 Oct 2020 00:36:51 +0530 Message-ID: To: Harman Kalra , "Van Haaren, Harry" , =?UTF-8?Q?Mattias_R=C3=B6nnblom?= , Nipun Gupta , Pavan Nikhilesh , Erik Gabriel Carrillo , "Rao, Nikhil" , Hemant Agrawal , "Gujjar, Abhinandan S" Cc: Jerin Jacob , dpdk-dev Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 4/4] app/eventdev: enable fast free offload X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 Sun, Oct 11, 2020 at 4:03 PM Jerin Jacob wrote: > > On Fri, Oct 9, 2020 at 12:20 AM Harman Kalra wrote: > > > > Since we are not holding the mbufs or creating any references > > in the app, hence mbuf fast free offload can be enabled. > > > > Signed-off-by: Harman Kalra > > --- > > app/test-eventdev/test_pipeline_common.c | 5 +++++ > > ++ eventdev maintainers > > Since testeventdev is not creating more than one pool and not using > any mbuf reference feature. > This change looks to me. Let me know if you have any different opinion if nay. > > Acked-by: Jerin Jacob Applied to dpdk-next-eventdev/for-main. Thanks. > > > > 1 file changed, 5 insertions(+) > > > > diff --git a/app/test-eventdev/test_pipeline_common.c b/app/test-eventdev/test_pipeline_common.c > > index 17088b1b4..f0c0ffea7 100644 > > --- a/app/test-eventdev/test_pipeline_common.c > > +++ b/app/test-eventdev/test_pipeline_common.c > > @@ -219,6 +219,11 @@ pipeline_ethdev_setup(struct evt_test *test, struct evt_options *opt) > > return ret; > > } > > > > + /* Enable mbuf fast free if PMD has the capability. */ > > + if (dev_info.tx_offload_capa & DEV_TX_OFFLOAD_MBUF_FAST_FREE) > > + local_port_conf.txmode.offloads |= > > + DEV_TX_OFFLOAD_MBUF_FAST_FREE; > > + > > rx_conf = dev_info.default_rxconf; > > rx_conf.offloads = port_conf.rxmode.offloads; > > > > -- > > 2.18.0 > >