diff options
author | Sridhar K. N. Rao <sridhar.rao@spirent.com> | 2021-11-12 16:00:03 +0530 |
---|---|---|
committer | Sridhar K. N. Rao <sridhar.rao@spirent.com> | 2021-11-12 16:01:30 +0530 |
commit | 24e68cf441d94ba09a13f21fdfc994d4a14dfde0 (patch) | |
tree | 127b699abb0bd1b17bce9f138f3b2648ee7d0ecf /tools/docker/test-containers/dpdk-forwarding-pods/l2l3fwd/dpdk-args.h | |
parent | 4fa105c5b4113a9ff4311569709ca99a8fbf5028 (diff) |
Docker: Forwarding Pods.
This patch adds source file required to build 2 forwarding pods.
1. L2 and L3 Fowarding
2. VPP
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
Change-Id: Ibffea4ebe34a575d040778e45b6ba9e92af5e8b6
Diffstat (limited to 'tools/docker/test-containers/dpdk-forwarding-pods/l2l3fwd/dpdk-args.h')
-rw-r--r-- | tools/docker/test-containers/dpdk-forwarding-pods/l2l3fwd/dpdk-args.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/docker/test-containers/dpdk-forwarding-pods/l2l3fwd/dpdk-args.h b/tools/docker/test-containers/dpdk-forwarding-pods/l2l3fwd/dpdk-args.h new file mode 100644 index 00000000..69424c8b --- /dev/null +++ b/tools/docker/test-containers/dpdk-forwarding-pods/l2l3fwd/dpdk-args.h @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright(c) 2021 Red Hat, Inc. + +#ifndef __DPDK_ARGS_H__ +#define __DPDK_ARGS_H__ + +typedef enum { + DPDK_APP_TESTPMD = 1, + DPDK_APP_L3FWD, + DPDK_APP_L2FWD, + DPDK_APP_OTHER +} eDpdkAppType; + +extern char** GetArgs(int *pArgc, eDpdkAppType appType); + +#endif /* __DPDK_ARGS_H__ */ |