]> git.proxmox.com Git - mirror_ubuntu-kernels.git/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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Dec 2022 07:43:43 +0000 (07:43 +0000)
commit9c9e539956fa67efb8a65e32b72a853740b33445
tree90d78fe65ef35cca5083b62df8939376b27f4013
parent332b49ff637d6c1a75b971022a8b992cf3c57db1
net: ena: Don't register memory info on XDP exchange

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>
drivers/net/ethernet/amazon/ena/ena_netdev.c