From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53190C6FD1F for ; Wed, 8 Mar 2023 10:29:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231181AbjCHK3A (ORCPT ); Wed, 8 Mar 2023 05:29:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230510AbjCHK2g (ORCPT ); Wed, 8 Mar 2023 05:28:36 -0500 Received: from smtp-fw-9102.amazon.com (smtp-fw-9102.amazon.com [207.171.184.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20A565A6DC; Wed, 8 Mar 2023 02:28:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1678271303; x=1709807303; h=references:from:to:cc:subject:date:in-reply-to: message-id:mime-version; bh=ERuDuGcRTL804Rbo3GS7kLtS9og5lGMsy9rw0XXi7wc=; b=Y1MHhVb9cYSzK8ooS8iRmAAvUI1aBjPiBMobuwdlNUaIB6rz1Wo9rSWZ pHFqFuKm13ipvrwF751nGdXXilS2axyHpahFejMtuKSEOdVUJccIAqMnm VC8zGqW8o9Gc2whR8c1qrfVTb5djBtorepPRSXjsGe5j+ibdh4yiSqbJX c=; X-IronPort-AV: E=Sophos;i="5.98,243,1673913600"; d="scan'208";a="316081795" Received: from pdx4-co-svc-p1-lb2-vlan2.amazon.com (HELO email-inbound-relay-iad-1d-m6i4x-153b24bc.us-east-1.amazon.com) ([10.25.36.210]) by smtp-border-fw-9102.sea19.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2023 10:28:14 +0000 Received: from EX19D016EUA004.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan3.iad.amazon.com [10.40.163.38]) by email-inbound-relay-iad-1d-m6i4x-153b24bc.us-east-1.amazon.com (Postfix) with ESMTPS id EEB1BCCA0A; Wed, 8 Mar 2023 10:28:08 +0000 (UTC) Received: from EX19D028EUB003.ant.amazon.com (10.252.61.31) by EX19D016EUA004.ant.amazon.com (10.252.50.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.24; Wed, 8 Mar 2023 10:28:07 +0000 Received: from u570694869fb251.ant.amazon.com.amazon.com (10.85.143.179) by EX19D028EUB003.ant.amazon.com (10.252.61.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.24; Wed, 8 Mar 2023 10:28:00 +0000 References: User-agent: mu4e 1.8.13; emacs 28.0.91 From: Shay Agroskin To: Lorenzo Bianconi CC: , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH net-next 5/8] net: ena: take into account xdp_features setting tx/rx queues Date: Wed, 8 Mar 2023 12:25:00 +0200 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Originating-IP: [10.85.143.179] X-ClientProxiedBy: EX19D044UWA002.ant.amazon.com (10.13.139.11) To EX19D028EUB003.ant.amazon.com (10.252.61.31) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Lorenzo Bianconi 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 > --- > 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 Thank you for doing that (: