.RB "[ " port_guid " eui64 ] ]"
.br
.in -9
-.RB "[ { " xdp " | " xdpgeneric " } { " off " | "
+.RB "[ { " xdp " | " xdpgeneric " | " xdpdrv " | " xdpoffload " } { " off " | "
.br
.in +8
.BR object
] [
.RB [ no ] encap-csum
] [
- .RB [ no ] encap-remcsum
+ .I " [no]encap-remcsum "
+ ] [
+ .I " mode " { ip6ip | ipip | mplsip | any } "
]
.in +8
- specifies if Remote Checksum Offload is enabled. This is only
applicable for Generic UDP Encapsulation.
+ .sp
+ .BI mode " { ip6ip | ipip | mplsip | any } "
+ - specifies mode in which device should run. "ip6ip" indicates
+ IPv6-Over-IPv4, "ipip" indicates "IPv4-Over-IPv4", "mplsip" indicates
+ MPLS-Over-IPv4, "any" indicates IPv6, IPv4 or MPLS Over IPv4. Supported for
+ SIT where the default is "ip6ip" and IPIP where the default is "ipip".
+ IPv6-Over-IPv4 is not supported for IPIP.
+
.in -8
.TP
loaded under
.B xdpgeneric object "|" pinned
then the kernel will use the generic XDP variant instead of the native one.
+.B xdpdrv
+has the opposite effect of requestsing that the automatic fallback to the
+generic XDP variant be disabled and in case driver is not XDP-capable error
+should be returned.
+.B xdpdrv
+also disables hardware offloads.
+.B xdpoffload
+in ip link output indicates that the program has been offloaded to hardware
+and can also be used to request the "offload" mode, much like
+.B xdpgeneric
+it forces program to be installed specifically in HW/FW of the apater.
.B off
(or
.ti -8
.IR CONTROL " := { "
-.BR reclassify " | " use " | " pipe " | " drop " | " continue " | " ok " }"
+.BR reclassify " | " use " | " pipe " | " drop " | " continue " | " ok " | " goto " " chain " " CHAIN_INDEX " }"
.SH DESCRIPTION
The
.B ife
.BR mark " [ "
.IR u32_value " ]"
The value to set for the skb mark. The u32 value is required only when
- .BR use " is specified."
+ .BR use " is specified. If
+ .BR mark " value is zero, it will not be encoded, instead
+ "overlimits" statistics increment and
+ .BR CONTROL " action is taken.
.TP
.BR prio " [ "
.IR u32_value " ]"