From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 303F9A0C41; Wed, 23 Jun 2021 11:10:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DF9234003F; Wed, 23 Jun 2021 11:10:00 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 37ABB4003E for ; Wed, 23 Jun 2021 11:09:59 +0200 (CEST) IronPort-SDR: ghku/xI7yM828t+v1FLq5+phJrpn0sGLeABYKWBEB2/9Kn/B3e1T9sj4rSGxZf6ltJ5hYc6OWY 6sv5TBVX5WQQ== X-IronPort-AV: E=McAfee;i="6200,9189,10023"; a="204218222" X-IronPort-AV: E=Sophos;i="5.83,293,1616482800"; d="scan'208,217";a="204218222" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2021 02:09:58 -0700 IronPort-SDR: dyLRYO56vUe/LKBIk/x8MWvyXdsTVp7ve2rH3vgzV8zsITXlek+knW6bnrnZ9JrQo2wCNlU9TR KKVDkpsEDTOA== X-IronPort-AV: E=Sophos;i="5.83,293,1616482800"; d="scan'208,217";a="556081672" Received: from amandee1-mobl.gar.corp.intel.com (HELO [10.213.68.216]) ([10.213.68.216]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2021 02:09:56 -0700 To: Viacheslav Ovsiienko , dev@dpdk.org References: <20210619154012.27295-1-viacheslavo@nvidia.com> From: "Singh, Aman Deep" Message-ID: Date: Wed, 23 Jun 2021 14:39:51 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210619154012.27295-1-viacheslavo@nvidia.com> Content-Language: en-GB Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH] app/testpmd: fix offloads for the newly attached port 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" Acked-by: Aman Deep Singh On 6/19/2021 9:10 PM, Viacheslav Ovsiienko wrote: > For the newly attached ports (with "port attach" command) the > default offloads settings, configured from application command > line, were not applied, causing port start failure following > the attach. For example, if scattering offload was configured > in command line and rxpkts was configured for multiple segments, > the newly attached port start was failed due to missing scattering > offload enable in the new port settings. The missing code to apply > the offloads to the new device and its queues is added. > > Cc: stable@dpdk.org > Fixes: c9cce42876f5 ("ethdev: remove deprecated attach/detach functions") > > Signed-off-by: Viacheslav Ovsiienko > --- > >