Re: [PATCH] net: stmmac: restore XDP configuration when reopen fails

Andrew Lunn <[email protected]>
Newsgroups org.kernel.vger.netdev,org.kernel.vger.stable
Message-ID <[email protected]>
On Thu, Aug 13, 2026 at 10:22:10PM -0700, [email protected] wrote:
> Exit code: 0
> Wall time: 0.3 seconds
> Output:
> >From 7691567e29d241f28d1525d99b11faa2d5831f3f Mon Sep 17 00:00:00 2001
> From: Diego Fernando Mancera Gomez <[email protected]>
> Date: Thu, 13 Aug 2026 23:03:56 -0600
> Subject: [PATCH] net: stmmac: restore XDP configuration when reopen fails

None of this belongs in the patch. However you generated the patch is
wrong. Maybe take a look at b4

https://b4.docs.kernel.org/en/latest/contributor/prep.html

> stmmac_xdp_set_prog() tears down the datapath of a running interface,
> replaces priv->xdp_prog and then ignores the return value of
> stmmac_xdp_open().

Is this something you have seen? Why does stmmac_xdp_open() fail? Out
of memory? Is it even possible to recover?

	Andrew
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.