iplink: add ip-link documentation

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>
This commit is contained in:
Eric Dumazet 2022-02-02 10:24:11 -08:00 committed by David Ahern
parent 5d57e13036
commit e4ba36f752

View 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