Scroll to navigation

PCI_ENABLE_ATOMIC_OP(9) Hardware Interfaces PCI_ENABLE_ATOMIC_OP(9)

NAME

pci_enable_atomic_ops_to_root - enable AtomicOp requests to root port

SYNOPSIS

int pci_enable_atomic_ops_to_root(struct pci_dev * dev, u32 cap_mask);

ARGUMENTS

dev

the PCI device

cap_mask

mask of desired AtomicOp sizes, including one or more of: PCI_EXP_DEVCAP2_ATOMIC_COMP32 PCI_EXP_DEVCAP2_ATOMIC_COMP64 PCI_EXP_DEVCAP2_ATOMIC_COMP128

DESCRIPTION

Return 0 if all upstream bridges support AtomicOp routing, egress blocking is disabled on all upstream ports, and the root port supports the requested completion capabilities (32-bit, 64-bit and/or 128-bit AtomicOp completion), or negative otherwise.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10