Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: vxlan: add info about device features

Add some information about VxLAN-related netdev features
and how to dump port table via ethtool.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Jakub Kicinski and committed by
David S. Miller
33a1aaf8 8c4cf4bc

+28
+28
Documentation/networking/vxlan.rst
··· 58 58 3. Show forwarding table:: 59 59 60 60 # bridge fdb show dev vxlan0 61 + 62 + The following NIC features may indicate support for UDP tunnel-related 63 + offloads (most commonly VXLAN features, but support for a particular 64 + encapsulation protocol is NIC specific): 65 + 66 + - `tx-udp_tnl-segmentation` 67 + - `tx-udp_tnl-csum-segmentation` 68 + ability to perform TCP segmentation offload of UDP encapsulated frames 69 + 70 + - `rx-udp_tunnel-port-offload` 71 + receive side parsing of UDP encapsulated frames which allows NICs to 72 + perform protocol-aware offloads, like checksum validation offload of 73 + inner frames (only needed by NICs without protocol-agnostic offloads) 74 + 75 + For devices supporting `rx-udp_tunnel-port-offload` the list of currently 76 + offloaded ports can be interrogated with `ethtool`:: 77 + 78 + $ ethtool --show-tunnels eth0 79 + Tunnel information for eth0: 80 + UDP port table 0: 81 + Size: 4 82 + Types: vxlan 83 + No entries 84 + UDP port table 1: 85 + Size: 4 86 + Types: geneve, vxlan-gpe 87 + Entries (1): 88 + port 1230, vxlan-gpe