]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
iplink: add ip-link documentation
authorEric Dumazet <edumazet@google.com>
Wed, 2 Feb 2022 18:24:11 +0000 (10:24 -0800)
committerDavid Ahern <dsahern@kernel.org>
Mon, 7 Feb 2022 18:51:03 +0000 (10:51 -0800)
Add documentation for gro_max_size.

Also make clear gso_max_size/gso_max_segs can be set after device creation.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Coco Li <lixiaoyan@google.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
man/man8/ip-link.8.in

index 19a0c9cab811666a9dce0372a4cb1b19db02d1a5..5f5b835cb2e335b68c4e3ace7bfd40683ae1c67b 100644 (file)
@@ -36,11 +36,14 @@ ip-link \- network device configuration
 .RB "[ " numrxqueues
 .IR QUEUE_COUNT " ]"
 .br
-.BR "[ " gso_max_size
+.RB "[ " gso_max_size
 .IR BYTES " ]"
 .RB "[ " gso_max_segs
 .IR SEGMENTS " ]"
 .br
+.RB "[ " gro_max_size
+.IR BYTES " ]"
+.br
 .BI type " TYPE"
 .RI "[ " ARGS " ]"
 
@@ -83,6 +86,13 @@ ip-link \- network device configuration
 .RB "[ " txqueuelen
 .IR PACKETS " ]"
 .br
+.RB "[ " max_gso_size
+.IR BYTES " ]"
+.RB "[ " max_gso_segs
+.IR SEGMENTS " ]"
+.RB "[ " max_gro_size
+.IR BYTES " ]"
+.br
 .RB "[ " name
 .IR NEWNAME " ]"
 .br
@@ -402,6 +412,11 @@ packet the new device should accept.
 specifies the recommended maximum number of a Generic Segment Offload
 segments the new device should accept.
 
+.TP
+.BI gro_max_size " BYTES "
+specifies the maximum size of a packet built by GRO stack
+on this device.
+
 .TP
 .BI index " IDX "
 specifies the desired index of the new virtual device. The link