Lorenzo Bianconi <lorenzo@xxxxxxxxxx> writes:
ena nic allows xdp just if enough hw queues are available for
XDP.
Take into account queues configuration setting xdp_features.
Fixes: 66c0e13ad236 ("drivers: net: turn on XDP features")
Signed-off-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx>
---
drivers/net/ethernet/amazon/ena/ena_ethtool.c | 15
++++++++++++---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 6 ++++--
2 files changed, 16 insertions(+), 5 deletions(-)
For the ENA driver changes and the non-driver changes
Reviewed-by: Shay Agroskin <shayagr@xxxxxxxxxx>
Thank you for doing that (: