Commit 9f59eccd authored by Hangbin Liu's avatar Hangbin Liu Committed by Jakub Kicinski
Browse files

Documentation: bonding: add XDP support explanation



Add document about which modes have native XDP support.

Reviewed-by: default avatarNikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: default avatarHangbin Liu <liuhangbin@gmail.com>
Reviewed-by: default avatarToke Høiland-Jørgensen <toke@redhat.com>
Link: https://patch.msgid.link/20241021031211.814-3-liuhangbin@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 22ccb684
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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
=======================