[V1,2/2] tests/ice_dcf_data_path: update test plan to support port representor action from deprecated vf action
Checks
Context |
Check |
Description |
ci/Intel-dts-format-test |
success
|
Testing OK
|
ci/Intel-dts-pylama-test |
success
|
Testing OK
|
ci/Intel-dts-doc-test |
success
|
Testing OK
|
ci/Intel-dts-suite-test |
warning
|
SKIPPED
|
Commit Message
A new API is introduced to replace the VF actions in DPDK 22.11. To support This
new API, several modifications are made.
In this commit, rule is modified for the old API being deprecated, changing to the new API. Ports
id are modified corresponding to the port representors and modified API.
Signed-off-by: Ke Xu <ke1.xu@intel.com>
---
tests/TestSuite_ice_dcf_data_path.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Wed, 30 Nov 2022 11:54:17 +0800, Ke Xu <ke1.xu@intel.com> wrote:
> A new API is introduced to replace the VF actions in DPDK 22.11. To support This
> new API, several modifications are made.
>
> In this commit, rule is modified for the old API being deprecated, changing to the new API. Ports
> id are modified corresponding to the port representors and modified API.
>
> Signed-off-by: Ke Xu <ke1.xu@intel.com>
Acked-by: Lijuan Tu <lijuan.tu@intel.com>
Series applied, thanks
@@ -250,7 +250,7 @@ class DcfDataPathTest(TestCase):
% self.wrong_mac
)
rule = (
- "flow create 0 ingress pattern eth dst is %s / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / tcp src is 25 dst is 23 / end actions vf original 1 / end"
+ "flow create 0 ingress pattern eth dst is %s / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / tcp src is 25 dst is 23 / end actions port_representor port_id 0 / end"
% self.wrong_mac
)