Commit bf401cb
authored
Enable io_uring on aarch64 (microsoft#5934)
`io_uring` support is currently gated behind `__x86_64__` in
`src/inc/msquic_posix.h`:
```c
//
// TODO: build on other 64-bit architectures
//
#if CXPLAT_USE_IO_URING && defined(__x86_64__) // liburing
```
`io_uring` is a Linux kernel feature (available since 5.1) that is
architecture-independent. It works on all 64-bit architectures including
`aarch64`. The TODO comment in the code already acknowledges this is a
placeholder.
### Change
```diff
-#if CXPLAT_USE_IO_URING && defined(__x86_64__) // liburing
+#if CXPLAT_USE_IO_URING && (defined(__x86_64__) || defined(__aarch64__)) // liburing
```
### Testing
No new tests needed — this removes an architecture guard so existing
io_uring code paths now compile and run on aarch64. Validated in
production on Azure Cobalt 100 (AKS) with
`-DQUIC_LINUX_IOURING_ENABLED=on`.
Fixes microsoft#59331 parent 37d6673 commit bf401cb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
541 | | - | |
| 541 | + | |
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
| |||
0 commit comments