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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Feb 2023 09:04:33 +0000 (09:04 +0000)
commitc966153d120222cd4e85e1e1601584d7d4d91dcb
treed92dc4e6aa0c89f6fbb03f673782259ce7657a58
parent21386e692613702502f7c982d81e0dfa86d25cfd
net: ethernet: mtk_eth_soc: fix wrong parameters order in __xdp_rxq_info_reg()

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>
drivers/net/ethernet/mediatek/mtk_eth_soc.c