[V1] tests/ice_dcf_date_path: turn off promisc mode
Checks
Context |
Check |
Description |
ci/Intel-dts-format-test |
success
|
Testing OK
|
ci/Intel-dts-pylama-test |
success
|
Testing OK
|
ci/Intel-dts-suite-test |
success
|
Testing OK
|
Commit Message
DCF already supports promise mode, and it is started by default.
promisc should be turned off during the test.
According to dpdk commit cdfbcfa110a ("net/ice: support DCF promiscuous configuration")
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
tests/TestSuite_ice_dcf_date_path.py | 1 +
1 file changed, 1 insertion(+)
Comments
> -----Original Message-----
> From: Jiale Song <songx.jiale@intel.com>
> Sent: 2022年5月19日 9:56
> To: dts@dpdk.org
> Cc: Jiale, SongX <songx.jiale@intel.com>
> Subject: [dts] [PATCH V1] tests/ice_dcf_date_path: turn off promisc mode
>
> DCF already supports promise mode, and it is started by default.
> promisc should be turned off during the test.
>
> According to dpdk commit cdfbcfa110a ("net/ice: support DCF promiscuous configuration")
>
> Signed-off-by: Jiale Song <songx.jiale@intel.com>
Test plan should be modified accordingly.
And is only this case impact? If yes, the reason should be put in the test plan too.
@@ -283,6 +283,7 @@ class DcfDatePathTest(TestCase):
)
self.pmd_output.execute_cmd("set fwd rxonly")
+ self.pmd_output.execute_cmd("set promisc all off")
self.pmd_output.execute_cmd("set verbose 1")
self.pmd_output.execute_cmd("start")
out = self.send_pkts_getouput(pkt, self.tester_intf0, status=True)