]> git.itanic.dy.fi Git - linux-stable/commit
sfc/siena: fix TX channel offset when using legacy interrupts
authorÍñigo Huguet <ihuguet@redhat.com>
Thu, 15 Sep 2022 14:16:53 +0000 (16:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Sep 2022 09:32:16 +0000 (11:32 +0200)
commitb454f12cfeddb4b8e1d9abb5eb956cc1ba690df1
tree29be82817737c719e09862228bc2e740c794c6e3
parentc9ba2948db9d3d64397f36da92127cfc7e490999
sfc/siena: fix TX channel offset when using legacy interrupts

[ Upstream commit 974bb793aded499491246f6f9826e26c2b127320 ]

As in previous commit for sfc, fix TX channels offset when
efx_siena_separate_tx_channels is false (the default)

Fixes: 25bde571b4a8 ("sfc/siena: fix wrong tx channel offset with efx_separate_tx_channels")
Reported-by: Tianhao Zhao <tizhao@redhat.com>
Signed-off-by: Íñigo Huguet <ihuguet@redhat.com>
Link: https://lore.kernel.org/r/20220915141653.15504-1-ihuguet@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/sfc/siena/efx_channels.c