From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by dpdk.org (Postfix) with ESMTP id B7B0F5902 for ; Tue, 30 Sep 2014 11:49:49 +0200 (CEST) Received: by mail-pa0-f41.google.com with SMTP id eu11so3957296pac.14 for ; Tue, 30 Sep 2014 02:56: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=ayQ9q0PxrFmrU1Jr5uYiCALZLfC8SXjSY4sD0IU38RM=; b=l0jaYTamOVc831sFfSlKWH1/XY/dSkoKzh6Hd5BExslOZCsi3llJRXOMgBLsdNkZPe t/m+CktBoHC/IHphXEq4pX6KftHx9SRDzsM5aH740EKViarFHATZmtj+NuJAqtMxAgSd GaxONpHn9+UG4GPRnMtkIXX8MBQCB8JfH2TqnveyDXopJj7Bkz/qOO7XpEMKRXccB5+g 3K8TAgWr3F5wSJ8FJ+ukD5QpE5tYLIEIYxvqnvimOHNDfjT+RrSrxJtSKyBZgCT2mqEi v1Fww2MsUDZuWEbd5chw8fAR2WqpvDXY6UqMn8iuGjD315BQzr8hXGQgTpxt3Sp7Uihm AsKA== X-Gm-Message-State: ALoCoQnqqfjkQLytEEMlUJ24Tq6nMHoQmaqPJsVdzBvFN/wlsj32a4M+f68EFjmSW0SaN3UjMUMz X-Received: by 10.68.95.129 with SMTP id dk1mr68602311pbb.25.1412070989111; Tue, 30 Sep 2014 02:56:29 -0700 (PDT) Received: from localhost.localdomain (napt.igel.co.jp. [219.106.231.132]) by mx.google.com with ESMTPSA id d5sm14666627pbu.45.2014.09.30.02.56.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Sep 2014 02:56:28 -0700 (PDT) From: mukawa@igel.co.jp To: dev@dpdk.org Date: Tue, 30 Sep 2014 18:56:08 +0900 Message-Id: <1412070970-5625-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 0/2] 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: Tue, 30 Sep 2014 09:49:50 -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 RFC: * change the copyright of this PMD. * change commit logs. Tetsuya Mukawa (2): librte_pmd_null: Add null PMD librte_pmd_null: Enable librte_pmd_null 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 +++++++++++++++++++++++++++++++++++++ mk/rte.app.mk | 4 + 6 files changed, 547 insertions(+) create mode 100644 lib/librte_pmd_null/Makefile create mode 100644 lib/librte_pmd_null/rte_eth_null.c -- 1.9.1