]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
Documentation: bonding: add XDP support explanation
authorHangbin Liu <liuhangbin@gmail.com>
Mon, 21 Oct 2024 03:12:11 +0000 (03:12 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 28 Oct 2024 23:09:42 +0000 (16:09 -0700)
Add document about which modes have native XDP support.

Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://patch.msgid.link/20241021031211.814-3-liuhangbin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/bonding.rst

index e774b48de9f5118be7035f9b96c7226c2679e185..7c8d22d68682427ac67da9058141b71cb26bde93 100644 (file)
@@ -2916,6 +2916,17 @@ from the bond (``ifenslave -d bond0 eth0``). The bonding driver will
 then restore the MAC addresses that the slaves had before they were
 enslaved.
 
+9.  What bonding modes support native XDP?
+------------------------------------------
+
+  * balance-rr (0)
+  * active-backup (1)
+  * balance-xor (2)
+  * 802.3ad (4)
+
+Note that the vlan+srcmac hash policy does not support native XDP.
+For other bonding modes, the XDP program must be loaded with generic mode.
+
 16. Resources and Links
 =======================