From: Hangbin Liu Date: Mon, 21 Oct 2024 03:12:11 +0000 (+0000) Subject: Documentation: bonding: add XDP support explanation X-Git-Tag: microblaze-v6.16~599^2~221^2 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=9f59eccd9dd5a4c6a974e02e70b9eed0d3b14245;p=linux-2.6-microblaze.git Documentation: bonding: add XDP support explanation Add document about which modes have native XDP support. Reviewed-by: Nikolay Aleksandrov Signed-off-by: Hangbin Liu Reviewed-by: Toke Høiland-Jørgensen Link: https://patch.msgid.link/20241021031211.814-3-liuhangbin@gmail.com Signed-off-by: Jakub Kicinski --- diff --git a/Documentation/networking/bonding.rst b/Documentation/networking/bonding.rst index e774b48de9f5..7c8d22d68682 100644 --- a/Documentation/networking/bonding.rst +++ b/Documentation/networking/bonding.rst @@ -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 =======================