Skip to content

eth_tx_tstrb_issue_test shows packet size mismatch: expected 78 bytes, observed 84 bytes (+6). Suggests final AXI beat byte-valid mask is not respected. #5

Description

@RaiMuhammadDanish

Expected behavior

For payload size 52:

  • Final AXI beat has 2 valid bytes (tstrb=0x03)
  • Only 2 bytes from final beat should be transmitted
  • Frame size should match reference model (78 bytes)

Actual behavior

  • Driver reports:
    • remaining bytes = 2
    • tstrb = 3
  • Observed waveform:
    • exp_pkt_size=78bytes
    • act_pkt_size=84bytes
  • Extra bytes observed: +6 (matches invalid lanes of final 64-bit beat)

Analysis

Difference is exactly +6 bytes, which equals invalid byte lanes on last 64-bit beat when only 2 bytes are valid (8 - 2 = 6).
Likely final-beat mask handling issue in TX datapath (tstrb/tkeep not applied correctly near EOP).

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions