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 7A20A4342E for ; Fri, 15 Mar 2024 09:12:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E41DF42EF3; Fri, 15 Mar 2024 09:12:44 +0100 (CET) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by mails.dpdk.org (Postfix) with ESMTP id D59774027B for ; Fri, 15 Mar 2024 08:47:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1710488835; x=1711093635; i=jakob.wieckowski@gmx.net; bh=B0dw0PnJa/voFsxJ4Zsqev3womHhpnyEW0xj0ot80sU=; h=X-UI-Sender-Class:From:To:Subject:Date; b=EEcaVE3YAyXjAzPYqTqfmtmEyVwAT3JloGV223xbYQ4JPE51DiqcO2MBaflaC6KT 1AKzND8bVegCiDKygwg/mbKKpHgYbEXprVvWe7sBJpS3TacwEx4FHhVM1KoAjD9aT liCimQbuY6qcKZnKguDgyQI+2dem0LykLwx9q9L8Uf18CPQkYVpV/DogiRgnoSumK RqaKvgV50Gq8yYSNcrWkoiCyLCG4T9uJp6rwUS5BSpNiJDUBy4zD5+UGsioe/a6WY qDY0k83zTf+D7GWrnA3nh9l/fKEdlNe6IpFA3nAZFnvRNVJQQfnoK/CfvDGalBuAM Vl7x9hbJHHPBcnfBjA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [46.5.231.99] ([46.5.231.99]) by web-mail.gmx.net (3c-app-gmx-bap18.server.lan [172.19.172.88]) (via HTTP); Fri, 15 Mar 2024 08:47:15 +0100 MIME-Version: 1.0 Message-ID: From: Jakob Wieckowski To: users@dpdk.org Subject: dynamic and variable mbuf size Content-Type: text/html; charset=UTF-8 Date: Fri, 15 Mar 2024 08:47:15 +0100 Importance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IdwjSh w6pkCpQ94Nt0zZ1eK9cTw7mMQIUOaCJAYxcyvVnqa4CzCEFpP3Pcx8zc6qr/XzI= X-Mailman-Approved-At: Fri, 15 Mar 2024 09:12:44 +0100 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
Hello DPDK Users,

I have a question regarding the size of mbufs. The mbuf are contained in the mempol and the mempool is a fixed size object.

Could the mbuf be implemented dynamically with a variable size in the mempool area ?

In the header of the mbuf you could specify the size of the payload data and thus could expand the size of the mbufs.

>From my understanding, you just have to keep an eye on the mempool memory size so that it doesn't go beyond the limit of the allocated area.



Would this be generally possible?


Kind regards
Jakob Wieckowski