summaryrefslogtreecommitdiff
path: root/drivers/net/mdio.c
diff options
context:
space:
mode:
authorSong Yoong Siang <yoong.siang.song@intel.com>2023-04-04 07:48:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-13 17:55:34 +0300
commit101e8e6bbae5ce21f3e063bc9f12079a8e6cc886 (patch)
tree06d054e399c67cc398aae769d70b6ff98f6ffd49 /drivers/net/mdio.c
parent106e64a2e6a519ed75c0dfdabd2f4c514b7a22be (diff)
downloadlinux-101e8e6bbae5ce21f3e063bc9f12079a8e6cc886.tar.xz
net: stmmac: Add queue reset into stmmac_xdp_open() function
commit 24e3fce00c0b557491ff596c0682a29dee6fe848 upstream. Queue reset was moved out from __init_dma_rx_desc_rings() and __init_dma_tx_desc_rings() functions. Thus, the driver fails to transmit and receive packet after XDP prog setup. This commit adds the missing queue reset into stmmac_xdp_open() function. Fixes: f9ec5723c3db ("net: ethernet: stmicro: stmmac: move queue reset to dedicated functions") Cc: <stable@vger.kernel.org> # 6.0+ Signed-off-by: Song Yoong Siang <yoong.siang.song@intel.com> Reviewed-by: Alexander Duyck <alexanderduyck@fb.com> Link: https://lore.kernel.org/r/20230404044823.3226144-1-yoong.siang.song@intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/mdio.c')
0 files changed, 0 insertions, 0 deletions