summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
8e37f89)
This should fix some suites wrongly using nic_pfs=6.
Change-Id: Ifb7bd24b9a2d1764634eea4a43b4509f16e03da2
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
-# Copyright (c) 2023 Cisco and/or its affiliates.
+# Copyright (c) 2024 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
Constants.NIC_CODE_TO_PFS[nic_code], 1,
"NIC PFs argument should appear once.", in_filename
)
Constants.NIC_CODE_TO_PFS[nic_code], 1,
"NIC PFs argument should appear once.", in_filename
)
iface, suite_id, suite_tag = get_iface_and_suite_ids(
out_filename
)
iface, suite_id, suite_tag = get_iface_and_suite_ids(
out_filename
)
tmp_filename
)
for driver in Constants.NIC_NAME_TO_DRIVER[nic_name]:
tmp_filename
)
for driver in Constants.NIC_NAME_TO_DRIVER[nic_name]:
- nic_code = Constants.NIC_NAME_TO_CODE[nic_name]
out_filename = replace_defensively(
tmp_filename, old_suite_id,
Constants.NIC_DRIVER_TO_SUITE_PREFIX[driver] + old_suite_id,
out_filename = replace_defensively(
tmp_filename, old_suite_id,
Constants.NIC_DRIVER_TO_SUITE_PREFIX[driver] + old_suite_id,
Constants.NIC_CODE_TO_PFS[nic_code], 1,
"NIC PFs argument should appear once.", in_filename
)
Constants.NIC_CODE_TO_PFS[nic_code], 1,
"NIC PFs argument should appear once.", in_filename
)
iface, suite_id, suite_tag = get_iface_and_suite_ids(out_filename)
out_prolog = replace_defensively(
out_prolog, old_suite_tag, suite_tag, 1,
iface, suite_id, suite_tag = get_iface_and_suite_ids(out_filename)
out_prolog = replace_defensively(
out_prolog, old_suite_tag, suite_tag, 1,
tmp_filename
)
for driver in Constants.NIC_NAME_TO_DRIVER[nic_name]:
tmp_filename
)
for driver in Constants.NIC_NAME_TO_DRIVER[nic_name]:
- nic_code = Constants.NIC_NAME_TO_CODE[nic_name]
out_filename = replace_defensively(
tmp_filename, old_suite_id,
Constants.NIC_DRIVER_TO_SUITE_PREFIX[driver] + old_suite_id,
out_filename = replace_defensively(
tmp_filename, old_suite_id,
Constants.NIC_DRIVER_TO_SUITE_PREFIX[driver] + old_suite_id,
Constants.NIC_CODE_TO_PFS[nic_code], 1,
"NIC PFs argument should appear once.", in_filename
)
Constants.NIC_CODE_TO_PFS[nic_code], 1,
"NIC PFs argument should appear once.", in_filename
)
iface, suite_id, suite_tag = get_iface_and_suite_ids(out_filename)
out_prolog = replace_defensively(
out_prolog, old_suite_tag, suite_tag, 1,
iface, suite_id, suite_tag = get_iface_and_suite_ids(out_filename)
out_prolog = replace_defensively(
out_prolog, old_suite_tag, suite_tag, 1,
tmp2_filename
)
for driver in Constants.NIC_NAME_TO_DRIVER[nic_name]:
tmp2_filename
)
for driver in Constants.NIC_NAME_TO_DRIVER[nic_name]:
- nic_code = Constants.NIC_NAME_TO_CODE[nic_name]
out_filename = replace_defensively(
tmp2_filename, old_suite_id,
Constants.NIC_DRIVER_TO_SUITE_PREFIX[driver] + old_suite_id,
out_filename = replace_defensively(
tmp2_filename, old_suite_id,
Constants.NIC_DRIVER_TO_SUITE_PREFIX[driver] + old_suite_id,
Constants.NIC_CODE_TO_PFS[nic_code], 1,
"NIC PFs argument should appear once.", in_filename
)
Constants.NIC_CODE_TO_PFS[nic_code], 1,
"NIC PFs argument should appear once.", in_filename
)
iface, suite_id, suite_tag = get_iface_and_suite_ids(
out_filename
)
iface, suite_id, suite_tag = get_iface_and_suite_ids(
out_filename
)