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 74B2CA04A2; Fri, 4 Mar 2022 02:24:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 60633406A2; Fri, 4 Mar 2022 02:24:48 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 8688F40150 for ; Fri, 4 Mar 2022 02:24:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646357087; x=1677893087; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=/m82Uhd2WtOCLRc9HiCslmrzY/XfhbAEbfbuIiiMnYE=; b=MgsOKujinJG4RR2v7uErtCv0D/TWCahbY3hikqc8Aa1PrdK4loaHe1kQ F9bveYcAKUGaU8RtGgjwa4nAZIHzMQ8ZnRkHVoNjAR6ZIe2j4zDziIgId RufHay6cNuXCiKBs8Bs/G1o7Qma/hJIwzPxmapEOggJ5SDMe4YtBmd7Pl XZ/KiiHLCemhrmMQcdJ1fCPggxDtZdUUjNqrK0YuzYDwmb6aWGFXUBXeY 25mP7BH76ZbMjmZV11YYZ6PUaJWxZCMATIw3ltXhFKVHxUcGqv9a9ADUH 7awZcLmXnmZxrsJj/kkK2jTO7RdpjKISBxpSFu9VkBb/jHxWQD1aYGgxb g==; X-IronPort-AV: E=McAfee;i="6200,9189,10275"; a="253796352" X-IronPort-AV: E=Sophos;i="5.90,153,1643702400"; d="scan'208";a="253796352" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2022 17:24:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,153,1643702400"; d="scan'208";a="576723630" Received: from irsmsx605.ger.corp.intel.com ([163.33.146.138]) by orsmga001.jf.intel.com with ESMTP; 03 Mar 2022 17:24:45 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by IRSMSX605.ger.corp.intel.com (163.33.146.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Fri, 4 Mar 2022 01:24:43 +0000 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2308.021; Fri, 4 Mar 2022 09:24:40 +0800 From: "Zhang, Qi Z" To: Feifei Wang , "Xing, Beilei" , David Christensen , "Richardson, Bruce" , "Ananyev, Konstantin" , Ruifeng Wang CC: "dev@dpdk.org" , "nd@arm.com" , "Honnappa Nagarahalli" Subject: RE: [PATCH v1] net/i40e: remove redundant number of packets check Thread-Topic: [PATCH v1] net/i40e: remove redundant number of packets check Thread-Index: AQHYLqGdttiDesJxZEm0PqcSpcw4Jqyub8tw Date: Fri, 4 Mar 2022 01:24:40 +0000 Message-ID: <89dfd429c5bf40a0a3b5f730f55b095d@intel.com> References: <20220303015343.1755326-1-feifei.wang2@arm.com> In-Reply-To: <20220303015343.1755326-1-feifei.wang2@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.401.20 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 > -----Original Message----- > From: Feifei Wang > Sent: Thursday, March 3, 2022 9:54 AM > To: Xing, Beilei ; David Christensen > ; Richardson, Bruce ; > Ananyev, Konstantin ; Ruifeng Wang > > Cc: dev@dpdk.org; nd@arm.com; Feifei Wang ; > Honnappa Nagarahalli > Subject: [PATCH v1] net/i40e: remove redundant number of packets check >=20 > For i40e_xmit_pkts_vec_xx function, it checks nb_pkts to ensure nb_pkts d= oes > not cross rs_thresh. >=20 > However, in i40e_xmit_fixed_burst_vec_xx function, this check will be > performed again. To improve code, delete this redundant check. >=20 > Suggested-by: Honnappa Nagarahalli > Signed-off-by: Feifei Wang > Reviewed-by: Ruifeng Wang Reviewed-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi