carta
cxl-enable-port(1)

cxl-enable-port1

Activate / hot-add a given cxl port

Usage

cxl enable-port <port0> [<port1>..<portN>] [<options>]

Options

-e, --endpoint

Toggle from treating the port arguments as Switch Port identifiers to Endpoint Port identifiers.

-m, --enable-memdevs

Try to enable descendant memdevs after enabling the port. Recall that a memdev is only enabled after all CXL ports in its device topology ancestry are enabled.

Note: The '-m' option requires release v83 or newer when used with
kernel v6.18 or later. Older releases (before v83) will not work
because kernel v6.18 changed how CXL ports and downstream ports are
enumerated. In these newer kernels, the CXL port hierarchy is only
established once the memdev is probed. v83 and later remain fully
compatible with both older and newer kernels.
--debug

Turn on additional debug messages including library debug.

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 13 (Trixie)
  • Debian 12 (Bookworm)

From ndctl 85-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.