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:02:17 +0000 (12:02 +0100)
commitc7304c752a20411c95e57540dc1f48fa7a420416
tree8a1332990268d2789191b8a54003006b33ab775e
parent1ee3d84b0d6bd882f96908ec39f11c24fbc306d3
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