m-labs / artiq

A leading-edge control system for quantum information experiments
https://m-labs.hk/artiq
GNU Lesser General Public License v3.0
426 stars 198 forks source link

repeater: handle async packets on forwarding #2478

Closed Spaqin closed 2 months ago

Spaqin commented 3 months ago

ARTIQ Pull Request

Description of Changes

In satellites with repeaters, a message from master can be forwarded (like DestinationStatusRequest) and an asynchronous (or satellite requested) message may come during an aux forward, returning wrong message. Same scheme as in master is used - the workaround singling out async packets and routing them, and awaiting the other response again instead.

Tested with Kaslis 2.0, Kasli-SoCs. Need to be included in ARTIQ-8 as well.

Type of Changes

Type
:bug: Bug fix

Steps (Choose relevant, delete irrelevant before submitting)

All Pull Requests

Code Changes

Git Logistics

Licensing

See copyright & licensing for more info. ARTIQ files that do not contain a license header are copyrighted by M-Labs Limited and are licensed under LGPLv3+.