Skip to content

Masquerade slow on some network adapters. #81

Answered by r-caamano
r-caamano asked this question in Q&A
Discussion options

You must be logged in to vote

The likely issue is Generic Receive Offload (GRO) and/or Large Receive Offload(LRO) . GRO allows the network interface card (NIC) to combine multiple incoming packets into larger ones before passing them to the CPU. GRO might interfere with eBPF programs that rely on processing individual packets, causing them to behave incorrectly or inefficiently. This setting is by default on for some NIC cards. It can be disabled with ethtool via sudo ethtool -K gro off. LRO reassembles incoming network packets into larger buffers before passing them to the network stack which can cause issues for ebpf, routing and bridging and can be disabled via sudo ethtool -K lro off. Both can be placed in /opt/op…

Replies: 1 comment

Comment options

r-caamano
Oct 11, 2024
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by r-caamano
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant