numam-dpdk/config
Tetsuya Mukawa c743e50c47 null: new poll mode driver
Null PMD is a driver of the virtual device particularly designed to measure
performance of DPDK PMDs. When an application call rx, Null PMD just allocates
mbufs and returns those. Also tx, the PMD just frees mbufs.

The PMD has following options.
- size: specify packe size allocated by RX. Default packet size is 64.
- copy: specify 1 or 0 to enable or disable copy while RX and TX.
	Default value is 0(disabled).
	This option is used for emulating more realistic data transfer.
	Copy size is equal to packet size.

To use the PMD, enable CONFIG_RTE_BUILD_SHARED_LIB in config file. Then
compile the PMD as shared library. The library can be linked using '-d'
option when an application invokes.

Here is an example.
$ sudo ./testpmd -c f -n 4 -d librte_pmd_null.so \
	--vdev 'eth_null0' --vdev 'eth_null1' -- -i --no-flush-rx

If testpmd is compiled with CONFIG_RTE_BUILD_SHARED_LIB, it may need to
specify more libraries using '-d' option.

Signed-off-by: Tetsuya Mukawa <mukawa@igel.co.jp>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
2015-02-26 00:31:45 +01:00
..
common_bsdapp null: new poll mode driver 2015-02-26 00:31:45 +01:00
common_linuxapp null: new poll mode driver 2015-02-26 00:31:45 +01:00
defconfig_i686-native-linuxapp-gcc config: cleanup duplicated comments 2014-07-19 01:54:35 +02:00
defconfig_i686-native-linuxapp-icc config: cleanup duplicated comments 2014-07-19 01:54:35 +02:00
defconfig_ppc_64-power8-linuxapp-gcc eal: detect endianness 2014-12-05 16:55:00 +01:00
defconfig_x86_64-ivshmem-linuxapp-gcc remove trailing whitespaces 2014-06-11 00:29:34 +02:00
defconfig_x86_64-ivshmem-linuxapp-icc remove trailing whitespaces 2014-06-11 00:29:34 +02:00
defconfig_x86_64-native-bsdapp-clang config: add clang 2014-07-19 01:54:35 +02:00
defconfig_x86_64-native-bsdapp-gcc config: cleanup duplicated comments 2014-07-19 01:54:35 +02:00
defconfig_x86_64-native-linuxapp-clang mem: support layout of IBM Power 2014-11-26 21:50:10 +01:00
defconfig_x86_64-native-linuxapp-gcc mem: support layout of IBM Power 2014-11-26 21:50:10 +01:00
defconfig_x86_64-native-linuxapp-icc mem: support layout of IBM Power 2014-11-26 21:50:10 +01:00
defconfig_x86_x32-native-linuxapp-gcc mk: support x32 ABI 2015-02-18 20:26:33 +01:00