]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: stmmac: perserve TX and RX coalesce value during XDP setup
authorOng Boon Leong <boon.leong.ong@intel.com>
Wed, 24 Nov 2021 11:40:19 +0000 (19:40 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 26 Nov 2021 03:27:13 +0000 (19:27 -0800)
commit61da6ac715700bcfeef50d187e15c6cc7c9d079b
tree8417252f4bd5e295278acf8bff14d3b68d01754c
parent739752d655b3a5fa6ea3d72c1b53cec082f86486
net: stmmac: perserve TX and RX coalesce value during XDP setup

When XDP program is loaded, it is desirable that the previous TX and RX
coalesce values are not re-inited to its default value. This prevents
unnecessary re-configurig the coalesce values that were working fine
before.

Fixes: ac746c8520d9 ("net: stmmac: enhance XDP ZC driver level switching performance")
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Tested-by: Kurt Kanzenbach <kurt@linutronix.de>
Link: https://lore.kernel.org/r/20211124114019.3949125-1-boon.leong.ong@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c