netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2-next] devlink: Extend man page for port function set command
@ 2020-11-30 16:47 Parav Pandit
  2020-12-03  3:41 ` David Ahern
  2021-01-22  5:02 ` [PATCH iproute2-next RESEND] " Parav Pandit
  0 siblings, 2 replies; 6+ messages in thread
From: Parav Pandit @ 2020-11-30 16:47 UTC (permalink / raw)
  To: netdev, stephen, dsahern; +Cc: Parav Pandit, Jiri Pirko

Extended devlink-port man page for synopsis, description and
example for setting devlink port function attribute.

Signed-off-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
---
 man/man8/devlink-port.8 | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/man/man8/devlink-port.8 b/man/man8/devlink-port.8
index 966faae6..7e2dc110 100644
--- a/man/man8/devlink-port.8
+++ b/man/man8/devlink-port.8
@@ -46,6 +46,12 @@ devlink-port \- devlink port configuration
 .ti -8
 .B devlink port help
 
+.ti -8
+.BR "devlink port function set "
+.RI "[ "
+.BR "hw_addr "
+.RI "ADDR ]"
+
 .SH "DESCRIPTION"
 .SS devlink port set - change devlink port attributes
 
@@ -99,6 +105,16 @@ If this argument is omitted all ports are listed.
 Is an alias for
 .BR devlink-health (8).
 
+.SS devlink port function set - Set the port function attribute.
+
+.PP
+.B "DEV/PORT_INDEX"
+- specifies the devlink port to operate on.
+
+.PP
+.BI hw_addr " ADDR"
+- hardware address of the function to set.
+
 .SH "EXAMPLES"
 .PP
 devlink port show
@@ -135,6 +151,11 @@ devlink port health show pci/0000:01:00.0/1 reporter tx
 .RS 4
 Shows status and configuration of tx reporter registered on pci/0000:01:00.0/1 devlink port.
 .RE
+.PP
+devlink port function set pci/0000:01:00.0/1 hw_addr 00:00:00:11:22:33
+.RS 4
+Configure hardware address of the PCI function represented by devlink port.
+.RE
 
 .SH SEE ALSO
 .BR devlink (8),
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH iproute2-next] devlink: Extend man page for port function set command
  2020-11-30 16:47 [PATCH iproute2-next] devlink: Extend man page for port function set command Parav Pandit
@ 2020-12-03  3:41 ` David Ahern
  2020-12-03  6:33   ` Parav Pandit
  2021-01-22  5:02 ` [PATCH iproute2-next RESEND] " Parav Pandit
  1 sibling, 1 reply; 6+ messages in thread
From: David Ahern @ 2020-12-03  3:41 UTC (permalink / raw)
  To: Parav Pandit, netdev, stephen, dsahern; +Cc: Jiri Pirko

On 11/30/20 9:47 AM, Parav Pandit wrote:
> Extended devlink-port man page for synopsis, description and
> example for setting devlink port function attribute.
> 
> Signed-off-by: Parav Pandit <parav@nvidia.com>
> Reviewed-by: Jiri Pirko <jiri@nvidia.com>
> ---
>  man/man8/devlink-port.8 | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
> 
> diff --git a/man/man8/devlink-port.8 b/man/man8/devlink-port.8
> index 966faae6..7e2dc110 100644
> --- a/man/man8/devlink-port.8
> +++ b/man/man8/devlink-port.8
> @@ -46,6 +46,12 @@ devlink-port \- devlink port configuration
>  .ti -8
>  .B devlink port help
>  
> +.ti -8
> +.BR "devlink port function set "

The command exists in iproute2 main branch correct?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [PATCH iproute2-next] devlink: Extend man page for port function set command
  2020-12-03  3:41 ` David Ahern
@ 2020-12-03  6:33   ` Parav Pandit
  0 siblings, 0 replies; 6+ messages in thread
From: Parav Pandit @ 2020-12-03  6:33 UTC (permalink / raw)
  To: David Ahern, netdev, stephen, dsahern; +Cc: Jiri Pirko



> From: David Ahern <dsahern@gmail.com>
> Sent: Thursday, December 3, 2020 9:12 AM
> 
> On 11/30/20 9:47 AM, Parav Pandit wrote:
> > Extended devlink-port man page for synopsis, description and example
> > for setting devlink port function attribute.
> >
> > Signed-off-by: Parav Pandit <parav@nvidia.com>
> > Reviewed-by: Jiri Pirko <jiri@nvidia.com>
> > ---
> >  man/man8/devlink-port.8 | 21 +++++++++++++++++++++
> >  1 file changed, 21 insertions(+)
> >
> > diff --git a/man/man8/devlink-port.8 b/man/man8/devlink-port.8 index
> > 966faae6..7e2dc110 100644
> > --- a/man/man8/devlink-port.8
> > +++ b/man/man8/devlink-port.8
> > @@ -46,6 +46,12 @@ devlink-port \- devlink port configuration  .ti -8
> > .B devlink port help
> >
> > +.ti -8
> > +.BR "devlink port function set "
> 
> The command exists in iproute2 main branch correct?
Yes, you are correct.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH iproute2-next RESEND] devlink: Extend man page for port function set command
  2020-11-30 16:47 [PATCH iproute2-next] devlink: Extend man page for port function set command Parav Pandit
  2020-12-03  3:41 ` David Ahern
@ 2021-01-22  5:02 ` Parav Pandit
  2021-01-26 13:23   ` Parav Pandit
  1 sibling, 1 reply; 6+ messages in thread
From: Parav Pandit @ 2021-01-22  5:02 UTC (permalink / raw)
  To: netdev, stephen, dsahern; +Cc: Parav Pandit, Jiri Pirko

Extended devlink-port man page for synopsis, description and
example for setting devlink port function attribute.

Signed-off-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
---
 man/man8/devlink-port.8 | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/man/man8/devlink-port.8 b/man/man8/devlink-port.8
index 966faae6..7e2dc110 100644
--- a/man/man8/devlink-port.8
+++ b/man/man8/devlink-port.8
@@ -46,6 +46,12 @@ devlink-port \- devlink port configuration
 .ti -8
 .B devlink port help
 
+.ti -8
+.BR "devlink port function set "
+.RI "[ "
+.BR "hw_addr "
+.RI "ADDR ]"
+
 .SH "DESCRIPTION"
 .SS devlink port set - change devlink port attributes
 
@@ -99,6 +105,16 @@ If this argument is omitted all ports are listed.
 Is an alias for
 .BR devlink-health (8).
 
+.SS devlink port function set - Set the port function attribute.
+
+.PP
+.B "DEV/PORT_INDEX"
+- specifies the devlink port to operate on.
+
+.PP
+.BI hw_addr " ADDR"
+- hardware address of the function to set.
+
 .SH "EXAMPLES"
 .PP
 devlink port show
@@ -135,6 +151,11 @@ devlink port health show pci/0000:01:00.0/1 reporter tx
 .RS 4
 Shows status and configuration of tx reporter registered on pci/0000:01:00.0/1 devlink port.
 .RE
+.PP
+devlink port function set pci/0000:01:00.0/1 hw_addr 00:00:00:11:22:33
+.RS 4
+Configure hardware address of the PCI function represented by devlink port.
+.RE
 
 .SH SEE ALSO
 .BR devlink (8),
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* RE: [PATCH iproute2-next RESEND] devlink: Extend man page for port function set command
  2021-01-22  5:02 ` [PATCH iproute2-next RESEND] " Parav Pandit
@ 2021-01-26 13:23   ` Parav Pandit
  2021-01-29  6:35     ` Parav Pandit
  0 siblings, 1 reply; 6+ messages in thread
From: Parav Pandit @ 2021-01-26 13:23 UTC (permalink / raw)
  To: netdev, stephen, dsahern; +Cc: Jiri Pirko

Hi Stephen,

> From: Parav Pandit <parav@nvidia.com>
> Sent: Friday, January 22, 2021 10:32 AM
> 
> Extended devlink-port man page for synopsis, description and example for
> setting devlink port function attribute.
> 
> Signed-off-by: Parav Pandit <parav@nvidia.com>
> Reviewed-by: Jiri Pirko <jiri@nvidia.com>

Can you please review this short update?

> ---
>  man/man8/devlink-port.8 | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
> 
> diff --git a/man/man8/devlink-port.8 b/man/man8/devlink-port.8 index
> 966faae6..7e2dc110 100644
> --- a/man/man8/devlink-port.8
> +++ b/man/man8/devlink-port.8
> @@ -46,6 +46,12 @@ devlink-port \- devlink port configuration  .ti -8  .B
> devlink port help
> 
> +.ti -8
> +.BR "devlink port function set "
> +.RI "[ "
> +.BR "hw_addr "
> +.RI "ADDR ]"
> +
>  .SH "DESCRIPTION"
>  .SS devlink port set - change devlink port attributes
> 
> @@ -99,6 +105,16 @@ If this argument is omitted all ports are listed.
>  Is an alias for
>  .BR devlink-health (8).
> 
> +.SS devlink port function set - Set the port function attribute.
> +
> +.PP
> +.B "DEV/PORT_INDEX"
> +- specifies the devlink port to operate on.
> +
> +.PP
> +.BI hw_addr " ADDR"
> +- hardware address of the function to set.
> +
>  .SH "EXAMPLES"
>  .PP
>  devlink port show
> @@ -135,6 +151,11 @@ devlink port health show pci/0000:01:00.0/1 reporter
> tx  .RS 4  Shows status and configuration of tx reporter registered on
> pci/0000:01:00.0/1 devlink port.
>  .RE
> +.PP
> +devlink port function set pci/0000:01:00.0/1 hw_addr 00:00:00:11:22:33
> +.RS 4 Configure hardware address of the PCI function represented by
> +devlink port.
> +.RE
> 
>  .SH SEE ALSO
>  .BR devlink (8),
> --
> 2.26.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [PATCH iproute2-next RESEND] devlink: Extend man page for port function set command
  2021-01-26 13:23   ` Parav Pandit
@ 2021-01-29  6:35     ` Parav Pandit
  0 siblings, 0 replies; 6+ messages in thread
From: Parav Pandit @ 2021-01-29  6:35 UTC (permalink / raw)
  To: Parav Pandit, netdev, stephen, dsahern; +Cc: Jiri Pirko

Hi David, Stephen,

> From: Parav Pandit <parav@nvidia.com>
> Sent: Tuesday, January 26, 2021 6:54 PM
> 
> Hi Stephen,
> 
> > From: Parav Pandit <parav@nvidia.com>
> > Sent: Friday, January 22, 2021 10:32 AM
> >
> > Extended devlink-port man page for synopsis, description and example
> > for setting devlink port function attribute.
> >
> > Signed-off-by: Parav Pandit <parav@nvidia.com>
> > Reviewed-by: Jiri Pirko <jiri@nvidia.com>
> 
> Can you please review this short update?
Please discard this patch, I am sending the subfunction patches and this piece is covered in it now.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-29  6:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-30 16:47 [PATCH iproute2-next] devlink: Extend man page for port function set command Parav Pandit
2020-12-03  3:41 ` David Ahern
2020-12-03  6:33   ` Parav Pandit
2021-01-22  5:02 ` [PATCH iproute2-next RESEND] " Parav Pandit
2021-01-26 13:23   ` Parav Pandit
2021-01-29  6:35     ` Parav Pandit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).