1 .. SPDX-License-Identifier: BSD-3-Clause
2 Copyright(c) 2019 Intel Corporation.
7 The ntb sample application shows how to use ntb rawdev driver.
8 This sample provides interactive mode to transmit file between
11 Compiling the Application
12 -------------------------
14 To compile the sample application see :doc:`compiling`.
16 The application is located in the ``ntb`` sub-directory.
18 Running the Application
19 -----------------------
21 The application requires an available core for each port, plus one.
22 The only available options are the standard ones for the EAL:
24 .. code-block:: console
26 ./build/ntb_fwd -c 0xf -n 6 -- -i
28 Refer to the *DPDK Getting Started Guide* for general information on
29 running applications and the Environment Abstraction Layer (EAL)
35 The application is console-driven using the cmdline DPDK interface:
37 .. code-block:: console
41 From this interface the available commands and descriptions of what
42 they do as as follows:
44 * ``send [filepath]``: Send file to the peer host.
45 * ``receive [filepath]``: Receive file to [filepath]. Need the peer
46 to send file successfully first.
47 * ``quit``: Exit program