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 AAA6FA04B5; Thu, 29 Oct 2020 14:57:41 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0D603CD82; Thu, 29 Oct 2020 14:57:39 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id 9DC09CD61 for ; Thu, 29 Oct 2020 14:57:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603979855; 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=W8O4gD9UpM2UMxzilE9lBIoBpCnbsKadOdyThUQZ4U8=; b=bUMU7EI5Z3mIGRoV1GaQl5kk7y6KRA0s7wgFddaSWlceDreEs/RMcENhYwTvbHPb9BXeWM SY241FzqlG9M5ul1IwZnLX+dJzd93AFs+n25z6XgweNuZQnPHuM0LqLS/4EAnQmiOQfF+C THhd3WUODFUpGGy0YdrBs2E3tv3TSy8= Received: from mail-vs1-f69.google.com (mail-vs1-f69.google.com [209.85.217.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-248-lA-3E_CbPjuzWoHCVIG2tQ-1; Thu, 29 Oct 2020 09:57:33 -0400 X-MC-Unique: lA-3E_CbPjuzWoHCVIG2tQ-1 Received: by mail-vs1-f69.google.com with SMTP id b73so701378vsd.1 for ; Thu, 29 Oct 2020 06:57: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=W8O4gD9UpM2UMxzilE9lBIoBpCnbsKadOdyThUQZ4U8=; b=re8N8FLsdJLWP3p2splbUxSlkZUPGuW51R7sawkp/q8WW8ZOYGxaAiC9EzObAYHY29 FFne9J+Un8MHM5ObS14sQfZkLA7I7YOoAjxDfQv4YNEdGIEe42Y1XE54smEniyGPMA8J KRMrFKMNXoYJ78qpkUmXf0unqw0umsJGdQsMZzY+vlTxGd9ANtS8zpkx8QY/hUtitn98 +C1AkOM21+5sy8vrAaT5siv+C7UCJ0H3pHrcVQBDdVA0jfitVdyxGC+GtfdKRiIF+2j2 JSV5fNPP/qy0hK6GJbTA/wpBRrdTfkB2Hv/m8cGE48Lm2MXVbTGZEBjZX6RDiCkFwro2 UzLg== X-Gm-Message-State: AOAM53291jmJvrdp1pWNONloY9ZNUNbVIfiYcWtBsBMxJ+B0tK6gTnN/ 8nCPMyx+n8Mhv3bk/djqkFoqYJHNSLLnpZ/6pPPbDRkKSbZy0ftGQwlGy/ieF+0gtXQ5ZJOKO1V WmJrxQjAbUse37VXMXXw= X-Received: by 2002:a67:f954:: with SMTP id u20mr3178612vsq.5.1603979853036; Thu, 29 Oct 2020 06:57:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMozL1PWCK/MOorh91BZX6pt3ZZsrJ2idJIYmxlPurRL6NhwfTdfGeEBIyeVNlz1fJ+huGcayrp+id5AElx28= X-Received: by 2002:a67:f954:: with SMTP id u20mr3178592vsq.5.1603979852846; Thu, 29 Oct 2020 06:57:32 -0700 (PDT) MIME-Version: 1.0 References: <20200224203931.21256-1-honnappa.nagarahalli@arm.com> <20201025054556.14277-1-honnappa.nagarahalli@arm.com> In-Reply-To: <20201025054556.14277-1-honnappa.nagarahalli@arm.com> From: David Marchand Date: Thu, 29 Oct 2020 14:57:21 +0100 Message-ID: To: Honnappa Nagarahalli Cc: dev , "Ananyev, Konstantin" , Stephen Hemminger , Dharmik Thakkar , "Ruifeng Wang (Arm Technology China)" , Olivier Matz , nd 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 v5 0/8] lib/ring: add zero copy APIs 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 25, 2020 at 6:46 AM Honnappa Nagarahalli wrote: > > It is pretty common for the DPDK applications to be deployed in > semi-pipeline model. In these models, a small number of cores > (typically 1) are designated as I/O cores. The I/O cores work > on receiving and transmitting packets from the NIC and several > packet processing cores. The IO core and the packet processing > cores exchange the packets over a ring. Typically, such applications > receive the mbufs in a temporary array and copy the mbufs on > to the ring. Depending on the requirements the packets > could be copied in batches of 32, 64 etc resulting in 256B, > 512B etc memory copy. > > The zero copy APIs help avoid intermediate copies by exposing > the space on the ring directly to the application. Reordered the patches to have the fixes and coding style changes first in the series. Fixed incorrect Fixes: line format. Squashed documentation with introduction of the API. Moved release note update (ring comes after EAL). Fixed example of API usage. Series applied, thanks Honnappa. -- David Marchand