[V1] tests/rte_flow_common.py: add iavf_driver_file_location
diff mbox series

Message ID 1596040783-1659484-1-git-send-email-nannan.lu@intel.com
State Accepted
Headers show
Series
  • [V1] tests/rte_flow_common.py: add iavf_driver_file_location
Related show

Commit Message

Lu, Nannan July 29, 2020, 4:39 p.m. UTC
Add iavf_driver_file_location, as it is used in the Max vf test case
of cvl dcf switch filter test plan.

Signed-off-by: Nannan Lu <nannan.lu@intel.com>
---
 tests/rte_flow_common.py | 3 +++
 1 file changed, 3 insertions(+)

Comments

Tu, Lijuan Aug. 12, 2020, 6:47 a.m. UTC | #1
> Add iavf_driver_file_location, as it is used in the Max vf test case of cvl dcf
> switch filter test plan.
> 
> Signed-off-by: Nannan Lu <nannan.lu@intel.com>
> ---
>  tests/rte_flow_common.py | 3 +++

Applied

Patch
diff mbox series

diff --git a/tests/rte_flow_common.py b/tests/rte_flow_common.py
index 3d46e5e..5728af0 100644
--- a/tests/rte_flow_common.py
+++ b/tests/rte_flow_common.py
@@ -45,6 +45,9 @@  def get_suite_config(test_case):
     if "ice_driver_file_location" in test_case.get_suite_cfg():
         ice_driver_file_location = test_case.get_suite_cfg()["ice_driver_file_location"]
         suite_config["ice_driver_file_location"] = ice_driver_file_location
+    if "iavf_driver_file_location" in test_case.get_suite_cfg():
+        iavf_driver_file_location = test_case.get_suite_cfg()["iavf_driver_file_location"]
+        suite_config["iavf_driver_file_location"] = iavf_driver_file_location
     if "os_default_package_file_location" in test_case.get_suite_cfg():
         os_default_package_file_location = test_case.get_suite_cfg()["os_default_package_file_location"]
         suite_config["os_default_package_file_location"] = os_default_package_file_location