diff options
author | Song Yoong Siang <yoong.siang.song@intel.com> | 2023-04-04 12:48:23 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-04-05 19:02:56 -0700 |
commit | 24e3fce00c0b557491ff596c0682a29dee6fe848 (patch) | |
tree | 7d85831454e7067829a90a902f56f65c39bc47f3 /net | |
parent | 38e058cc7d245dc8034426415bee8fec16ace1bd (diff) | |
download | linux-stable-24e3fce00c0b557491ff596c0682a29dee6fe848.tar.gz linux-stable-24e3fce00c0b557491ff596c0682a29dee6fe848.tar.bz2 linux-stable-24e3fce00c0b557491ff596c0682a29dee6fe848.zip |
net: stmmac: Add queue reset into stmmac_xdp_open() function
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions