Commit 135faae6 authored by Seth Forshee (DigitalOcean)'s avatar Seth Forshee (DigitalOcean) Committed by Paolo Abeni
Browse files

bonding: don't force LACPDU tx to ~333 ms boundaries



The timer which ensures that no more than 3 LACPDUs are transmitted in
a second rearms itself every 333ms regardless of whether an LACPDU is
transmitted when the timer expires. This causes LACPDU tx to be delayed
until the next expiration of the timer, which effectively aligns LACPDUs
to ~333ms boundaries. This results in a variable amount of jitter in the
timing of periodic LACPDUs.

Change this to only rearm the timer when an LACPDU is actually sent,
allowing tx at any point after the timer has expired.

Signed-off-by: default avatarSeth Forshee (DigitalOcean) <sforshee@kernel.org>
Reviewed-by: default avatarCarlos Bilbao <carlos.bilbao@kernel.org>
Link: https://patch.msgid.link/20250625-fix-lacpdu-jitter-v1-1-4d0ee627e1ba@kernel.org


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 8b98f34c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment