Skip to content

Add new packet formats for LWA Stations - #259

Open
jaycedowell wants to merge 43 commits into
mainfrom
zcu102
Open

jaycedowell wants to merge 43 commits into
mainfrom
zcu102

Conversation

@jaycedowell

Copy link
Copy Markdown
Member

This PR adds support for the ZCU102 and TBX packet formats. It also implements a few performance improvements to the IB Verbs codes as well as changes how time tags are mapped to sequence numbers in the COR format.

jaycedowell and others added 30 commits February 4, 2025 12:25
…r re-copying the ethernet/IP/UDP header if we already have what we need.
@codecov-commenter

codecov-commenter commented Jan 26, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 67.08%. Comparing base (3b26d76) to head (f360afc).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
python/bifrost/packet_capture.py 33.33% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #259      +/-   ##
==========================================
- Coverage   67.10%   67.08%   -0.02%     
==========================================
  Files          67       67              
  Lines        6001     6004       +3     
==========================================
+ Hits         4027     4028       +1     
- Misses       1974     1976       +2     
Files with missing lines Coverage Δ
python/bifrost/packet_capture.py 74.74% <33.33%> (-1.30%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

jaycedowell and others added 6 commits January 29, 2026 10:54
The blanking now follows the actual output layout, using the per-packet
npol/npol_tot to locate a missing source's channel and polarization block,
rather than assuming a fixed 2-word stride per source.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The CHIPS and ZCU102 unpack and blanking paths now use regular aligned
stores instead of non-temporal streaming stores.  Each 32 B store is only
half of a 64 B cache line with the other half coming from a different
packet, so the streaming stores became partial-line writes that DRAM has
to handle as read-modify-writes.  Letting both halves merge in cache is
~2.5x faster.  The ZCU102 blanking also now follows the actual output
layout, using the per-packet npol/npol_tot to locate a missing source's
channel and polarization block.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Configure now checks for ibv_modify_cq support and, if available, the
receive completion queues are moderated using --with-rx-cq-moderation-count
(default 64) and --with-rx-cq-moderation-period (default 100 us), clamped
to the device limits.

Also added check_error_nonzero for verbs calls that return a positive errno
on failure, which check_error was silently ignoring.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

2 participants