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 7EB80A0353; Tue, 1 Mar 2022 12:52:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7D4BE426F3; Tue, 1 Mar 2022 12:52:06 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 7DFAD40DF6 for ; Tue, 1 Mar 2022 12:52:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646135524; x=1677671524; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ubvtvvVHWfQSXzG83xqoBKJXJOqgQ8txbw8jOAKCPF4=; b=kwUoMfFc44X7LOjNuQWpnwoexEi11dfp8VPHhn/YczJ9oF+rZihHtxxH ufwC8rLXIH4D8sNB5zsDc4A7ywotQht4CWjTtPzK+Quki9RvkmrTi3dlM cuQc79JPuiaZhOZA1c1rpKgyN3+KMNsdl9tKwOspo6mEV8NaPRyzTpI5J x4dUlohE7dYYlkZPlG+RQhq4vD+4uf+Pe/RmsBTKnBa4i92gnqEXByOmj WmcxqKOPrYvjyNN89W6r6Bx1brVl3shmCtQsO9ECl4TaRSgrtRLkgq9A1 wMj+8SBsFeYi2IORi2mzheuN/Vd3cIHUnO29eAx2UBUr/yGSO74AzykAO w==; X-IronPort-AV: E=McAfee;i="6200,9189,10272"; a="316329155" X-IronPort-AV: E=Sophos;i="5.90,146,1643702400"; d="scan'208";a="316329155" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2022 03:52:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,146,1643702400"; d="scan'208";a="550682736" Received: from irsmsx602.ger.corp.intel.com ([163.33.146.8]) by orsmga008.jf.intel.com with ESMTP; 01 Mar 2022 03:52:02 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by irsmsx602.ger.corp.intel.com (163.33.146.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Tue, 1 Mar 2022 11:52:00 +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; Tue, 1 Mar 2022 19:51:57 +0800 From: "Zhang, Qi Z" To: Kathleen Capella , "Richardson, Bruce" , "Ananyev, Konstantin" , "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" , "nd@arm.com" , "honnappa.nagarahalli@arm.com" Subject: RE: [PATCH] net/iavf: remove extra check in iavf vector Tx Thread-Topic: [PATCH] net/iavf: remove extra check in iavf vector Tx Thread-Index: AQHYKD5ZxBp+AqwQYEK5UMVHGKAvTqyqdMnA Date: Tue, 1 Mar 2022 11:51:57 +0000 Message-ID: <21a9643b0f6d4329afb06777e419e475@intel.com> References: <20220222224818.8612-1-kathleen.capella@arm.com> In-Reply-To: <20220222224818.8612-1-kathleen.capella@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: Kathleen Capella > Sent: Wednesday, February 23, 2022 6:48 AM > To: Richardson, Bruce ; Ananyev, Konstantin > ; Wu, Jingjing ; > Xing, Beilei > Cc: dev@dpdk.org; nd@arm.com; honnappa.nagarahalli@arm.com; Kathleen > Capella > Subject: [PATCH] net/iavf: remove extra check in iavf vector Tx >=20 remove "iavf" in the title. > In the vector Tx path, the function iavf_xmit_pkts_vec_xxx compares nb_pk= ts > and the txq->rs_thresh and passes the minimum of these as an argument to > iavf_xmit_fixed_burst_vec_xxx. Inside iavf_xmit_fixed_burst_vec_xxx, the > same check is performed again. This patch removes the redundant check > from the iavf_xmit_fixed_burst_vec_xxx function. >=20 > Signed-off-by: Kathleen Capella > Reviewed-by: Honnappa Nagarahalli Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi