Message ID | 20230406014004.3726672-1-yoong.siang.song@intel.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net,v2,1/1] net: stmmac: Add queue reset into stmmac_xdp_open() function | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Clearly marked for net |
netdev/apply | success | Patch already applied to net |
On Thu, 6 Apr 2023 09:40:04 +0800 Song Yoong Siang wrote:
> v2: Add reviewed-by tag
You don't have to repost to add tags, maintainers will collect
the tags sent to the list when applying the patch. I'm taking v1.
>On Thu, 6 Apr 2023 09:40:04 +0800 Song Yoong Siang wrote: >> v2: Add reviewed-by tag > >You don't have to repost to add tags, maintainers will collect the tags sent to the >list when applying the patch. I'm taking v1. Noted. Thanks.
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c index 3e5bbfe3c41b..e4c27eb17bd2 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c @@ -6630,6 +6630,8 @@ int stmmac_xdp_open(struct net_device *dev) goto init_error; } + stmmac_reset_queues_param(priv); + /* DMA CSR Channel configuration */ for (chan = 0; chan < dma_csr_ch; chan++) { stmmac_init_chan(priv, priv->ioaddr, priv->plat->dma_cfg, chan);