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 X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20960C433B4 for ; Tue, 11 May 2021 13:32:24 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id 7623C61621 for ; Tue, 11 May 2021 13:32:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7623C61621 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 613FB40140; Tue, 11 May 2021 15:32:22 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id CC89A4003E; Tue, 11 May 2021 15:32:20 +0200 (CEST) IronPort-SDR: mzEKEaubYxVyc1gc1PN0kWBFGuiRbDdL1fT3p5+ReefguaqzG6KTp6khdqakMh8RAGEJzxT0G/ hVhriVbK792A== X-IronPort-AV: E=McAfee;i="6200,9189,9980"; a="284932063" X-IronPort-AV: E=Sophos;i="5.82,290,1613462400"; d="scan'208";a="284932063" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2021 06:32:19 -0700 IronPort-SDR: R5L2yMaqNuWhrAF8pHQFBOMb5puRYRug4Goz0c/qKtMlmNZ1TO5L2RDHgb12SsV9L6Eli5uJTM aLWGguYFCnEA== X-IronPort-AV: E=Sophos;i="5.82,290,1613462400"; d="scan'208";a="537030477" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.224.45]) ([10.213.224.45]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2021 06:32:18 -0700 To: Heinrich Kuhn , dev@dpdk.org Cc: stable@dpdk.org, Simon Horman References: <20210510164550.8888-1-heinrich.kuhn@netronome.com> From: Ferruh Yigit X-User: ferruhy Message-ID: <3d7d9980-de98-16e8-d47e-4b3f9f5a2871@intel.com> Date: Tue, 11 May 2021 14:32:14 +0100 MIME-Version: 1.0 In-Reply-To: <20210510164550.8888-1-heinrich.kuhn@netronome.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] net/nfp: fix reporting of RSS capabilities X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 5/10/2021 5:45 PM, Heinrich Kuhn wrote: > Before this change the dev_infos callback always reported RSS > capabilities regardless of whether the capability is supported by the > device or not. First check the capabilities field in the BAR of the > device and advertise RSS functionality accordingly. > > Fixes: 8b945a7f7d ("drivers/net: update Rx RSS hash offload capabilities") > Cc: stable@dpdk.org > > Signed-off-by: Heinrich Kuhn > Signed-off-by: Simon Horman Applied to dpdk-next-net/main, thanks.