]> git.hungrycats.org Git - linux/commit
net: ena: Don't register memory info on XDP exchange
authorDavid Arinzon <darinzon@amazon.com>
Thu, 29 Dec 2022 07:30:06 +0000 (07:30 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2023 11:00:37 +0000 (12:00 +0100)
commit418608d50e6766f5b52206f684edc334ec1aca2f
treee0d481a509f84cc0c616df93d1a2c75cb4594294
parente67f558199918d1867a5d4c0b1f8e8361938be2f
net: ena: Don't register memory info on XDP exchange

[ Upstream commit 9c9e539956fa67efb8a65e32b72a853740b33445 ]

Since the queues aren't destroyed when we only exchange XDP programs,
there's no need to re-register them again.

Fixes: 548c4940b9f1 ("net: ena: Implement XDP_TX action")
Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: David Arinzon <darinzon@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/amazon/ena/ena_netdev.c