Add limited support for Intel I226-V - #1629
Conversation
…equirements-for-media-transport-library Add Intel I226-V build flow and helper script
…equirements-for-media-transport-library Add Intel I226-V build/run support: helper script, docs, and packaging notes
…tp-init Fix I226 PTP initialization and document AF_XDP timing
|
Hi, sorry for the "abandonment" of this PR. We are trying to prepare our CI/CD to be able to test and validate the jobs on these cards. This requires us to first create a hardware setup and custom testing scopes, as the limited throughput of this card is making most tests we run impossible. |
|
no worries, If you cant get your hands on any hardware and need a machine to test on, let me know, i can provide access. |
|
Hi i wanted to add some testing and other functionality so i cherry picked your changes into my branch please review it, and don't hesitate to be brutal about feedback |
Summary:
This PR adds documented Intel I226-V limited support for both DPDK and native AF_XDP operation.
This is not intended to support ST 2110-21 Support, but is sufficient for ST 2110-30, and compressed video media types.
Changes include:
DPDK root cause and fix:
The IGC PMD cannot enable timesync at the same point as the existing PF path. Enabling timesync before RX queues are configured can access uninitialized queues. Enabling it only after rte_eth_dev_start() fails to reserve the RX timestamp prefix, corrupting received packets. IGC port start also resets timestamp registers.
The new IGC-specific sequence is:
This behavior is gated on MT_DRV_IGC. The existing ICE/E800 startup path is unchanged.
AF_XDP notes:
Native AF_XDP keeps the I226 under the kernel igc driver, allowing Linux ptp4l and phc2sys to manage the PHC and system clock. Multiple MTL applications can share that disciplined clock without using RxTxApp’s built-in --ptp mode.
The guide also documents:
Validation:
exchanges in domain 0.
Files changed:
Known observation:
AF_XDP teardown reported outstanding RX mbufs and full TX-ring warnings after transmission stopped. These warnings did not cause runtime packet loss or a nonzero application exit during the validated run.
Investigation:
The warnings should not prevent later streams in the normal “new RxTxApp process” model.
Evidence from five consecutive AF_XDP start/stop cycles:
Impact:
queue.
before mempool cleanup. Process exit releases it.
a real cleanup defect.
alone should not block them.
Conclusion: low operational risk for separately launched applications, but worth a separate AF_XDP cleanup issue for long-lived daemons and repeated in-process initialization.
This behavior is pre-existing and unrelated to the I226v itself