[2/2] doc: multiple representors in one device
Checks
Commit Message
Updating the documentation with the pattern format for enabling
multiple representors in one device
Signed-off-by: Harman Kalra <hkalra@marvell.com>
---
doc/guides/prog_guide/poll_mode_drv.rst | 4 +++-
doc/guides/prog_guide/switch_representation.rst | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
Comments
On 1/11/24 09:44, Harman Kalra wrote:
> Updating the documentation with the pattern format for enabling
> multiple representors in one device
>
> Signed-off-by: Harman Kalra <hkalra@marvell.com>
IMHO it should be squashed into previous patch.
> -----Original Message-----
> From: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
> Sent: Friday, January 12, 2024 12:56 PM
> To: Harman Kalra <hkalra@marvell.com>; Thomas Monjalon
> <thomas@monjalon.net>; Ferruh Yigit <ferruh.yigit@amd.com>
> Cc: dev@dpdk.org
> Subject: [EXT] Re: [PATCH 2/2] doc: multiple representors in one device
>
> External Email
>
> ----------------------------------------------------------------------
> On 1/11/24 09:44, Harman Kalra wrote:
> > Updating the documentation with the pattern format for enabling
> > multiple representors in one device
> >
> > Signed-off-by: Harman Kalra <hkalra@marvell.com>
>
> IMHO it should be squashed into previous patch.
Done, kindly review V2
@@ -376,7 +376,7 @@ parameters to those ports.
* ``representor`` for a device which supports the creation of representor ports
this argument allows user to specify which switch ports to enable port
- representors for. Multiple representors in one device argument is invalid::
+ representors for::
-a DBDF,representor=vf0
-a DBDF,representor=vf[0,4,6,9]
@@ -389,6 +389,8 @@ parameters to those ports.
-a DBDF,representor=pf1vf0
-a DBDF,representor=pf[0-1]sf[0-127]
-a DBDF,representor=pf1
+ -a DBDF,representor=pf[0-1],representor=pf2vf[0-2],representor=pf3[3,5-8]
+ (Enabling creation of multiple representors in one device argument)
Note: PMDs are not required to support the standard device arguments and users
should consult the relevant PMD documentation to see support devargs.
@@ -77,6 +77,7 @@ thought as a software "patch panel" front-end for applications.
-a pci:dbdf,representor=sf1
-a pci:dbdf,representor=sf[0-1023]
-a pci:dbdf,representor=sf[0,2-1023]
+ -a pci:dbdf,representor=pf[0-1],representor=pf2vf[0-2],representor=pf3[3,5]
- As virtual devices, they may be more limited than their physical
counterparts, for instance by exposing only a subset of device