[V1] tests/generic_flow_api: add ICE nic to checklist and check link status
Checks
Context |
Check |
Description |
ci/Intel-dts-suite-test |
warning
|
SKIPPED
|
Commit Message
fix 2 issue:
1."jumbo_frame_size" is designed for NIC (82599, I350, 82576 and 82580) in testplan, so ICE NIC
not support this case, add to checklist.
2.confirm that the port link status is up before sending the package.
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
conf/test_case_checklist.json | 5 ++++-
tests/TestSuite_generic_flow_api.py | 1 +
2 files changed, 5 insertions(+), 1 deletion(-)
Comments
On Fri, 10 Jun 2022 13:15:48 +0800, Jiale Song <songx.jiale@intel.com> wrote:
> fix 2 issue:
> 1."jumbo_frame_size" is designed for NIC (82599, I350, 82576 and 82580) in testplan, so ICE NIC
> not support this case, add to checklist.
> 2.confirm that the port link status is up before sending the package.
>
> Signed-off-by: Jiale Song <songx.jiale@intel.com>
Applied, thanks
@@ -126,7 +126,10 @@
"cavium_a011",
"I40E_10G-SFP_X722",
"I40E_10G-10G_BASE_T_X722",
- "I40E_10G-10G_BASE_T_BC"
+ "I40E_10G-10G_BASE_T_BC",
+ "ICE_100G-E810C_QSFP",
+ "ICE_25G-E810C_SFP",
+ "ICE_25G-E810_XXV_SFP"
],
"Target": [
"ALL"
@@ -4887,6 +4887,7 @@ class TestGeneric_flow_api(TestCase):
"created",
)
+ self.pmdout.wait_link_status_up(0)
self.sendpkt(
pktstr='Ether(dst="%s")/IP(src="2.2.2.5",dst="2.2.2.4")/TCP(dport=80,flags="S")/Raw(load="\x50"*8962)'
% self.pf_mac