From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 91645A0521; Tue, 3 Nov 2020 13:34:29 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D6040C9C8; Tue, 3 Nov 2020 13:34:27 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by dpdk.org (Postfix) with ESMTP id 15612C966 for ; Tue, 3 Nov 2020 13:34:25 +0100 (CET) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 61A047F504; Tue, 3 Nov 2020 15:34:23 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 61A047F504 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1604406863; bh=wRF6+0SbGgR7/0v67J6B/Ru3vimqH0zrACG2hgRjG7U=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=K2aOV2La2NHb2k0yo5rDUK5mnnE4Fj3CRLN2bVz+jQ8R/V7nB7fWDLqOyxRZF26RA 4j95U6wOc4gn2oxp9YoeHoqqowL1TbA+OuHV1LGZhe0KNSzeGhqGbgtBdefvu5Pr5z OhWg4vM5xyryfe2oN0S6pU+wL0PCnqHhrWeTCevY= To: Thomas Monjalon , dev@dpdk.org Cc: ferruh.yigit@intel.com, david.marchand@redhat.com, bruce.richardson@intel.com, olivier.matz@6wind.com, jerinj@marvell.com, viacheslavo@nvidia.com, Ray Kinsella , Neil Horman References: <20201029092751.3837177-1-thomas@monjalon.net> <20201103122205.183472-1-thomas@monjalon.net> <20201103122205.183472-3-thomas@monjalon.net> From: Andrew Rybchenko Organization: OKTET Labs Message-ID: <81a92a1b-de10-0ca6-288c-98490b400b18@oktetlabs.ru> Date: Tue, 3 Nov 2020 15:34:23 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20201103122205.183472-3-thomas@monjalon.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v4 02/16] mbuf: add Rx timestamp flag and helpers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 11/3/20 3:21 PM, Thomas Monjalon wrote: > There is already a dynamic field for timestamp, > used only for Tx scheduling with the dedicated Tx offload flag. > The same field can be used for Rx timestamp filled by drivers. > > A new dynamic flag is defined for Rx usage. > A new function wraps the registration of both field and Rx flag. > The type rte_mbuf_timestamp_t is defined for the API users. > > After migrating all Rx timestamp usages, it will be possible > to remove the deprecated timestamp field. > > Signed-off-by: Thomas Monjalon > Acked-by: David Marchand Acked-by: Andrew Rybchenko