]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: ethernet: mtk_eth_soc: fix wrong parameters order in __xdp_rxq_info_reg()
authorTariq Toukan <tariqt@nvidia.com>
Mon, 6 Feb 2023 20:47:03 +0000 (22:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2023 18:11:48 +0000 (19:11 +0100)
commit44a265af4aa926bc60e45f7f6dd60c201aef6d62
tree373bafc3999bc0c88f5cda571642005b741dd893
parent5f9c656ab2c4c36f3b85819c7a9a8bec5711cfb5
net: ethernet: mtk_eth_soc: fix wrong parameters order in __xdp_rxq_info_reg()

[ Upstream commit c966153d120222cd4e85e1e1601584d7d4d91dcb ]

Parameters 'queue_index' and 'napi_id' are passed in a swapped order.
Fix it here.

Fixes: 23233e577ef9 ("net: ethernet: mtk_eth_soc: rely on page_pool for single page buffers")
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mediatek/mtk_eth_soc.c