Skip to content

Commit bf401cb

Browse files
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#5933
1 parent 37d6673 commit bf401cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/inc/msquic_posix.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ QuicAddrToString(
538538
//
539539
// TODO: build on other 64-bit architectures
540540
//
541-
#if CXPLAT_USE_IO_URING && defined(__x86_64__) // liburing
541+
#if CXPLAT_USE_IO_URING && (defined(__x86_64__) || defined(__aarch64__)) // liburing
542542
#define LIBURING_INTERNAL
543543

544544
#if defined(__cplusplus)

0 commit comments

Comments
 (0)