Skip to content

fix(tcp): bound payload by IPv4 Total Length — drops NIC Ethernet padding (data-phase RST)#110

Merged
gspivey merged 1 commit into
developmentfrom
agent/tcp-codec-padding-fix
Jul 2, 2026
Merged

fix(tcp): bound payload by IPv4 Total Length — drops NIC Ethernet padding (data-phase RST)#110
gspivey merged 1 commit into
developmentfrom
agent/tcp-codec-padding-fix

Conversation

@gspivey

@gspivey gspivey commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Root cause of DPDK-TCP connections resetting in the data phase (perf run 28557222376: TRex opened 150,002 flows, 0 sustained; DUT logs show connection reset on every flow).

parse_tcp_packet computed the TCP payload as frame[payload_start..] — all bytes to the end of the frame — and never bounded it by the IPv4 Total Length. AWS ENA (like any NIC) hardware-pads sub-60-byte Ethernet frames to the 60-byte minimum, so a peer's bare 54-byte ACK arrives as 60 bytes. Those 6 padding bytes were parsed as a 6-byte TCP "payload", so the engine advanced rcv_nxt by 6 and ACKed data the peer never sent → per RFC 793 the peer RSTs → every flow reset right after the first echo.

Fix

Bound payload by the IPv4 Total Length. Regression test parse_ignores_ethernet_padding builds a bare ACK, pads it to 60 B, and asserts an empty payload — fails before, passes after. All 221 tcp tests pass; offline, no EC2 needed.

This is a genuine stack correctness bug (affects any NIC-padded short frame), not perf-only. Found via a multi-agent diagnostic workflow over the run logs + engine code.

Note: real perf numbers also need the separate TRex stats-key fix (coming) — this PR stops the resets; that one reads the counters from the right dict. Follow-up: check whether the UDP/QUIC codecs need the same Total-Length bound.

🤖 Generated with Claude Code

…adding)

parse_tcp_packet took payload as frame[payload_start..] (to end of frame) and
never read the IPv4 Total Length. NICs hardware-pad sub-60-byte frames to the
60-byte Ethernet minimum, so a peer's bare 54-byte ACK arrives as 60 bytes;
those 6 padding bytes were parsed as TCP payload, advancing rcv_nxt past what
the peer actually sent. The DUT then ACKed unsent data and the peer RST the
flow — observed as EVERY connection resetting in the data phase during perf run
28557222376 (150k flows opened, 0 sustained).

Bound payload by the IPv4 Total Length (frame[ip+2..ip+4]). Regression test
parse_ignores_ethernet_padding feeds a 54-byte bare ACK padded to 60 bytes and
asserts an empty payload; fails before the fix (6-byte payload), passes after.
Offline, no EC2. Found via a diagnostic workflow over the perf-run logs + code.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Synthetic Performance Results — Graviton (run)

Commit: c29c449c

✅ synthetic UDP socket bound to 10.0.0.1:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to 10.0.0.1:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to [2001:db8::1]:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to [2001:db8::1]:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to 10.0.0.1:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to 10.0.0.1:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to [2001:db8::1]:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to [2001:db8::1]:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to 10.0.0.1:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to 10.0.0.1:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to [2001:db8::1]:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to [2001:db8::1]:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to 10.0.0.1:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to 10.0.0.1:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to [2001:db8::1]:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to [2001:db8::1]:9000 (MAC: 02:00:00:00:00:01)

Synthetic UDP Performance Results

Measures framework overhead: sync dpdk_udp::UdpSocket vs async (std::sync::Mutex + try_recv_from).

IPv4 Baseline

Test Payload Sync PPS Async PPS Ratio (sync/async) Async ns/op
TX send_to 64B 11.5M 11.0M 1.0x 91
RX recv_from 64B 3.4M 4.5M 0.7x 221
TX send_to 1400B 1.6M 1.6M 1.0x 612
RX recv_from 1400B 1.1M 1.1M 0.9x 869

IPv6

Test Payload Sync PPS Async PPS Ratio (sync/async) Async ns/op
TX send_to (IPv6) 64B 8.7M 8.3M 1.0x 119
RX recv_from (IPv6) 64B 3.7M 5.4M 0.7x 185
TX send_to (IPv6) 1400B 2.7M 2.6M 1.0x 378
RX recv_from (IPv6) 1400B 1.1M 1.2M 0.9x 856

IPv6 vs IPv4 Comparison (sync path)

Test Payload IPv4 PPS IPv6 PPS IPv4/IPv6 Ratio
TX send_to (sync) 64B 11.5M 8.7M 1.33x
RX recv_from (sync) 64B 3.4M 3.7M 0.90x
TX send_to (sync) 1400B 1.6M 2.7M 0.62x
RX recv_from (sync) 1400B 1.1M 1.1M 0.98x

IPv4 avg sync/async ratio: 0.9x, worst: 1.0x | IPv6 vs IPv4 worst ratio: 1.33x (OK)

OK: IPv6 is 32.8% slower than IPv4 — within acceptable threshold (<50%). Expected due to larger headers (40B vs 20B) and mandatory UDP checksum.

Good: Async wrapper is within 1.0x of sync — minimal framework overhead.

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Synthetic Performance Results (run)

Commit: c29c449c

✅ synthetic UDP socket bound to 10.0.0.1:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to 10.0.0.1:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to [2001:db8::1]:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to [2001:db8::1]:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to 10.0.0.1:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to 10.0.0.1:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to [2001:db8::1]:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to [2001:db8::1]:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to 10.0.0.1:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to 10.0.0.1:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to [2001:db8::1]:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to [2001:db8::1]:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to 10.0.0.1:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to 10.0.0.1:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to [2001:db8::1]:9000 (MAC: 02:00:00:00:00:01)
✅ synthetic UDP socket bound to [2001:db8::1]:9000 (MAC: 02:00:00:00:00:01)

Synthetic UDP Performance Results

Measures framework overhead: sync dpdk_udp::UdpSocket vs async (std::sync::Mutex + try_recv_from).

IPv4 Baseline

Test Payload Sync PPS Async PPS Ratio (sync/async) Async ns/op
TX send_to 64B 10.9M 10.2M 1.1x 98
RX recv_from 64B 3.2M 3.7M 0.9x 273
TX send_to 1400B 1.7M 1.7M 1.0x 605
RX recv_from 1400B 950.8K 986.6K 1.0x 1013

IPv6

Test Payload Sync PPS Async PPS Ratio (sync/async) Async ns/op
TX send_to (IPv6) 64B 9.1M 8.6M 1.1x 116
RX recv_from (IPv6) 64B 3.6M 4.1M 0.9x 243
TX send_to (IPv6) 1400B 2.7M 2.7M 1.0x 372
RX recv_from (IPv6) 1400B 919.4K 959.9K 1.0x 1041

IPv6 vs IPv4 Comparison (sync path)

Test Payload IPv4 PPS IPv6 PPS IPv4/IPv6 Ratio
TX send_to (sync) 64B 10.9M 9.1M 1.20x
RX recv_from (sync) 64B 3.2M 3.6M 0.88x
TX send_to (sync) 1400B 1.7M 2.7M 0.61x
RX recv_from (sync) 1400B 950.8K 919.4K 1.03x

IPv4 avg sync/async ratio: 1.0x, worst: 1.1x | IPv6 vs IPv4 worst ratio: 1.20x (OK)

OK: IPv6 is 19.8% slower than IPv4 — within acceptable threshold (<50%). Expected due to larger headers (40B vs 20B) and mandatory UDP checksum.

Good: Async wrapper is within 1.1x of sync — minimal framework overhead.

@gspivey gspivey merged commit 774e302 into development Jul 2, 2026
7 checks passed
@gspivey gspivey deleted the agent/tcp-codec-padding-fix branch July 2, 2026 03:01
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

[CI] Stage: Deploy

Infrastructure ready.

  • Sender: i-01000949df5ddf745 (DPDK ENI: 10.0.1.70)
  • Receiver: i-000ca9c20d92507c3 (DPDK ENI: 10.0.1.102)
  • Both instances SSM-ready.

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

[CI] Stage: Deploy

Infrastructure ready.

  • Sender: i-0a7cb2096637b548b (DPDK ENI: 10.0.1.126)
  • Receiver: i-020a499f10a51325e (DPDK ENI: 10.0.1.122)
  • Both instances SSM-ready.

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

[CI] Stage: Summary

All tests PASSED.

ARP seeding: kernel /proc/net/arp (automatic)

  • tier1-dpdk-echo: 6 tests, 0 failures
  • tier2-kernel-interop: 4 tests, 0 failures
  • tier3-iperf-interop: 1 tests, 0 failures
  • tier3-iperf-interop: 1 tests, 0 failures

1 similar comment
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

[CI] Stage: Summary

All tests PASSED.

ARP seeding: kernel /proc/net/arp (automatic)

  • tier1-dpdk-echo: 6 tests, 0 failures
  • tier2-kernel-interop: 4 tests, 0 failures
  • tier3-iperf-interop: 1 tests, 0 failures
  • tier3-iperf-interop: 1 tests, 0 failures

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

✅ Integration Tests Passed — Graviton (run)

Branch: 110/merge | Commit: c29c449c

Test Results

  • tier1-dpdk-echo.xml: 6 tests, 0 failures
  • tier2-kernel-interop.xml: 4 tests, 0 failures
  • tier3-iperf-sends.xml: 1 tests, 0 failures
  • tier3-our-app-sends.xml: 1 tests, 0 failures

Application Logs (last 20 lines)

receiver-echo-server.log

EAL: Detected CPU lcores: 2
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
EAL: Using IOMMU type 8 (No-IOMMU)
EAL: Probe PCI driver: net_ena (1d0f:ec20) device: 0000:00:06.0 (socket -1)
TELEMETRY: No legacy callbacks, legacy socket not created
Warning: Some RX offloads not supported by device (flags: 0x1)
Warning: Some TX offloads not supported by device (flags: 0x1)
✅ DPDK UDP socket bound to 10.0.1.102:9000 (MAC: 02:36:e0:72:e8:bd)
echo listening on 10.0.1.102:9000 (MTU=9001, max_udp_payload=8973)
Shutting down gracefully...

sender-echo-server.log

EAL: Detected CPU lcores: 2
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
EAL: Using IOMMU type 8 (No-IOMMU)
EAL: Probe PCI driver: net_ena (1d0f:ec20) device: 0000:00:06.0 (socket -1)
TELEMETRY: No legacy callbacks, legacy socket not created
Warning: Some RX offloads not supported by device (flags: 0x1)
Warning: Some TX offloads not supported by device (flags: 0x1)
✅ DPDK UDP socket bound to 10.0.1.70:9000 (MAC: 02:4e:74:fe:b3:49)
echo listening on 10.0.1.70:9000 (MTU=9001, max_udp_payload=8973)
Shutting down gracefully...

sender-test-client.log

EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
TELEMETRY: No legacy callbacks, legacy socket not created
DPDK bind failed (Port init failed: Invalid port ID: 0), falling back to tokio
Backend: tokio
Sending packets...
Sent 12 bytes: 'arp-probe #1'
Received 12 bytes from 10.0.1.102:9000: 'arp-probe #1'
Test complete
[2026-07-02T03:13:06Z] INFO: ARP resolution succeeded (got response from peer)
[2026-07-02T03:13:06Z] INFO: Test: udp_send_receive
[2026-07-02T03:13:07Z] INFO: UDP send/receive succeeded
[2026-07-02T03:13:07Z] INFO: Test: echo_roundtrip
[2026-07-02T03:13:08Z] INFO: Echo roundtrip succeeded: 5/5 responses received
[2026-07-02T03:13:08Z] INFO: Test: payload_integrity
[2026-07-02T03:13:08Z] INFO: Response received, checking payload match...
[2026-07-02T03:13:08Z] INFO: Payload integrity verified (found in response)
[2026-07-02T03:13:08Z] INFO: JUnit XML written to: /tmp/test-results/tier2-kernel-interop.xml
[2026-07-02T03:13:08Z] INFO: Tier 2 sender tests complete. Results: /tmp/test-results/tier2-kernel-interop.xml

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

✅ Integration Tests Passed (Run 28562108531)

Branch: 110/merge | Commit: c29c449c

Test Results

  • tier1-dpdk-echo.xml: 6 tests, 0 failures, skipped
  • tier2-kernel-interop.xml: 4 tests, 0 failures, skipped
  • tier3-iperf-sends.xml: 1 tests, 0 failures, skipped
  • tier3-our-app-sends.xml: 1 tests, 0 failures, skipped

Application Logs (last 20 lines)

receiver-echo-server.log

EAL: Detected CPU lcores: 2
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
EAL: Using IOMMU type 8 (No-IOMMU)
EAL: Probe PCI driver: net_ena (1d0f:ec20) device: 0000:00:06.0 (socket -1)
TELEMETRY: No legacy callbacks, legacy socket not created
Warning: Some RX offloads not supported by device (flags: 0x1)
Warning: Some TX offloads not supported by device (flags: 0x1)
✅ DPDK UDP socket bound to 10.0.1.122:9000 (MAC: 02:ae:31:66:d7:c9)
echo listening on 10.0.1.122:9000 (MTU=9001, max_udp_payload=8973)
Shutting down gracefully...

sender-echo-server.log

EAL: Detected CPU lcores: 2
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
EAL: Using IOMMU type 8 (No-IOMMU)
EAL: Probe PCI driver: net_ena (1d0f:ec20) device: 0000:00:06.0 (socket -1)
TELEMETRY: No legacy callbacks, legacy socket not created
Warning: Some RX offloads not supported by device (flags: 0x1)
Warning: Some TX offloads not supported by device (flags: 0x1)
✅ DPDK UDP socket bound to 10.0.1.126:9000 (MAC: 02:a5:ba:4c:23:4b)
echo listening on 10.0.1.126:9000 (MTU=9001, max_udp_payload=8973)
Shutting down gracefully...

sender-test-client.log

EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
TELEMETRY: No legacy callbacks, legacy socket not created
DPDK bind failed (Port init failed: Invalid port ID: 0), falling back to tokio
Backend: tokio
Sending packets...
Sent 12 bytes: 'arp-probe #1'
Received 12 bytes from 10.0.1.122:9000: 'arp-probe #1'
Test complete
[2026-07-02T03:13:30Z] INFO: ARP resolution succeeded (got response from peer)
[2026-07-02T03:13:30Z] INFO: Test: udp_send_receive
[2026-07-02T03:13:31Z] INFO: UDP send/receive succeeded
[2026-07-02T03:13:31Z] INFO: Test: echo_roundtrip
[2026-07-02T03:13:32Z] INFO: Echo roundtrip succeeded: 5/5 responses received
[2026-07-02T03:13:32Z] INFO: Test: payload_integrity
[2026-07-02T03:13:32Z] INFO: Response received, checking payload match...
[2026-07-02T03:13:32Z] INFO: Payload integrity verified (found in response)
[2026-07-02T03:13:32Z] INFO: JUnit XML written to: /tmp/test-results/tier2-kernel-interop.xml
[2026-07-02T03:13:32Z] INFO: Tier 2 sender tests complete. Results: /tmp/test-results/tier2-kernel-interop.xml

receiver-test-client-iperf.log

[2026-07-02T03:20:57Z] INFO: iperf-sends: sent 10 packets, received 10 responses
[2026-07-02T03:20:57Z] INFO: iperf-sends: PASS (sent >= 5 packets)
[2026-07-02T03:20:57Z] INFO: JUnit XML written to: /tmp/test-results/tier3-iperf-sends.xml
[2026-07-02T03:20:57Z] INFO: iperf-sends test complete

sender-test-client-iperf.log

Received 30 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #3'
Sent 30 bytes: 'dpdk-to-kernel-test-payload #4'
Received 30 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #4'
Sent 30 bytes: 'dpdk-to-kernel-test-payload #5'
Received 30 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #5'
Sent 30 bytes: 'dpdk-to-kernel-test-payload #6'
Received 30 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #6'
Sent 30 bytes: 'dpdk-to-kernel-test-payload #7'
Received 30 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #7'
Sent 30 bytes: 'dpdk-to-kernel-test-payload #8'
Received 30 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #8'
Sent 30 bytes: 'dpdk-to-kernel-test-payload #9'
Received 30 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #9'
Sent 31 bytes: 'dpdk-to-kernel-test-payload #10'
Received 31 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #10'
Test complete
[2026-07-02T03:19:45Z] INFO: our-app-sends: sent 10 packets, received 10 responses
[2026-07-02T03:19:45Z] INFO: our-app-sends: PASS (sent >= 5 packets)
[2026-07-02T03:19:45Z] INFO: JUnit XML written to: /tmp/test-results/tier3-our-app-sends.xml
[2026-07-02T03:19:45Z] INFO: our-app-sends test complete
Full Application Logs (last 200 lines each)

receiver-echo-server.log

EAL: Detected CPU lcores: 2
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
EAL: Using IOMMU type 8 (No-IOMMU)
EAL: Probe PCI driver: net_ena (1d0f:ec20) device: 0000:00:06.0 (socket -1)
TELEMETRY: No legacy callbacks, legacy socket not created
Warning: Some RX offloads not supported by device (flags: 0x1)
Warning: Some TX offloads not supported by device (flags: 0x1)
✅ DPDK UDP socket bound to 10.0.1.122:9000 (MAC: 02:ae:31:66:d7:c9)
echo listening on 10.0.1.122:9000 (MTU=9001, max_udp_payload=8973)
Shutting down gracefully...

sender-echo-server.log

EAL: Detected CPU lcores: 2
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
EAL: Using IOMMU type 8 (No-IOMMU)
EAL: Probe PCI driver: net_ena (1d0f:ec20) device: 0000:00:06.0 (socket -1)
TELEMETRY: No legacy callbacks, legacy socket not created
Warning: Some RX offloads not supported by device (flags: 0x1)
Warning: Some TX offloads not supported by device (flags: 0x1)
✅ DPDK UDP socket bound to 10.0.1.126:9000 (MAC: 02:a5:ba:4c:23:4b)
echo listening on 10.0.1.126:9000 (MTU=9001, max_udp_payload=8973)
Shutting down gracefully...

sender-test-client.log

[2026-07-02T03:10:02Z] INFO: Test: arp_resolution
UDP Test Client
Target: 10.0.1.122:9000
Bind address: 10.0.1.126:0
Message: 'arp-probe'
Count: 1
EAL: Detected CPU lcores: 2
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
EAL: Using IOMMU type 8 (No-IOMMU)
EAL: Probe PCI driver: net_ena (1d0f:ec20) device: 0000:00:06.0 (socket -1)
TELEMETRY: No legacy callbacks, legacy socket not created
Warning: Some RX offloads not supported by device (flags: 0x1)
Warning: Some TX offloads not supported by device (flags: 0x1)
✅ DPDK UDP socket bound to 10.0.1.126:32768 (MAC: 02:a5:ba:4c:23:4b)
Backend: dpdk
Sending packets...
Sent 12 bytes: 'arp-probe #1'
Received 12 bytes from 10.0.1.122:9000: 'arp-probe #1'
Test complete
[2026-07-02T03:10:03Z] INFO: ARP resolution succeeded (got response from peer)
[2026-07-02T03:10:03Z] INFO: Test: udp_send_receive
[2026-07-02T03:10:05Z] INFO: UDP send/receive succeeded
[2026-07-02T03:10:05Z] INFO: Test: echo_roundtrip
[2026-07-02T03:10:06Z] INFO: Echo roundtrip succeeded: 5/5 responses received
[2026-07-02T03:10:06Z] INFO: Test: payload_integrity
[2026-07-02T03:10:07Z] INFO: Response received, checking payload match...
[2026-07-02T03:10:07Z] INFO: Payload integrity verified (found in response)
[2026-07-02T03:10:07Z] INFO: Test: jumbo_diagnostics
[2026-07-02T03:10:07Z] INFO: === JUMBO FRAME DIAGNOSTICS ===
[2026-07-02T03:10:07Z] INFO: Interface MTU:
  9001
  65536
[2026-07-02T03:10:07Z] INFO:   ens5: MTU=9001
[2026-07-02T03:10:07Z] INFO:   lo: MTU=65536
[2026-07-02T03:10:07Z] INFO: Routing table MTU column:
Iface	Destination	Gateway 	Flags	RefCnt	Use	Metric	Mask		MTU	Window	IRTT                                                       
ens5	00000000	0101000A	0003	0	0	512	00000000	0	0	0                                                                             
ens5	0200000A	0101000A	0007	0	0	512	FFFFFFFF	0	0	0                                                                             
ens5	0001000A	00000000	0001	0	0	512	00FFFFFF	0	0	0                                                                             
ens5	0101000A	00000000	0005	0	0	512	FFFFFFFF	0	0	0                                                                             
[2026-07-02T03:10:07Z] INFO: DPDK port config (from echo server log):
[2026-07-02T03:10:07Z] INFO:   (no MTU info in echo log)
[2026-07-02T03:10:07Z] INFO: === END JUMBO DIAGNOSTICS ===
[2026-07-02T03:10:07Z] INFO: Test: jumbo_echo_8000
[2026-07-02T03:10:09Z] INFO: Jumbo output: UDP Test Client
Target: 10.0.1.122:9000
Bind address: 10.0.1.126:0
Payload size: 8000 bytes
Count: 3
EAL: Detected CPU lcores: 2
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
EAL: Using IOMMU type 8 (No-IOMMU)
EAL: Probe PCI driver: net_ena (1d0f:ec20) device: 0000:00:06.0 (socket -1)
TELEMETRY: No legacy callbacks, legacy socket not created
Warning: Some RX offloads not supported by device (flags: 0x1)
Warning: Some TX offloads not supported by device (flags: 0x1)
✅ DPDK UDP socket bound to 10.0.1.126:32768 (MAC: 02:a5:ba:4c:23:4b)
Backend: dpdk
Sending packets...
Sent 8000 bytes (binary payload)
Received 8000 bytes from 10.0.1.122:9000 (expected 8000, OK)
Sent 8000 bytes (binary payload)
Received 8000 bytes from 10.0.1.122:9000 (expected 8000, OK)
Sent 8000 bytes (binary payload)
Received 8000 bytes from 10.0.1.122:9000 (expected 8000, OK)
Test complete
[2026-07-02T03:10:09Z] INFO: Jumbo frame echo succeeded: 3/3 responses with correct size
[2026-07-02T03:10:09Z] INFO: JUnit XML written to: /tmp/test-results/tier1-dpdk-echo.xml
[2026-07-02T03:10:09Z] INFO: Tier 1 sender tests complete. Results: /tmp/test-results/tier1-dpdk-echo.xml
[2026-07-02T03:13:30Z] INFO: Test: arp_resolution
UDP Test Client
Target: 10.0.1.122:9000
Bind address: 0.0.0.0:0
Message: 'arp-probe'
Count: 1
EAL: Detected CPU lcores: 2
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
TELEMETRY: No legacy callbacks, legacy socket not created
DPDK bind failed (Port init failed: Invalid port ID: 0), falling back to tokio
Backend: tokio
Sending packets...
Sent 12 bytes: 'arp-probe #1'
Received 12 bytes from 10.0.1.122:9000: 'arp-probe #1'
Test complete
[2026-07-02T03:13:30Z] INFO: ARP resolution succeeded (got response from peer)
[2026-07-02T03:13:30Z] INFO: Test: udp_send_receive
[2026-07-02T03:13:31Z] INFO: UDP send/receive succeeded
[2026-07-02T03:13:31Z] INFO: Test: echo_roundtrip
[2026-07-02T03:13:32Z] INFO: Echo roundtrip succeeded: 5/5 responses received
[2026-07-02T03:13:32Z] INFO: Test: payload_integrity
[2026-07-02T03:13:32Z] INFO: Response received, checking payload match...
[2026-07-02T03:13:32Z] INFO: Payload integrity verified (found in response)
[2026-07-02T03:13:32Z] INFO: JUnit XML written to: /tmp/test-results/tier2-kernel-interop.xml
[2026-07-02T03:13:32Z] INFO: Tier 2 sender tests complete. Results: /tmp/test-results/tier2-kernel-interop.xml

receiver-test-client-iperf.log

[2026-07-02T03:20:57Z] INFO: iperf-sends: sent 10 packets, received 10 responses
[2026-07-02T03:20:57Z] INFO: iperf-sends: PASS (sent >= 5 packets)
[2026-07-02T03:20:57Z] INFO: JUnit XML written to: /tmp/test-results/tier3-iperf-sends.xml
[2026-07-02T03:20:57Z] INFO: iperf-sends test complete

sender-test-client-iperf.log

[2026-07-02T03:19:42Z] INFO: Pre-flight: checking DPDK state and ARP cache...
[2026-07-02T03:19:42Z] INFO: Local IP: 10.0.1.126, Peer IP: 10.0.1.122, Port: 9000
[2026-07-02T03:19:42Z] INFO: /proc/net/arp contents:
IP address       HW type     Flags       HW address            Mask     Device
10.0.1.126       0x1         0x2         02:a5:ba:4c:23:4b     *        ens5
10.0.1.1         0x1         0x2         02:f6:4f:f2:9e:77     *        ens5
10.0.1.122       0x1         0x2         02:ae:31:66:d7:c9     *        ens5
10.0.1.32        0x1         0x2         02:ae:40:b6:49:eb     *        ens5
[2026-07-02T03:19:42Z] INFO: DPDK runtime state:
No /var/run/dpdk/ directory
[2026-07-02T03:19:42Z] INFO: vfio-pci bindings:
0000:00:06.0
bind
module
new_id
remove_id
uevent
unbind
[2026-07-02T03:19:42Z] INFO: Test binary: /opt/dpdk-stdlib/target/release/test-client
-rwxr-xr-x. 2 root root 1950776 Jul  2 03:06 /opt/dpdk-stdlib/target/release/test-client
[2026-07-02T03:19:42Z] INFO: Launching test-client: /opt/dpdk-stdlib/target/release/test-client --target 10.0.1.122 --port 9000 --bind-ip 10.0.1.126 --count 10 --delay 200
[2026-07-02T03:19:45Z] INFO: Test client output: UDP Test Client
Target: 10.0.1.122:9000
Bind address: 10.0.1.126:0
Message: 'dpdk-to-kernel-test-payload'
Count: 10
EAL: Detected CPU lcores: 2
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
EAL: Using IOMMU type 8 (No-IOMMU)
EAL: Probe PCI driver: net_ena (1d0f:ec20) device: 0000:00:06.0 (socket -1)
TELEMETRY: No legacy callbacks, legacy socket not created
Warning: Some RX offloads not supported by device (flags: 0x1)
Warning: Some TX offloads not supported by device (flags: 0x1)
✅ DPDK UDP socket bound to 10.0.1.126:32768 (MAC: 02:a5:ba:4c:23:4b)
Backend: dpdk
Sending packets...
Sent 30 bytes: 'dpdk-to-kernel-test-payload #1'
Received 30 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #1'
Sent 30 bytes: 'dpdk-to-kernel-test-payload #2'
Received 30 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #2'
Sent 30 bytes: 'dpdk-to-kernel-test-payload #3'
Received 30 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #3'
Sent 30 bytes: 'dpdk-to-kernel-test-payload #4'
Received 30 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #4'
Sent 30 bytes: 'dpdk-to-kernel-test-payload #5'
Received 30 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #5'
Sent 30 bytes: 'dpdk-to-kernel-test-payload #6'
Received 30 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #6'
Sent 30 bytes: 'dpdk-to-kernel-test-payload #7'
Received 30 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #7'
Sent 30 bytes: 'dpdk-to-kernel-test-payload #8'
Received 30 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #8'
Sent 30 bytes: 'dpdk-to-kernel-test-payload #9'
Received 30 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #9'
Sent 31 bytes: 'dpdk-to-kernel-test-payload #10'
Received 31 bytes from 10.0.1.122:9000: 'dpdk-to-kernel-test-payload #10'
Test complete
[2026-07-02T03:19:45Z] INFO: our-app-sends: sent 10 packets, received 10 responses
[2026-07-02T03:19:45Z] INFO: our-app-sends: PASS (sent >= 5 packets)
[2026-07-02T03:19:45Z] INFO: JUnit XML written to: /tmp/test-results/tier3-our-app-sends.xml
[2026-07-02T03:19:45Z] INFO: our-app-sends test complete
⚠️ SSM Command Failures (receiver-ssm-failure.log)
=== Polling timeout after 30s ===
Status: InProgress
Instance: i-020a499f10a51325e (receiver)
Command ID: 0251661a-b528-426f-b066-7251dcac0433

=== STDOUT ===


=== STDERR ===


=== Polling timeout after 30s ===
Status: InProgress
Instance: i-020a499f10a51325e (receiver)
Command ID: 10672e8d-9696-406d-8193-ca8b590ceaed

=== STDOUT ===


=== STDERR ===


=== Polling timeout after 30s ===
Status: InProgress
Instance: i-020a499f10a51325e (receiver)
Command ID: 118a00d4-e1a9-41a2-b380-90206af19457

=== STDOUT ===


=== STDERR ===


=== Polling timeout after 30s ===
Status: InProgress
Instance: i-020a499f10a51325e (receiver)
Command ID: 0ae170de-d3fc-4b9b-a8ec-7781a510234e

=== STDOUT ===


=== STDERR ===


⚠️ SSM Command Failures (sender-ssm-failure.log)
=== Polling timeout after 30s ===
Status: InProgress
Instance: i-0a7cb2096637b548b (sender)
Command ID: 108ee69c-268d-4280-9273-49d8299def60

=== STDOUT ===


=== STDERR ===


Network & PCI State

receiver-network-interfaces.log

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP group default qlen 1000
    link/ether 02:35:d5:cb:38:ab brd ff:ff:ff:ff:ff:ff
    altname enp0s5
    altname eni-0f3a836764fe46ca5
    altname device-number-0.0
    inet 10.0.1.169/24 metric 512 brd 10.0.1.255 scope global dynamic ens5
       valid_lft 2106sec preferred_lft 2106sec
    inet6 fe80::35:d5ff:fecb:38ab/64 scope link proto kernel_ll 
       valid_lft forever preferred_lft forever

sender-network-interfaces.log

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP group default qlen 1000
    link/ether 02:a7:e3:21:68:5f brd ff:ff:ff:ff:ff:ff
    altname enp0s5
    altname eni-02683aca53dafbe7a
    altname device-number-0.0
    inet 10.0.1.219/24 metric 512 brd 10.0.1.255 scope global dynamic ens5
       valid_lft 2128sec preferred_lft 2128sec
    inet6 fe80::a7:e3ff:fe21:685f/64 scope link proto kernel_ll 
       valid_lft forever preferred_lft forever

receiver-networking-diag-baseline.txt

=== NETWORKING DIAGNOSTICS ===
timestamp: 2026-07-02T03:09:24Z
hostname: ip-10-0-1-169.ec2.internal
kernel: 6.18.35-68.129.amzn2023.x86_64

=== DPDK PORT STATUS ===

Network devices using DPDK-compatible driver
============================================
0000:00:06.0 'Elastic Network Adapter (ENA) ec20' drv=vfio-pci unused=ena

Network devices using kernel driver
===================================
0000:00:05.0 'Elastic Network Adapter (ENA) ec20' if=ens5 drv=ena unused=vfio-pci *Active*

No 'Baseband' devices detected
==============================

No 'Crypto' devices detected
============================

No 'DMA' devices detected
=========================

No 'Eventdev' devices detected
==============================

No 'Mempool' devices detected
=============================

No 'Compress' devices detected
==============================

No 'Misc (rawdev)' devices detected
===================================

No 'Regex' devices detected
===========================

=== IP ADDRESSES ===
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP group default qlen 1000
    link/ether 02:35:d5:cb:38:ab brd ff:ff:ff:ff:ff:ff
    altname enp0s5
    altname eni-0f3a836764fe46ca5
    altname device-number-0.0
    inet 10.0.1.169/24 metric 512 brd 10.0.1.255 scope global dynamic ens5
       valid_lft 3084sec preferred_lft 3084sec
    inet6 fe80::35:d5ff:fecb:38ab/64 scope link proto kernel_ll 
       valid_lft forever preferred_lft forever

=== ARP TABLE ===
10.0.1.1 dev ens5 lladdr 02:f6:4f:f2:9e:77 REACHABLE 
10.0.1.217 dev ens5 lladdr 02:81:89:2b:13:bd REACHABLE 
10.0.1.32 dev ens5 lladdr 02:ae:40:b6:49:eb REACHABLE 

=== ROUTE TABLE ===
default via 10.0.1.1 dev ens5 proto dhcp src 10.0.1.169 metric 512 
10.0.0.2 via 10.0.1.1 dev ens5 proto dhcp src 10.0.1.169 metric 512 
10.0.1.0/24 dev ens5 proto kernel scope link src 10.0.1.169 metric 512 
10.0.1.1 dev ens5 proto dhcp scope link src 10.0.1.169 metric 512 

=== IMDS: ENI INFORMATION ===
ENI MACs found: 02:35:d5:cb:38:ab/ 02:ae:31:66:d7:c9/ 

--- ENI: 02:35:d5:cb:38:ab/ ---
  device-number: 0
  local-ipv4s: 10.0.1.169
  subnet-id: subnet-0313bb9f1b54fc390
  subnet-cidr: 10.0.1.0/24

--- ENI: 02:ae:31:66:d7:c9/ ---
  device-number: 1
  local-ipv4s: 10.0.1.122
  subnet-id: subnet-0313bb9f1b54fc390
  subnet-cidr: 10.0.1.0/24


=== GATEWAY ARP TEST ===
Gateway IP: 10.0.1.1
Gateway ARP entry:
10.0.1.1 dev ens5 lladdr 02:f6:4f:f2:9e:77 REACHABLE 

arping result:
ARPING 10.0.1.1 from 10.0.1.169 ens5
Unicast reply from 10.0.1.1 [02:F6:4F:F2:9E:77]  0.540ms
Sent 1 probes (1 broadcast(s))
Received 1 response(s)

=== HUGEPAGE STATUS ===
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
FileHugePages:     51200 kB
HugePages_Total:    1024
HugePages_Free:     1024
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:         2097152 kB

=== VFIO STATUS ===
total 0
drwxr-xr-x.  2 root root       80 Jul  2 03:09 .
drwxr-xr-x. 14 root root     3100 Jul  2 03:08 ..
crw-------.  1 root root 243,   0 Jul  2 03:09 noiommu-0
crw-rw-rw-.  1 root root  10, 196 Jul  2 03:00 vfio

noiommu mode:
Y

=== DPDK SHARED MEMORY ===
no /var/run/dpdk/ directory (clean state)

=== DPDK-RELATED DMESG (last 30 lines) ===
[    0.053534] printk: legacy console [ttyS0] enabled
[    0.054552] x2apic enabled
[    0.058704] mitigations: Enabled attack vectors: user_kernel, user_user, guest_host, guest_guest, SMT mitigations: auto
[    0.058812] x86/fpu: Enabled xstate features 0x2ff, context size is 2568 bytes, using 'compacted' format.
[    0.068603] audit: type=2000 audit(1782961244.048:1): state=initialized audit_enabled=0 res=1
[    0.088071] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.138283] ACPI: Interpreter enabled
[    0.138409] ACPI: Enabled 2 GPEs in block 00 to 0F
[    0.155721] pci 0000:00:05.0: enabling Extended Tags
[    0.243881] SGI XFS with ACLs, security attributes, quota, no debug enabled
[    0.249445] ACPI: \_SB_.LNKD: Enabled at IRQ 11
[    0.359146] IPI shorthand broadcast: enabled
[    2.537174] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System...
[    2.587092] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System.
[    2.623995] VFIO - User Level meta-driver version: 0.3
[    3.043372] ena 0000:00:05.0: Elastic Network Adapter (ENA) v2.17.1g
[    3.054700] ena 0000:00:05.0: ENA device version: 0.10
[    3.055392] ena 0000:00:05.0: ENA controller version: 0.0.1 implementation version 1
[    3.162009] ena 0000:00:05.0: ENA Large LLQ is disabled
[    3.174990] ena 0000:00:05.0: Elastic Network Adapter (ENA) found at mem c0500000, mac addr 02:35:d5:cb:38:ab
[    3.195464] ena 0000:00:05.0 ens5: renamed from eth0
[  472.213470] pci 0000:00:06.0: enabling Extended Tags
[  472.217367] ena 0000:00:06.0: enabling device (0000 -> 0002)
[  472.226815] ena 0000:00:06.0: ENA device version: 0.10
[  472.227581] ena 0000:00:06.0: ENA controller version: 0.0.1 implementation version 1
[  472.326787] ena 0000:00:06.0: ENA Large LLQ is disabled
[  472.338734] ena 0000:00:06.0: Elastic Network Adapter (ENA) found at mem c0508000, mac addr 02:ae:31:66:d7:c9
[  472.346003] ena 0000:00:06.0 ens6: renamed from eth0
[  508.173117] vfio-pci 0000:00:06.0: Adding to iommu group 0
[  508.174567] vfio-pci 0000:00:06.0: Adding kernel taint for vfio-noiommu group on device

=== DPDK-RELATED PROCESSES ===
no DPDK processes running

=== END DIAGNOSTICS ===

sender-networking-diag-baseline.txt

=== NETWORKING DIAGNOSTICS ===
timestamp: 2026-07-02T03:09:17Z
hostname: ip-10-0-1-219.ec2.internal
kernel: 6.18.35-68.129.amzn2023.x86_64

=== DPDK PORT STATUS ===

Network devices using DPDK-compatible driver
============================================
0000:00:06.0 'Elastic Network Adapter (ENA) ec20' drv=vfio-pci unused=ena

Network devices using kernel driver
===================================
0000:00:05.0 'Elastic Network Adapter (ENA) ec20' if=ens5 drv=ena unused=vfio-pci *Active*

No 'Baseband' devices detected
==============================

No 'Crypto' devices detected
============================

No 'DMA' devices detected
=========================

No 'Eventdev' devices detected
==============================

No 'Mempool' devices detected
=============================

No 'Compress' devices detected
==============================

No 'Misc (rawdev)' devices detected
===================================

No 'Regex' devices detected
===========================

=== IP ADDRESSES ===
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP group default qlen 1000
    link/ether 02:a7:e3:21:68:5f brd ff:ff:ff:ff:ff:ff
    altname enp0s5
    altname eni-02683aca53dafbe7a
    altname device-number-0.0
    inet 10.0.1.219/24 metric 512 brd 10.0.1.255 scope global dynamic ens5
       valid_lft 3092sec preferred_lft 3092sec
    inet6 fe80::a7:e3ff:fe21:685f/64 scope link proto kernel_ll 
       valid_lft forever preferred_lft forever

=== ARP TABLE ===
10.0.1.1 dev ens5 lladdr 02:f6:4f:f2:9e:77 REACHABLE 
10.0.1.32 dev ens5 lladdr 02:ae:40:b6:49:eb REACHABLE 

=== ROUTE TABLE ===
default via 10.0.1.1 dev ens5 proto dhcp src 10.0.1.219 metric 512 
10.0.0.2 via 10.0.1.1 dev ens5 proto dhcp src 10.0.1.219 metric 512 
10.0.1.0/24 dev ens5 proto kernel scope link src 10.0.1.219 metric 512 
10.0.1.1 dev ens5 proto dhcp scope link src 10.0.1.219 metric 512 

=== IMDS: ENI INFORMATION ===
ENI MACs found: 02:a5:ba:4c:23:4b/ 02:a7:e3:21:68:5f/ 

--- ENI: 02:a5:ba:4c:23:4b/ ---
  device-number: 1
  local-ipv4s: 10.0.1.126
  subnet-id: subnet-0313bb9f1b54fc390
  subnet-cidr: 10.0.1.0/24

--- ENI: 02:a7:e3:21:68:5f/ ---
  device-number: 0
  local-ipv4s: 10.0.1.219
  subnet-id: subnet-0313bb9f1b54fc390
  subnet-cidr: 10.0.1.0/24


=== GATEWAY ARP TEST ===
Gateway IP: 10.0.1.1
Gateway ARP entry:
10.0.1.1 dev ens5 lladdr 02:f6:4f:f2:9e:77 REACHABLE 

arping result:
ARPING 10.0.1.1 from 10.0.1.219 ens5
Unicast reply from 10.0.1.1 [02:F6:4F:F2:9E:77]  0.537ms
Sent 1 probes (1 broadcast(s))
Received 1 response(s)

=== HUGEPAGE STATUS ===
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
FileHugePages:     51200 kB
HugePages_Total:    1024
HugePages_Free:     1024
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:         2097152 kB

=== VFIO STATUS ===
total 0
drwxr-xr-x.  2 root root       80 Jul  2 03:09 .
drwxr-xr-x. 14 root root     3100 Jul  2 03:08 ..
crw-------.  1 root root 243,   0 Jul  2 03:09 noiommu-0
crw-rw-rw-.  1 root root  10, 196 Jul  2 03:00 vfio

noiommu mode:
Y

=== DPDK SHARED MEMORY ===
no /var/run/dpdk/ directory (clean state)

=== DPDK-RELATED DMESG (last 30 lines) ===
[    0.054225] printk: legacy console [ttyS0] enabled
[    0.055241] x2apic enabled
[    0.059433] mitigations: Enabled attack vectors: user_kernel, user_user, guest_host, guest_guest, SMT mitigations: auto
[    0.059543] x86/fpu: Enabled xstate features 0x2ff, context size is 2568 bytes, using 'compacted' format.
[    0.069328] audit: type=2000 audit(1782961244.089:1): state=initialized audit_enabled=0 res=1
[    0.088780] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.141496] ACPI: Interpreter enabled
[    0.141496] ACPI: Enabled 2 GPEs in block 00 to 0F
[    0.158835] pci 0000:00:05.0: enabling Extended Tags
[    0.224066] SGI XFS with ACLs, security attributes, quota, no debug enabled
[    0.247583] ACPI: \_SB_.LNKD: Enabled at IRQ 11
[    0.349721] IPI shorthand broadcast: enabled
[    3.268172] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System...
[    3.312221] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System.
[    3.359614] VFIO - User Level meta-driver version: 0.3
[    3.799889] ena 0000:00:05.0: Elastic Network Adapter (ENA) v2.17.1g
[    3.815571] ena 0000:00:05.0: ENA device version: 0.10
[    3.816479] ena 0000:00:05.0: ENA controller version: 0.0.1 implementation version 1
[    3.924650] ena 0000:00:05.0: ENA Large LLQ is disabled
[    3.937059] ena 0000:00:05.0: Elastic Network Adapter (ENA) found at mem c0500000, mac addr 02:a7:e3:21:68:5f
[    3.961149] ena 0000:00:05.0 ens5: renamed from eth0
[  452.339808] pci 0000:00:06.0: enabling Extended Tags
[  452.343833] ena 0000:00:06.0: enabling device (0000 -> 0002)
[  452.357242] ena 0000:00:06.0: ENA device version: 0.10
[  452.357999] ena 0000:00:06.0: ENA controller version: 0.0.1 implementation version 1
[  452.459173] ena 0000:00:06.0: ENA Large LLQ is disabled
[  452.472326] ena 0000:00:06.0: Elastic Network Adapter (ENA) found at mem c0508000, mac addr 02:a5:ba:4c:23:4b
[  452.479974] ena 0000:00:06.0 ens6: renamed from eth0
[  501.535419] vfio-pci 0000:00:06.0: Adding to iommu group 0
[  501.536834] vfio-pci 0000:00:06.0: Adding kernel taint for vfio-noiommu group on device

=== DPDK-RELATED PROCESSES ===
no DPDK processes running

=== END DIAGNOSTICS ===
⚠️ Crash Diagnostics

receiver-dmesg-crashes.log

[    0.067966] pid_max: default: 32768 minimum: 301
[    0.159578] iommu: Default domain type: Translated
[    0.164755] NetLabel:  unlabeled traffic allowed by default
[    0.187424] PCI: CLS 0 bytes, default 64
[    0.270592] nvme nvme0: 2/0/0 default/read/poll queues
[    0.440351] systemd[1]: systemd 252.23-12.amzn2023 running in system mode (+PAM +AUDIT +SELINUX -APPARMOR +IMA +SMACK +SECCOMP -GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN -IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 -BZIP2 -LZ4 +XZ +ZLIB -ZSTD +BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    0.440477] systemd[1]: No hostname configured, using default hostname.
[    0.547380] systemd[1]: Queued start job for default target initrd.target.
[    2.037175] systemd[1]: systemd 252.23-12.amzn2023 running in system mode (+PAM +AUDIT +SELINUX -APPARMOR +IMA +SMACK +SECCOMP -GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN -IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 -BZIP2 -LZ4 +XZ +ZLIB -ZSTD +BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[  543.408753] vfio-pci 0000:00:06.0: vfio-noiommu device opened by user (echo:8353)
[  751.095236] vfio-pci 0000:00:06.0: vfio-noiommu device opened by user (echo:8790)
[ 1360.924916] vfio-pci 0000:00:06.0: vfio-noiommu device opened by user (echo:9962)

sender-dmesg-crashes.log

[    0.068685] pid_max: default: 32768 minimum: 301
[    0.162735] iommu: Default domain type: Translated
[    0.162762] NetLabel:  unlabeled traffic allowed by default
[    0.178719] PCI: CLS 0 bytes, default 64
[    0.265026] nvme nvme0: 2/0/0 default/read/poll queues
[    0.439050] systemd[1]: systemd 252.23-12.amzn2023 running in system mode (+PAM +AUDIT +SELINUX -APPARMOR +IMA +SMACK +SECCOMP -GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN -IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 -BZIP2 -LZ4 +XZ +ZLIB -ZSTD +BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    0.439175] systemd[1]: No hostname configured, using default hostname.
[    0.498401] systemd[1]: Queued start job for default target initrd.target.
[    2.685278] systemd[1]: systemd 252.23-12.amzn2023 running in system mode (+PAM +AUDIT +SELINUX -APPARMOR +IMA +SMACK +SECCOMP -GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN -IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 -BZIP2 -LZ4 +XZ +ZLIB -ZSTD +BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 1181.678809] vfio-pci 0000:00:06.0: vfio-noiommu device opened by user (echo:9617)
Kernel Console (dmesg)

receiver-console-output.log (PCI/driver events only)

[  543.407219] vfio-pci 0000:00:06.0: reset done
[  543.408753] vfio-pci 0000:00:06.0: vfio-noiommu device opened by user (echo:8353)
[  543.410152] vfio-pci 0000:00:06.0: resetting
[  543.627089] vfio-pci 0000:00:06.0: reset done
[  621.069804] vfio-pci 0000:00:06.0: Removing from iommu group 0
[  622.082779] ena 0000:00:06.0: ENA device version: 0.10
[  622.083542] ena 0000:00:06.0: ENA controller version: 0.0.1 implementation version 1
[  622.184259] ena 0000:00:06.0: ENA Large LLQ is disabled
[  622.196192] ena 0000:00:06.0: Elastic Network Adapter (ENA) found at mem c0508000, mac addr 02:ae:31:66:d7:c9
[  622.203914] ena 0000:00:06.0 ens6: renamed from eth0
[  641.599162] vfio-pci 0000:00:06.0: Adding to iommu group 0
[  641.600393] vfio-pci 0000:00:06.0: Adding kernel taint for vfio-noiommu group on device
[  750.874681] vfio-pci 0000:00:06.0: resetting
[  751.093708] vfio-pci 0000:00:06.0: reset done
[  751.095236] vfio-pci 0000:00:06.0: vfio-noiommu device opened by user (echo:8790)
[  751.096642] vfio-pci 0000:00:06.0: resetting
[  751.313584] vfio-pci 0000:00:06.0: reset done
[  823.173427] vfio-pci 0000:00:06.0: Removing from iommu group 0
[  824.186246] ena 0000:00:06.0: ENA device version: 0.10
[  824.186991] ena 0000:00:06.0: ENA controller version: 0.0.1 implementation version 1
[  824.288138] ena 0000:00:06.0: ENA Large LLQ is disabled
[  824.301441] ena 0000:00:06.0: Elastic Network Adapter (ENA) found at mem c0508000, mac addr 02:ae:31:66:d7:c9
[  824.308838] ena 0000:00:06.0 ens6: renamed from eth0
[ 1289.377616] vfio-pci 0000:00:06.0: Adding to iommu group 0
[ 1289.379052] vfio-pci 0000:00:06.0: Adding kernel taint for vfio-noiommu group on device
[ 1360.697362] vfio-pci 0000:00:06.0: resetting
[ 1360.923382] vfio-pci 0000:00:06.0: reset done
[ 1360.924916] vfio-pci 0000:00:06.0: vfio-noiommu device opened by user (echo:9962)
[ 1360.926323] vfio-pci 0000:00:06.0: resetting
[ 1361.143227] vfio-pci 0000:00:06.0: reset done

sender-console-output.log (PCI/driver events only)

[ 1181.680206] vfio-pci 0000:00:06.0: resetting
[ 1181.897161] vfio-pci 0000:00:06.0: reset done
[ 1252.964298] vfio-pci 0000:00:06.0: Removing from iommu group 0
[ 1253.975002] ena 0000:00:06.0: ENA device version: 0.10
[ 1253.975756] ena 0000:00:06.0: ENA controller version: 0.0.1 implementation version 1
[ 1254.074975] ena 0000:00:06.0: ENA Large LLQ is disabled
[ 1254.087254] ena 0000:00:06.0: Elastic Network Adapter (ENA) found at mem c0508000, mac addr 02:a5:ba:4c:23:4b
[ 1254.095983] ena 0000:00:06.0 ens6: renamed from eth0
[ 1282.859093] vfio-pci 0000:00:06.0: Adding to iommu group 0
[ 1282.860365] vfio-pci 0000:00:06.0: Adding kernel taint for vfio-noiommu group on device
[ 1376.451462] vfio-pci 0000:00:06.0: resetting
[ 1376.665832] vfio-pci 0000:00:06.0: reset done
[ 1376.667411] vfio-pci 0000:00:06.0: vfio-noiommu device opened by user (tokio-rt-worker:10060)
[ 1376.669025] vfio-pci 0000:00:06.0: resetting
[ 1376.885669] vfio-pci 0000:00:06.0: reset done
[ 1377.173896] vfio-pci 0000:00:06.0: resetting
[ 1377.395711] vfio-pci 0000:00:06.0: reset done
[ 1377.397264] vfio-pci 0000:00:06.0: vfio-noiommu device opened by user (tokio-rt-worker:10080)
[ 1377.398847] vfio-pci 0000:00:06.0: resetting
[ 1377.615659] vfio-pci 0000:00:06.0: reset done
[ 1378.905876] vfio-pci 0000:00:06.0: resetting
[ 1379.125645] vfio-pci 0000:00:06.0: reset done
[ 1379.127201] vfio-pci 0000:00:06.0: vfio-noiommu device opened by user (tokio-rt-worker:10103)
[ 1379.128804] vfio-pci 0000:00:06.0: resetting
[ 1379.345615] vfio-pci 0000:00:06.0: reset done
[ 1380.636267] vfio-pci 0000:00:06.0: resetting
[ 1380.845637] vfio-pci 0000:00:06.0: reset done
[ 1380.847198] vfio-pci 0000:00:06.0: vfio-noiommu device opened by user (tokio-rt-worker:10126)
[ 1380.848819] vfio-pci 0000:00:06.0: resetting
[ 1381.065630] vfio-pci 0000:00:06.0: reset done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant