[dpdk-dev] [PATCH 0/2] PMD for performance measurement
mukawa at igel.co.jp
mukawa at igel.co.jp
Tue Sep 30 11:56:08 CEST 2014
From: Tetsuya Mukawa <mukawa at igel.co.jp>
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
More information about the dev
mailing list