summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchangru <changrux.fan@intel.com>2015-08-13 02:51:16 -0400
committerMarvin Liu <yong.liu@intel.com>2015-08-13 15:54:14 +0800
commit7eb94c0593dd7bc67995e8d7d01aae030fdf9ab7 (patch)
treecf590f1da5dd4491f33ea4e291e06208ee71794e
parent79d66898a96a3cdfb7d46ed7c89c63d578c5dba5 (diff)
downloaddts-7eb94c0593dd7bc67995e8d7d01aae030fdf9ab7.zip
dts-7eb94c0593dd7bc67995e8d7d01aae030fdf9ab7.tar.gz
dts-7eb94c0593dd7bc67995e8d7d01aae030fdf9ab7.tar.xz
set autoneg same with flowctrl
Signed-off-by: changru <changrux.fan@intel.com>
-rw-r--r--tests/TestSuite_link_flowctrl.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/TestSuite_link_flowctrl.py b/tests/TestSuite_link_flowctrl.py
index e52f95a..11c1795 100644
--- a/tests/TestSuite_link_flowctrl.py
+++ b/tests/TestSuite_link_flowctrl.py
@@ -149,10 +149,11 @@ class TestLinkFlowctrl(TestCase):
tgenInput = []
tgenInput.append((tester_tx_port, tester_rx_port, "test.pcap"))
- self.dut.send_expect("set flow_ctrl rx %s tx %s 300 50 10 1 mac_ctrl_frame_fwd %s autoneg on %d " % (
+ self.dut.send_expect("set flow_ctrl rx %s tx %s 300 50 10 1 mac_ctrl_frame_fwd %s autoneg %s %d " % (
flow_control,
flow_control,
pause_frame_fwd,
+ flow_control,
self.rx_port),
"testpmd> ")