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 D5F75A0A0F; Fri, 4 Jun 2021 13:48:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4F55F4068F; Fri, 4 Jun 2021 13:48:09 +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 CE90240147 for ; Fri, 4 Jun 2021 13:48:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1622807287; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lmK7ShQv66LDGSUG3+pwSYBdubEjycOLAMFXfxcndMI=; b=iotToi2WYsXq18ZdwAkIADCGtjBnEbdYwdmK3iBB3lZ8eiqblhSETOe/BSEyRf0xU1U1Dl c66qXWIKHZ6kPsup9FgNU4NhbxHS2tExaZDnjfDaInWdol6RxXCs8OagRiPrrIlAgZ4O+3 kaUNOwehnggQd9W4ueicktKGeZRoelg= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-562-38iHh6l2OV-vSk9j-BXvWg-1; Fri, 04 Jun 2021 07:48:05 -0400 X-MC-Unique: 38iHh6l2OV-vSk9j-BXvWg-1 Received: by mail-wr1-f70.google.com with SMTP id t14-20020adfe44e0000b029011851efa802so3826319wrm.11 for ; Fri, 04 Jun 2021 04:48:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lmK7ShQv66LDGSUG3+pwSYBdubEjycOLAMFXfxcndMI=; b=ry2Q4EINeg/kn8ToJIpxSenw6eAQZYujm/eELsZaS6cAUqVbwUXlMzoOFkKzkXAxjw vujih2RPFHFZDnbS0bIWygqX0j9Vmi5nrD2BmZ5/HqbovsiWBd7hafljPGt2E26+hIUI rGy3vaDvIjzIB8+uOkG3wfzWIAS+pAz4nos3gYYcuvGoNYpoUcSJcg3ca7PH7yhPRWZv aDswQTxa2sPCa5yR/vj8mWLnlt+insJnNTzW/oof3mGqzN4tZoNJTkFbKr2/XfjdPd8+ FCy5PSt7UVQwrUViLwsZs4d40x1Tl7fIPAmR6ST4R6RwaUgloWZsON2Nb6N0OYxFqf0N l7FA== X-Gm-Message-State: AOAM531Szhook+XI6JpqhYmLYN0DK8K/84Yaad/mqAyX1BXI3i+u3IOg eZ9qDg/gVAZUem8y3n5IcgQTseAy+2O1acEdMtqHdLQchJ1QsgV3+kqo10s9r4SybORAzlaU89y eu0E= X-Received: by 2002:a1c:e915:: with SMTP id q21mr3286492wmc.110.1622807284719; Fri, 04 Jun 2021 04:48:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLrNbCzbF/lfoV6BPLHqVk8K+3FFe0JNAVi/7Gd5blIi3ZcQ9Az0aFcv+ZSH6B7ZGCp0niDQ== X-Received: by 2002:a1c:e915:: with SMTP id q21mr3286478wmc.110.1622807284574; Fri, 04 Jun 2021 04:48:04 -0700 (PDT) Received: from [192.168.1.205] (219-230-83-45.ftth.cust.kwaoo.net. [45.83.230.219]) by smtp.gmail.com with ESMTPSA id v8sm7050410wrc.29.2021.06.04.04.48.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Jun 2021 04:48:03 -0700 (PDT) To: Balazs Nemeth , dev@dpdk.org, maxime.coquelin@redhat.com, david.marchand@redhat.com References: <62e04f299f15e4595959febb0bbbb65ad9a6df1d.1622197407.git.bnemeth@redhat.com> From: Maxime Coquelin Message-ID: <5475f9cd-721e-3bdd-d874-46836249ba05@redhat.com> Date: Fri, 4 Jun 2021 13:48:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <62e04f299f15e4595959febb0bbbb65ad9a6df1d.1622197407.git.bnemeth@redhat.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mcoqueli@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] vhost: allocate and free packets in bulk in Tx split 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" Hi Balazs, On 5/28/21 12:26 PM, Balazs Nemeth wrote: > Same idea as commit a287ac28919d ("vhost: allocate and free packets > in bulk in Tx packed"), allocate and free packets in bulk. Also remove > the unused function virtio_dev_pktmbuf_alloc. > > Signed-off-by: Balazs Nemeth > --- > lib/vhost/virtio_net.c | 37 ++++++++----------------------------- > 1 file changed, 8 insertions(+), 29 deletions(-) > Reviewed-by: Maxime Coquelin Thanks, Maxime