From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f170.google.com (mail-pd0-f170.google.com [209.85.192.170]) by dpdk.org (Postfix) with ESMTP id 8519671 for ; Wed, 1 Oct 2014 06:50:46 +0200 (CEST) Received: by mail-pd0-f170.google.com with SMTP id p10so86571pdj.1 for ; Tue, 30 Sep 2014 21:57:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xdG0yyfhceUkUwyJ+DZVpgzaUkwJNFfARURNlY5ERHw=; b=XyyVdQ+v1jOX7cqr0W5BrysBbLvlNmDPu5xvo6IeqOM6GpMGwoHPTu4BiPEuOEV/G5 Nj9D7NJnIjl6LJFYzVsl0Ocj0tjxGlr5SBtOG0/bg7KaBK+X0Sia3mM2QgbMDLxFlPej 4KjDLicC3MQZQnXG8KC7tqKdV0yhQEl1HNQ1+nCK6QrTFIlXdF3w0pt8d5JeMjQOPUi7 EZQZBtYl3jQStWTPNnEPCP3//MFQqwaL+rAlOP9mFRahslmIgrAb5r0eM6txCUhO3H3B JBeSzy78fh/FC4puuxqjqGEpypmWhjJHkPdFvXMVRWiPpxZCHdRQGvSrdBp4FuAs0hq+ EjhQ== X-Gm-Message-State: ALoCoQmz0u4rJvjqP/dyDKo++2XghxkbwuguS4paFfhIYcwLcSSFrBFHVQn6AN68G7aFfME2CqOe X-Received: by 10.70.91.176 with SMTP id cf16mr88947844pdb.137.1412139449379; Tue, 30 Sep 2014 21:57:29 -0700 (PDT) Received: from localhost.localdomain (napt.igel.co.jp. [219.106.231.132]) by mx.google.com with ESMTPSA id uy2sm16753019pac.13.2014.09.30.21.57.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Sep 2014 21:57:28 -0700 (PDT) From: mukawa@igel.co.jp To: dev@dpdk.org Date: Wed, 1 Oct 2014 13:57:16 +0900 Message-Id: <1412139437-26749-1-git-send-email-mukawa@igel.co.jp> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: Cc: nakajima.yoshihiro@lab.ntt.co.jp, masutani.hitoshi@lab.ntt.co.jp Subject: [dpdk-dev] [PATCH v2] PMD for performance measurement X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2014 04:50:46 -0000 From: Tetsuya Mukawa Hi, Here are patches to add the new PMD like '/dev/null'. This PMD is a driver for virtual device. When an application call rx, it just allocates mbufs and returns those. Also tx, it just frees mbufs. Main purpose of the PMD is measuring rough throughputs of a VDEV PMD. To measure rough throughputs between PMD1 and PMD2, prepare following environment. +-------------------------------+ | testpmd1 | +-------------+------+----------+ | Target PMD1 | | null PMD | +---++--------+ +----------+ || || Target path || +---++--------+ +----------+ | Target PMD2 | | null PMD | +-------------+------+----------+ | testpmd2 | +-------------------------------+ changes from v1: * change the copyright of Makefile. * change commit log. * change config file not to link the PMD statically. changes from RFC: * change the copyright of this PMD. * change commit logs. Tetsuya Mukawa (1): librte_pmd_null: Add null PMD config/common_bsdapp | 5 + config/common_linuxapp | 5 + lib/Makefile | 1 + lib/librte_pmd_null/Makefile | 58 +++++ lib/librte_pmd_null/rte_eth_null.c | 474 +++++++++++++++++++++++++++++++++++++ 5 files changed, 543 insertions(+) create mode 100644 lib/librte_pmd_null/Makefile create mode 100644 lib/librte_pmd_null/rte_eth_null.c -- 1.9.1