From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f52.google.com (mail-pg0-f52.google.com [74.125.83.52]) by dpdk.org (Postfix) with ESMTP id D1D1810D7F for ; Thu, 22 Dec 2016 17:47:22 +0100 (CET) Received: by mail-pg0-f52.google.com with SMTP id g1so60243754pgn.0 for ; Thu, 22 Dec 2016 08:47:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudsimple-com.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=DuWn21Ebby1mXOt2LMLjoVOMb+EL8pSibr0MJZLWyAQ=; b=zpo4+4xH/DdyKxntrskFMVg38/AtpU1e9vX9ueOTpMn757nRoRHP36tGMDI/4VJ4jY KRs33fKXCUZrlmacG7cH0MpJP5Etk7htfTHnVuRAN/LM4REnk8zQzemDkaOf7+bNg3IC gYUtII8bQ1Fm7odgDe8QMPP7p7smy0Y/qXFh7odesiR3Q7qdXj5BB5z3UlNCY5RUCcAI aNKRxrSqCnxEVT3lVpNcPcKa0IZTh+rxCAdEy/4MpRLA7nWGfjvI88a6HmHMX9XlQlIo Nz+mQIRdy0jDYxsX+P0A7AgyQR2Ox0lYos6mXTLnzHQVHEaTIp8TfKHpgaxhkZS/2R7i wvDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=DuWn21Ebby1mXOt2LMLjoVOMb+EL8pSibr0MJZLWyAQ=; b=lOAPOAm3wlJSCCGEghH3fTM42y9vQujgo0sxWzyxmhZvOOK+F5Y38/u9KCg4T5zf3A LxAXTHIM7t4ss2bidqKuSXDQjTXDp2NVbu38fiCsNqoXtuicwym1DCQQmjgZvt/hGQgn nStzHU0bh7G6e3grBa/SQ3immFDo7ZkaHjaPleReYNLhzSYIbIMXDZu11J+DFEs5NzSN cap/IqWhG+c9mg5qaRwVLG4oH3UFPFPOhr7lGv4oB3zw1b7qDTrQ4npWUlmbu5d4YkQa Mv7hHhMehewlHwoVc+ivDsgA73V6QH+Ubdbt/U9wsSwnSLCQJY12NQxeABoM+tvzftHY EqaQ== X-Gm-Message-State: AIkVDXJ8vTdPmtZSavFuIyfRzeLcL3IFLp8ZrXp5FhApOJLhaum5xenlonWoFFXhGZhziGf1nT8zUXQV3sXnzW7pmrC+BHhMGlnVzITjEsvey7oeO9eaE6WTs/JNU/8zecJNewu2Acze36dJpxmM4Uhw3PgaATR6sNo1ofr9n07GAYfW X-Received: by 10.98.19.81 with SMTP id b78mr7201459pfj.103.1482425241745; Thu, 22 Dec 2016 08:47:21 -0800 (PST) Received: from [192.168.1.104] ([116.203.5.187]) by smtp.gmail.com with ESMTPSA id g82sm56065033pfb.43.2016.12.22.08.47.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Dec 2016 08:47:21 -0800 (PST) From: Kumaraparameshwaran Rathnavel Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Message-Id: <35D0462D-761F-4C7A-A0F4-FD72EBDFA8EB@cloudsimple.com> Date: Thu, 22 Dec 2016 22:17:18 +0530 To: users@dpdk.org X-Mailer: Apple Mail (2.3251) Subject: [dpdk-users] Freeing up 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, 22 Dec 2016 16:47:23 -0000 Hi All, The mbuf implementation is similar to the Network Driver of the FreeBSD = Network Driver. In DPDK userspace driver it is the responsibility of the = rte_eth_dev implementation to free the memory buffer associated with a = Queue when descriptors reach below a threshold. In FreeBSD the user can = actually specify the free routine for the mbuf when the transmit routine = is called. Is this implemented in DPDK. I basically will give the data = buffer of the application layer that will be chained with the Transport = Layer Headers and I do not want to free up the routines always. Is this = possible? Thanking You, Param.=