]> www.infradead.org Git - users/willy/xarray.git/commit
net: stmmac: Batch set RX OWN flag and other flags
authorTan En De <ende.tan@starfivetech.com>
Sat, 31 Aug 2024 01:11:14 +0000 (09:11 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 5 Sep 2024 09:19:07 +0000 (11:19 +0200)
commitd2095989943b88a4ab98d01d912c6c45925f2dcf
tree7f565bb3ec2ebf55014e031f1662ea7e35f93a79
parent43b7724487109368363bb5cda034b3f600278d14
net: stmmac: Batch set RX OWN flag and other flags

Minimize access to the RX descriptor by collecting all the flags in a
local variable and then updating the descriptor at once.

Signed-off-by: Tan En De <ende.tan@starfivetech.com>
Link: https://patch.msgid.link/20240831011114.2065912-1-ende.tan@starfivetech.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c