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 8A38DA00C4 for ; Thu, 28 Jul 2022 11:21:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4E175427ED; Thu, 28 Jul 2022 11:21:15 +0200 (CEST) Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) by mails.dpdk.org (Postfix) with ESMTP id 45DFA40E25 for ; Thu, 28 Jul 2022 11:21:14 +0200 (CEST) Received: by mail-ej1-f46.google.com with SMTP id sz17so2104143ejc.9 for ; Thu, 28 Jul 2022 02:21:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=APxRiZKtqvbb3iMhkyUhLua8ZQZowAAnTnNYhDapseY=; b=hgwVKdzAsGw8bFXKfiSF1qb8F0a52pNvUXq/37VJZEplEwNDhHc8XVrdejU03tHZ+o KbNlQKnwD7FOHdddTcTPF22wtHBRAyxWx9VOiEjWptjUH0iMo45K51mH2LzoU6u2gGjI 4fE2gfU6hTOvVoo0w6bVAcFQNZwxEuGCb1hgfmsuQ2GuZ1ZVVWBqXy6xipTFpOGWNkW6 sB6shuC+noRRrN3ggku168qL9FgWGqjGh3UOdPUjOhvvUayrzmSCh6v6Q1l3tzsm1gqD EfYQQc4jdWnbXC8pCFDn/oTDW4Vqt0cqwbr5DQcD0Lz5HWlnL6oxOxU41VtF8pu4/fSO TbNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=APxRiZKtqvbb3iMhkyUhLua8ZQZowAAnTnNYhDapseY=; b=NjzJG3jhTaKLMcdG1aboGm04+G02pRHnc/v9SLJuXRQdwYgGlO7kJ/7gmO+2GXY8xk Ntvgd3hKzSJGfL10y3qwVamPc8vWe+keBrF0P8w43cvuw2VtjTbCOr595gmL3cq+uDCB DjrT9m+mG/ALmiyyMDqLItv4MH1uuWH/HGl2lx41wtt31Qrbc8+cdDnJhClukC2sSfqx j8y2TSK1A5FmPOYu2xAzCmauUVfW2tn3S7BZvI2SHymBemhnUq47Z0iCb+SoCSAM2NTj gmopf6Lt2sOTgMmighT9vSA0KxctVQtru0DTXulcS+EQxSqo4VhJ5sCghJu4kugbkQbg mnKw== X-Gm-Message-State: AJIora80yFToYGrxCpKhydawHzFqr8aqhWUtbSIUA2zCDIYRM5/ovwzf maCHYIvD4hWoAGzDSqFP8qWX+ldLOBApHQ== X-Google-Smtp-Source: AGRyM1sRhvROGFyuvfChk01iWq0DVnGtuMNYuJ5T19uCApGw0+BCP+P6yfT/RuW5aDqD8xWt76uygQ== X-Received: by 2002:a17:907:7604:b0:72b:4ad5:b21c with SMTP id jx4-20020a170907760400b0072b4ad5b21cmr19654696ejc.412.1659000073988; Thu, 28 Jul 2022 02:21:13 -0700 (PDT) Received: from [10.0.0.5] (host27-89-206-54.limes.com.pl. [89.206.54.27]) by smtp.googlemail.com with ESMTPSA id 6-20020a170906318600b0072ed72072aesm185211ejy.192.2022.07.28.02.21.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Jul 2022 02:21:13 -0700 (PDT) Message-ID: Date: Thu, 28 Jul 2022 11:21:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: Strategy for contiguous packet payload processing using DPDK mbufs Content-Language: en-US To: users@dpdk.org References: From: Pawel Wodkowski In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On 27.07.2022 17:03, Filip Matracki wrote: > What strategy is recommended for a DPDK application that needs to > process the payload of network packets in contiguous memory? 1. Don't care about the wasted memory? 2. Reassembly large packets into contiguous memory. 3. Use NIC features to redirect packets to proper RX queues. Small packets goes to first queue, medium size to second, large to third. This might be tricky and hardware dependent. -- Paweł