* Re: [PATCH] vdpa: Update man page with added support to configure max vq pair
[not found] <20220315131358.7210-1-elic@nvidia.com>
@ 2022-03-17 3:39 ` Jason Wang
2022-03-18 16:16 ` Si-Wei Liu
2022-03-18 16:27 ` Si-Wei Liu
2 siblings, 0 replies; 3+ messages in thread
From: Jason Wang @ 2022-03-17 3:39 UTC (permalink / raw)
To: Eli Cohen
Cc: Cindy Lu, mst, netdev, dsahern, virtualization,
Hemminger, Stephen, Si-Wei Liu
On Tue, Mar 15, 2022 at 9:14 PM Eli Cohen <elic@nvidia.com> wrote:
>
> Update man page to include information how to configure the max
> virtqueue pairs for a vdpa device when creating one.
>
> Signed-off-by: Eli Cohen <elic@nvidia.com>
Acked-by: Jason Wang <jasowang@redhat.com>
> ---
> man/man8/vdpa-dev.8 | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/man/man8/vdpa-dev.8 b/man/man8/vdpa-dev.8
> index aa21ae3acbd8..432867c65182 100644
> --- a/man/man8/vdpa-dev.8
> +++ b/man/man8/vdpa-dev.8
> @@ -33,6 +33,7 @@ vdpa-dev \- vdpa device configuration
> .I MGMTDEV
> .RI "[ mac " MACADDR " ]"
> .RI "[ mtu " MTU " ]"
> +.RI "[ max_vqp " MAX_VQ_PAIRS " ]"
>
> .ti -8
> .B vdpa dev del
> @@ -119,6 +120,11 @@ vdpa dev add name foo mgmtdev vdpa_sim_net mac 00:11:22:33:44:55 mtu 9000
> Add the vdpa device named foo on the management device vdpa_sim_net with mac address of 00:11:22:33:44:55 and mtu of 9000 bytes.
> .RE
> .PP
> +vdpa dev add name foo mgmtdev auxiliary/mlx5_core.sf.1 mac 00:11:22:33:44:55 max_vqp 8
> +.RS 4
> +Add the vdpa device named foo on the management device auxiliary/mlx5_core.sf.1 with mac address of 00:11:22:33:44:55 and max 8 virtqueue pairs
> +.RE
> +.PP
> vdpa dev del foo
> .RS 4
> Delete the vdpa device named foo which was previously created.
> --
> 2.35.1
>
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] vdpa: Update man page with added support to configure max vq pair
[not found] <20220315131358.7210-1-elic@nvidia.com>
2022-03-17 3:39 ` [PATCH] vdpa: Update man page with added support to configure max vq pair Jason Wang
@ 2022-03-18 16:16 ` Si-Wei Liu
2022-03-18 16:27 ` Si-Wei Liu
2 siblings, 0 replies; 3+ messages in thread
From: Si-Wei Liu @ 2022-03-18 16:16 UTC (permalink / raw)
To: Eli Cohen, dsahern, stephen, netdev, virtualization, jasowang; +Cc: lulu, mst
[-- Attachment #1.1: Type: text/plain, Size: 1815 bytes --]
On 3/15/2022 6:13 AM, Eli Cohen wrote:
> Update man page to include information how to configure the max
> virtqueue pairs for a vdpa device when creating one.
>
> Signed-off-by: Eli Cohen<elic@nvidia.com>
> ---
> man/man8/vdpa-dev.8 | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/man/man8/vdpa-dev.8 b/man/man8/vdpa-dev.8
> index aa21ae3acbd8..432867c65182 100644
> --- a/man/man8/vdpa-dev.8
> +++ b/man/man8/vdpa-dev.8
> @@ -33,6 +33,7 @@ vdpa-dev \- vdpa device configuration
> .I MGMTDEV
> .RI "[ mac " MACADDR " ]"
> .RI "[ mtu " MTU " ]"
> +.RI "[ max_vqp " MAX_VQ_PAIRS " ]"
Here it introduces the max_vqp option to the SYNOPSIS. I would be nice
to describe what it means and which device type is applicable in the
below section:
> .PP
> .BI mac " MACADDR"
> - specifies the mac address for the new vdpa device.
> This is applicable only for the network type of vdpa device. This is optional.
>
> .BI mtu " MTU"
> - specifies the mtu for the new vdpa device.
> This is applicable only for the network type of vdpa device. This is optional.
>
Otherwise looks good to me.
Reviewed-by: Si-Wei Liu <si-wei.liu@oracle.com>
Thanks,
-Siwei
>
> .ti -8
> .B vdpa dev del
> @@ -119,6 +120,11 @@ vdpa dev add name foo mgmtdev vdpa_sim_net mac 00:11:22:33:44:55 mtu 9000
> Add the vdpa device named foo on the management device vdpa_sim_net with mac address of 00:11:22:33:44:55 and mtu of 9000 bytes.
> .RE
> .PP
> +vdpa dev add name foo mgmtdev auxiliary/mlx5_core.sf.1 mac 00:11:22:33:44:55 max_vqp 8
> +.RS 4
> +Add the vdpa device named foo on the management device auxiliary/mlx5_core.sf.1 with mac address of 00:11:22:33:44:55 and max 8 virtqueue pairs
> +.RE
> +.PP
> vdpa dev del foo
> .RS 4
> Delete the vdpa device named foo which was previously created.
[-- Attachment #1.2: Type: text/html, Size: 3108 bytes --]
[-- Attachment #2: Type: text/plain, Size: 183 bytes --]
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] vdpa: Update man page with added support to configure max vq pair
[not found] <20220315131358.7210-1-elic@nvidia.com>
2022-03-17 3:39 ` [PATCH] vdpa: Update man page with added support to configure max vq pair Jason Wang
2022-03-18 16:16 ` Si-Wei Liu
@ 2022-03-18 16:27 ` Si-Wei Liu
2 siblings, 0 replies; 3+ messages in thread
From: Si-Wei Liu @ 2022-03-18 16:27 UTC (permalink / raw)
To: Eli Cohen, dsahern, stephen, netdev, virtualization, jasowang; +Cc: lulu, mst
On 3/15/2022 6:13 AM, Eli Cohen wrote:
> Update man page to include information how to configure the max
> virtqueue pairs for a vdpa device when creating one.
>
> Signed-off-by: Eli Cohen <elic@nvidia.com>
> ---
> man/man8/vdpa-dev.8 | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/man/man8/vdpa-dev.8 b/man/man8/vdpa-dev.8
> index aa21ae3acbd8..432867c65182 100644
> --- a/man/man8/vdpa-dev.8
> +++ b/man/man8/vdpa-dev.8
> @@ -33,6 +33,7 @@ vdpa-dev \- vdpa device configuration
> .I MGMTDEV
> .RI "[ mac " MACADDR " ]"
> .RI "[ mtu " MTU " ]"
> +.RI "[ max_vqp " MAX_VQ_PAIRS " ]"
>
Here it introduces the max_vqp option to the SYNOPSIS. I would be nice
to describe what it means and which device type is applicable in the
below section:
> .PP
> .BI mac " MACADDR"
> - specifies the mac address for the new vdpa device.
> This is applicable only for the network type of vdpa device. This is optional.
>
> .BI mtu " MTU"
> - specifies the mtu for the new vdpa device.
> This is applicable only for the network type of vdpa device. This is optional.
>
Otherwise looks good to me.
Reviewed-by: Si-Wei Liu <si-wei.liu@oracle.com>
Thanks,
-Siwei
> .ti -8
> .B vdpa dev del
> @@ -119,6 +120,11 @@ vdpa dev add name foo mgmtdev vdpa_sim_net mac 00:11:22:33:44:55 mtu 9000
> Add the vdpa device named foo on the management device vdpa_sim_net with mac address of 00:11:22:33:44:55 and mtu of 9000 bytes.
> .RE
> .PP
> +vdpa dev add name foo mgmtdev auxiliary/mlx5_core.sf.1 mac 00:11:22:33:44:55 max_vqp 8
> +.RS 4
> +Add the vdpa device named foo on the management device auxiliary/mlx5_core.sf.1 with mac address of 00:11:22:33:44:55 and max 8 virtqueue pairs
> +.RE
> +.PP
> vdpa dev del foo
> .RS 4
> Delete the vdpa device named foo which was previously created.
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-03-18 16:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20220315131358.7210-1-elic@nvidia.com>
2022-03-17 3:39 ` [PATCH] vdpa: Update man page with added support to configure max vq pair Jason Wang
2022-03-18 16:16 ` Si-Wei Liu
2022-03-18 16:27 ` Si-Wei Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox