From 3ea19952db315e88263437ed41b0c31bd3bdbdf4 Mon Sep 17 00:00:00 2001 From: Christian Trautman Date: Wed, 11 Jan 2017 15:00:52 -0500 Subject: testpmd_pvp: Adds pkt_fwd to allow pvp topology testing Requires DPDK 16.11 or greater to support vdev flags. Initial support for TestPMD to support guests. Allows vsperf to execute TestPMD as a switch for pvp test scenarios. Can be increased in functionality later to support multiple guest configs. JIRA: VSPERF-406 Change-Id: I67a5a355c990ca6cfcbb5845a2beaf1c1f21f5f0 Signed-off-by: Christian Trautman --- tools/pkt_fwd/pkt_fwd.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools/pkt_fwd/pkt_fwd.py') diff --git a/tools/pkt_fwd/pkt_fwd.py b/tools/pkt_fwd/pkt_fwd.py index 2580ee1f..a080b5a2 100644 --- a/tools/pkt_fwd/pkt_fwd.py +++ b/tools/pkt_fwd/pkt_fwd.py @@ -44,6 +44,12 @@ class IPktFwd(object): """ raise NotImplementedError('Please call an implementation.') + def start_for_guest(self): + """Start the packet forward for guest config + + :returns: None + """ + def stop(self): """Stop the packet forwarder. -- cgit 1.2.3-korg