From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot0-f170.google.com (mail-ot0-f170.google.com [74.125.82.170]) by dpdk.org (Postfix) with ESMTP id C10EE1396 for ; Thu, 16 Mar 2017 04:28:10 +0100 (CET) Received: by mail-ot0-f170.google.com with SMTP id o24so41457143otb.1 for ; Wed, 15 Mar 2017 20:28:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ul9JIn7Ey7V3aVvqPC0+Vj7OIv7pP/axJ/nKiPk1ILw=; b=G2iqHl1lCxiLMkKTkg1sOFMZoWZRNSt3/B/geH6rM6PYUTvjNo5JNWxd/SyKl7dy2x k4g3pnO7UhUR1nMj0gIQNppYNcpb0zVzkQnGsaDlczdPYM4kbkWMpgAJTNb/AGzTgjDQ Cco56mRUZxRxb/eCe/ZGnpQjJauxDSfvlb5XCNe1A9xcTMUu7TSXmYhFw6Z2SiwtBYLh 476gnyYJkH+dlFgHhsT43w09DcQ2VZeamBBxG9IjzmPTJ7Uque9k/qRu1hvSRdl7u2+d orwuLJtK2Bwib/ApO58xfald13DgA6hM54zqKhWqlWU21270kDJhpDfng5hKZPVxJkUx 5zuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ul9JIn7Ey7V3aVvqPC0+Vj7OIv7pP/axJ/nKiPk1ILw=; b=beBTcGosG1lqIOn+nU+6iNvwlwY/DAmW8bZHUR9yAPfTPPOq9k413DAy5fAk4ucM5Z YgFHMo6EvmOpOtOh+orVjJtqoaHrIeHZtifdH1N4Sv+svUkMDfFc/erbePX48bw1XcmK fF0tGrWAjgQryZbqLwv7yrhpY9bw7JZbu0HtX/LswMhraTZSQyQ2+9iM888ripk9wyww rIYm7F99IzgXNEm4Ntv2CKGuoiV6ZtqfOA+HNTxHzoKAASJQjDV5yItnTk7ffUO8bCwt XTT6t+qlG7woB95zWABv+I5sWW8+8MMXHO0aS/PreApWh1plsnnMtAuGYwEeF73irzsJ 3T7Q== X-Gm-Message-State: AFeK/H1HjleIUaSaY3twDqFCvL9SMa21PcGrjBoLcNJUbtbw/Rpi1ZgO3m/Tpn+cyEMwhHNoVOeLILpYrsu25w== X-Received: by 10.202.58.69 with SMTP id h66mr3311512oia.30.1489634889746; Wed, 15 Mar 2017 20:28:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.4.51 with HTTP; Wed, 15 Mar 2017 20:28:09 -0700 (PDT) From: Mike Shang Date: Thu, 16 Mar 2017 11:28:09 +0800 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] manually construct mbuf X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2017 03:28:11 -0000 Is it possible to construct mbuf manually instead getting one from mempool ? I've got a situation that needs to handle a relatively small number of jumbo frames, we keep a mempool of objects of regular size and wanted to construct mbuf ourselves for jumbo frames as one segment using rte_malloc. I have searched the dpdk source code a bit but can't find such use case. Is it doable with dpdk ? Or it's recommended to keep a separate mempool for objects of larger size ? Thanks, Mike