numam-dpdk/doc/guides
Xueming Li 66e0ea2c98 ethdev: support multi-host in representor
The NIC can have multiple PCIe links and can be attached to the multiple
hosts, for example the same single NIC can be shared for multiple server
units in the rack. On each PCIe link NIC can provide multiple PFs and
VFs/SFs based on these ones. To provide the unambiguous identification
of the PCIe function the controller index is added. The full representor
identifier consists of three indices - controller index, PF index, and
VF or SF index (if any).

This patch introduces controller index to ethdev representor syntax,
examples:

[[c#]pf#]vf#: VF port representor/s, example: pf0vf1
[[c#]pf#]sf#: SF port representor/s, example: c1pf1sf[0-3]

c# is controller(host) ID/range in case of multi-host, optional.

For user application (e.g. OVS), PMD is responsible to interpret and
locate representor device based on controller ID, PF ID and VF/SF ID in
representor syntax.

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
2021-03-16 20:15:29 +01:00
..
bbdevs usertools: remove dpdk-setup.sh 2020-11-27 17:25:24 +01:00
compressdevs compress/mlx5: add supported capabilities 2021-01-27 20:40:03 +01:00
contributing build: add header includes check 2021-01-29 20:59:37 +01:00
cryptodevs doc: replace hugepages commands with dedicated tool 2021-02-11 23:26:37 +01:00
eventdevs event/octeontx: remove selftest option 2020-11-20 18:53:47 +01:00
faq usertools: remove dpdk-setup.sh 2020-11-27 17:25:24 +01:00
freebsd_gsg buildtools: use Python pmdinfogen 2021-01-25 23:23:41 +01:00
howto doc: replace hugepages commands with dedicated tool 2021-02-11 23:26:37 +01:00
linux_gsg vfio: do not merge contiguous areas 2021-03-01 11:58:24 +01:00
mempool eal: replace blacklist/whitelist options 2020-11-16 00:11:22 +01:00
nics net/sfc: skip driver probe for incompatible device class 2021-03-16 12:39:42 +01:00
platform doc: fix build 2021-01-26 16:41:51 +01:00
prog_guide ethdev: support PF index in representor 2021-03-16 20:15:29 +01:00
rawdevs doc: remove references to make from rawdevs guide 2020-10-22 22:54:05 +02:00
regexdevs doc: fix driver names 2020-11-03 16:23:03 +01:00
rel_notes ethdev: support multi-host in representor 2021-03-16 20:15:29 +01:00
sample_app_ug doc: replace hugepages commands with dedicated tool 2021-02-11 23:26:37 +01:00
testpmd_app_ug app/testpmd: support forced ethernet speed 2021-03-08 12:44:01 +01:00
tools doc: fix crypto perf script guide 2021-02-04 19:21:27 +01:00
vdpadevs doc: simplify OS support in features matrix 2021-01-21 14:53:16 +01:00
windows_gsg doc: reword ABI policy for Windows 2020-07-08 12:28:21 +02:00
conf.py doc: allow external build 2020-11-20 10:18:09 +01:00
custom.css doc: improve HTML spacing in release notes 2018-02-14 00:23:25 +01:00
index.rst regex/mlx5: introduce driver for BlueField 2 2020-07-21 19:04:05 +02:00
meson.build doc: make sphinx comply with meson werror option 2020-10-05 23:52:02 +02:00