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 9E963436E3; Wed, 13 Dec 2023 16:41:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F3B69402C3; Wed, 13 Dec 2023 16:41:38 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 8A12B4021D for ; Wed, 13 Dec 2023 16:41:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702482097; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SPUvfo3I8xoZUtbCfR0RGm2fKHrlaNFH+Wly4jIAXXg=; b=QenNQChc2dBHcYPAfYXkU8Wz+CR+civ06No0NpJDXFb6A7ByYI7xFMm+DGm5AmgB/MYSNC xyDNuTN/uHcQwVLs/edfP55fk//ZseBcFRAkXsbxDYGhFL+yAoRn2sYQkewoJpkSfQabxE bFyi9YZuvKjFankae81iDMvMVd+se6E= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-344-AYNvhhruOtGMfIT-OddAGg-1; Wed, 13 Dec 2023 10:41:35 -0500 X-MC-Unique: AYNvhhruOtGMfIT-OddAGg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3A62C29AC037; Wed, 13 Dec 2023 15:41:35 +0000 (UTC) Received: from RHTPC1VM0NT (unknown [10.22.32.214]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EACCF3C25; Wed, 13 Dec 2023 15:41:34 +0000 (UTC) From: Aaron Conole To: Bruce Richardson Cc: dev@dpdk.org, Abdullah Sevincer Subject: Re: [PATCH] event/dlb2: remove unnecessary timer call References: <20231213114822.12440-1-bruce.richardson@intel.com> Date: Wed, 13 Dec 2023 10:41:34 -0500 In-Reply-To: <20231213114822.12440-1-bruce.richardson@intel.com> (Bruce Richardson's message of "Wed, 13 Dec 2023 11:48:22 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain 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 Bruce Richardson writes: > We only need to consult the timer value when the driver waits for a > timeout, so skip making the call to get the current timer/TSC value if > the timeout is zero, as no wait will ever be done. > > Signed-off-by: Bruce Richardson > --- Recheck-request: github-robot