From patchwork Thu Aug 8 13:34:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lavanya Govindarajan X-Patchwork-Id: 57594 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DE0FA1BE44; Thu, 8 Aug 2019 15:35:05 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 0B1741BE42 for ; Thu, 8 Aug 2019 15:35:03 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Aug 2019 06:35:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,361,1559545200"; d="scan'208";a="165695351" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga007.jf.intel.com with ESMTP; 08 Aug 2019 06:35:01 -0700 Received: from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com [10.102.246.100]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id x78DZ0QH008774; Thu, 8 Aug 2019 14:35:00 +0100 Received: from wgcvswdev001.ir.intel.com (localhost [127.0.0.1]) by wgcvswdev001.ir.intel.com with ESMTP id x78DYRfK010422; Thu, 8 Aug 2019 14:34:27 +0100 Received: (from lgovin3x@localhost) by wgcvswdev001.ir.intel.com with ? id x78DYRGS010418; Thu, 8 Aug 2019 14:34:27 +0100 From: Lavanya Govindarajan To: dev@dpdk.org Cc: reshma.pattan@intel.com, olivier.matz@6wind.com, bruce.richardson@intel.com, pallantlax.poornima@intel.com, Lavanya Govindarajan Date: Thu, 8 Aug 2019 14:34:18 +0100 Message-Id: <1565271260-10295-1-git-send-email-lavanyax.govindarajan@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1563884086-30759-2-git-send-email-lavanyax.govindarajan@intel.com> References: <1563884086-30759-2-git-send-email-lavanyax.govindarajan@intel.com> Subject: [dpdk-dev] [PATCH v4 0/2] add unit test cases for mbuf library 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 patchset contains unit testcases added to increase the functional and decision coverage for the library functions defined in rte_mbuf.h and rte_mbuf.c 1/2: unit test cases added for rte_mbuf.h 2/2: unit test cases added for rte_mbuf.c Patch 2/2 depends on 1/2 Signed-off-by: Lavanya Govindarajan Signed-off-by: Pallantla Poornima Reviewed-by: Reshma Pattan --- v4: Fixed cosmetic errors. v3: Fixed build issue for environment FD30-64. Improvised error log messages. v2: Addressed v1's comments. Removed rte prefix from the test function names. Fixed comments given for the below test functions test_mbuf_validate_tx_offload test_neg_pktmbuf_alloc_bulk test_pktmbuf_read_from_offset test_pktmbuf_read_from_chain --- Lavanya Govindarajan (1): app/test: add unit test cases for mbuf library APIs Pallantla Poornima (1): app/test: add unit test cases to mbuf app/test/test_mbuf.c | 1016 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 1013 insertions(+), 3 deletions(-)