]> Git Repo - linux.git/commit
PCI: endpoint: Add support in configfs to associate two EPCs with EPF
authorKishon Vijay Abraham I <[email protected]>
Mon, 1 Feb 2021 19:57:59 +0000 (01:27 +0530)
committerBjorn Helgaas <[email protected]>
Tue, 23 Feb 2021 20:10:59 +0000 (14:10 -0600)
commite85a2d7837622bd99c96f5bbc7f972da90c285a2
treec74c12532bbbd0a6eda4d7bc2b51502fdc648657
parent63840ff5322373d665b2b9c59cd64233d5f0691e
PCI: endpoint: Add support in configfs to associate two EPCs with EPF

Now that PCI endpoint core supports to add secondary endpoint controller
(EPC) with endpoint function (EPF), Add support in configfs to associate
two EPCs with EPF. This creates "primary" and "secondary" directory inside
the directory created by users for EPF device. Users have to add a symlink
of endpoint controller (pci_ep/controllers/) to "primary" or "secondary"
directory to bind EPF to primary and secondary EPF interfaces respectively.
Existing method of linking directory representing EPF device to directory
representing EPC device to associate a single EPC device with a EPF device
will continue to work.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Documentation/PCI/endpoint/pci-endpoint-cfs.rst
drivers/pci/endpoint/pci-ep-cfs.c
This page took 0.054349 seconds and 4 git commands to generate.