From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5 4/8] Move common functions in eal_timer.c Date: Thu, 16 Apr 2015 10:46:59 +0200 Message-ID: <2134052.2sEotUrNoM@xps13> References: <1428608301-31033-1-git-send-email-rkerur@gmail.com> <1428608412-31191-1-git-send-email-rkerur@gmail.com> <1428608412-31191-5-git-send-email-rkerur@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Ravi Kerur Return-path: In-Reply-To: <1428608412-31191-5-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 2015-04-09 12:40, Ravi Kerur: > Changes in v5 > Rebase to latest code. > > Changes in v4 > Removed extern declaration of eal_tsc_resolution_hz, > instead provided _set_ API. > Make set_tsc_freq_from_clock as wrapper function for BSD. > > Changes in v3 > Changed subject to be more explicit on file name inclusion. > > Changes in v2 > Use common function name set_tsc_freq_from_sysctl for BSD and Linux. > Update comments about its actuality in function declaration. > > Changes in v1 > Move common functions in eal_timer.c to librte_eal/common/ > eal_common_timer.c file. > > Following functions are moved to eal_common_timer.c file > > void rte_delay_us(unsigned us); > uint64_t rte_get_tsc_hz(void); > static void set_tsc_freq_fallback(void); > void set_tsc_freq(void); > > Makefile changes to reflect new file added. > Fix checkpatch warnings and errors. > > Signed-off-by: Ravi Kerur Seems good. Acked-by: Thomas Monjalon Minor nit, a blank line is missing: > + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > + */ > +#include