Skip to content

connectivity: expand Ethernet validation coverage - #546

Open
Srikanth Muppandam (smuppand) wants to merge 6 commits into
qualcomm-linux:mainfrom
smuppand:feature/ethernet-validation-enhancements
Open

connectivity: expand Ethernet validation coverage#546
Srikanth Muppandam (smuppand) wants to merge 6 commits into
qualcomm-linux:mainfrom
smuppand:feature/ethernet-validation-enhancements

Conversation

@smuppand

Copy link
Copy Markdown
Contributor

Summary

Expand Ethernet validation with focused, portable test suites and shared helpers.

Changes

  • Move the existing Ethernet test into Ethernet_Basic_Validation
  • Add shared Ethernet discovery and validation helpers
  • Add focused suites for:
    • inventory
    • capabilities
    • statistics
    • dual-port traffic
    • throughput
    • suspend/resume
  • Support CLI arguments and environment variables, with CLI taking precedence
  • Auto-detect physical Ethernet interfaces unless explicitly provided
  • Add external-peer and local host-stack iperf3 modes
  • Support TCP forward/reverse, UDP, and bidirectional throughput
  • Treat unsupported optional capabilities as SKIP
  • Update LAVA definitions, test plans, and suite documentation

Notes

Local iperf3 mode validates the host network stack and test flow. It does not measure physical MAC/PHY throughput. External-peer mode should be used for link-performance validation.

Anil (@qcom-anilyada) Please note to update all lava-test-plans to reflect the new path for the existing ethernet test once the PR is merged, and tag where it is consumed.

Centralize Ethernet interface discovery, link and IPv4 readiness, result aggregation, traffic counters, ping targeting, and portable iperf3 receiver parsing for the focused connectivity suites.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Move the existing Ethernet test into a focused Basic Validation suite, add CLI and environment configuration with automatic interface discovery, document setup and results, and update existing plans to use the new path and result name.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Add read-only interface, MAC, PHY, driver, device-tree, queue, ethtool feature, pause, timestamping, ring, channel, and negotiated-link validation with optional-feature SKIP handling and explicit or automatic interface selection.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Add bounded interface-specific traffic validation for RX and TX movement, configurable error and drop thresholds, and concurrent dual-port connectivity with independent counter checks, cleanup, CLI options, and LAVA definitions.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Add external-peer and target-local iperf3 modes with TCP forward, reverse, UDP, and optional bidirectional coverage, throughput thresholds, automatic interface selection, CLI and environment configuration, server cleanup, and deployment guidance.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Add an opt-in rtcwake-based recovery test for driver binding, carrier, IPv4, connectivity, counters, and captured kernel health across suspend and resume, with safety checks, CLI and environment controls, and infrastructure documentation.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
@smuppand
Srikanth Muppandam (smuppand) force-pushed the feature/ethernet-validation-enhancements branch from 969cce6 to 3d529ab Compare August 23, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant