Re: [PATCH 1/2] use abstracted bit count functions

2023-09-05 Thread David Marchand
On Fri, Aug 25, 2023 at 12:18 PM David Marchand wrote: > > Now that DPDK provides such bit count functions, make use of them. > > This patch was prepared with a "brutal" commandline: > > $ old=__builtin_clzll; new=rte_clz64; > git grep -lw $old :^lib/eal/include/rte_bitops.h | > xargs sed -i -

RE: [PATCH 1/2] use abstracted bit count functions

2023-08-25 Thread Long Li
> Subject: [PATCH 1/2] use abstracted bit count functions > > Now that DPDK provides such bit count functions, make use of them. > > This patch was prepared with a "brutal" commandline: > > $ old=__builtin_clzll; new=rte_clz64; > git grep -lw $old :^lib/ea

Re: [PATCH 1/2] use abstracted bit count functions

2023-08-25 Thread Tyler Retzlaff
On Fri, Aug 25, 2023 at 12:18:10PM +0200, David Marchand wrote: > Now that DPDK provides such bit count functions, make use of them. > > This patch was prepared with a "brutal" commandline: > > $ old=__builtin_clzll; new=rte_clz64; > git grep -lw $old :^lib/eal/include/rte_bitops.h | > xargs

[PATCH 1/2] use abstracted bit count functions

2023-08-25 Thread David Marchand
Now that DPDK provides such bit count functions, make use of them. This patch was prepared with a "brutal" commandline: $ old=__builtin_clzll; new=rte_clz64; git grep -lw $old :^lib/eal/include/rte_bitops.h | xargs sed -i -e "s#\<$old\>#$new#g" $ old=__builtin_clz; new=rte_clz32; git grep -