1PCI_ENABLE_ATOMIC_OP(9) Hardware Interfaces PCI_ENABLE_ATOMIC_OP(9)
2
3
4
6 pci_enable_atomic_ops_to_root - enable AtomicOp requests to root port
7
9 int pci_enable_atomic_ops_to_root(struct pci_dev * dev, u32 cap_mask);
10
12 dev
13 the PCI device
14
15 cap_mask
16 mask of desired AtomicOp sizes, including one or more of:
17 PCI_EXP_DEVCAP2_ATOMIC_COMP32 PCI_EXP_DEVCAP2_ATOMIC_COMP64
18 PCI_EXP_DEVCAP2_ATOMIC_COMP128
19
21 Return 0 if all upstream bridges support AtomicOp routing, egress
22 blocking is disabled on all upstream ports, and the root port supports
23 the requested completion capabilities (32-bit, 64-bit and/or 128-bit
24 AtomicOp completion), or negative otherwise.
25
27Kernel Hackers Manual 3.10 June 2019 PCI_ENABLE_ATOMIC_OP(9)