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 80E01A2EDB for ; Mon, 30 Sep 2019 17:27:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9A7AE1BE9D; Mon, 30 Sep 2019 17:27:32 +0200 (CEST) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by dpdk.org (Postfix) with ESMTP id 7617A1BE9C for ; Mon, 30 Sep 2019 17:27:30 +0200 (CEST) Received: by mail-pl1-f178.google.com with SMTP id u20so4053707plq.4 for ; Mon, 30 Sep 2019 08:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2dYTbWkQW8qGxDym8oXa6H3TU7weiRvqNodehogzRvE=; b=GB8FEXGjE4s/2inSIDKFtgfAzd8hw00yswBe9HmpkKa/6Y8XjCotSV7mt61e5ANMnV 0h4j4dRPizm5Y46xwVn1WYb+9Ddx73s+6LA/+CdZ4ZvUvzmfp61yeNIrGRORWJEKVHXi JVgyJAR67okAjeb4PVeOhy4qULtN/h4k+dpLa5eMxBa9xM4+81N9OmNXjCmpvaG0H/eN y+B5MxU1B50umOD6Kvoo28Jrc6fIRs8sPajtkOElMAPt2jF5jb9UtVov1OCRfQedpIp/ yJIo5a6jtZa7CqkMd1REHxYqu5vEPu1K/ofUEF0Z3ervkr5TSWFZN0PZtVrb+ZAYIyPT NFmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2dYTbWkQW8qGxDym8oXa6H3TU7weiRvqNodehogzRvE=; b=hi6JsNIVgE7rygtP0PFDc50tUe/WEMrekVu3My6sKeAs+LrHwMh+WdPkmF8hEp3oRy ZrUWDaGZrn+PuBCbV2UswzxB57+ufSzT6bxTzIW/fntPP7AmISiGU1Vh5Pywhu/FJ34o abavkxrAeiOk/fUhszylZk6ln6AWuvpTt3J/IAmgZ38CM0BBgqVxMYxn+MuZvm0tpR9m oYwaKy/Pt6tVeczz05vT+RcxW8PFa27PP6Y7/PZ8OdBoOeTd/cAgehZ72v1HdBP0ZyZT MLt06OiXfmCqISQt+VpCytv+Igs2GPCFwnb1al/9lf6cqKPNKsDIgf6bpIbTpMyK0fAd 7v5A== X-Gm-Message-State: APjAAAX2c628D5s5PGcNkFnZ9DmewSz85ZpdckqUc7RntG1jXhemapJe csBZD7jmVgrg8WVbU47NfqorQTaoVv0= X-Google-Smtp-Source: APXvYqxafFOFp5pMXXV27F3KRtSJtheT+DrlJbMJpj94qnRtlirW0T8vkt7qAvINnMQlpqTEfhm2Kg== X-Received: by 2002:a17:902:a40a:: with SMTP id p10mr20768773plq.149.1569857248768; Mon, 30 Sep 2019 08:27:28 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id w14sm30521021pge.56.2019.09.30.08.27.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2019 08:27:28 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 30 Sep 2019 08:27:15 -0700 Message-Id: <20190930152721.8029-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190928003758.18489-1-stephen@networkplumber.org> References: <20190928003758.18489-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/6] mbuf copy related enhancements 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" This patch set is all about improving the mbuf related cloning and copying. They are motivated by seeing issues with mbuf copying in rte_pdump and realized this a wider and more general problem. The pdump copy could not handle different size pools and did not handle meta data, etc. They cause no functional or ABI changes. The only visible part to older code is converting a couple of inlines to real functions. This kind of change confuses checkpatch which thinks these new functions should be marked experimental when they must not be. v2 - add pdump use of pktmbuf_copy fix version in map Stephen Hemminger (6): mbuf: don't generate invalid mbuf in clone test mbuf: delinline rte_pktmbuf_linearize mbuf: deinline rte_pktmbuf_clone mbuf: add a pktmbuf copy routine mbuf: add pktmbuf copy test pdump: use new pktmbuf copy function app/test/test_mbuf.c | 129 +++++++++++++++++++++++ lib/librte_mbuf/rte_mbuf.c | 149 +++++++++++++++++++++++++++ lib/librte_mbuf/rte_mbuf.h | 102 ++++++------------ lib/librte_mbuf/rte_mbuf_version.map | 8 ++ lib/librte_pdump/rte_pdump.c | 69 +------------ 5 files changed, 316 insertions(+), 141 deletions(-) -- 2.20.1