Re: [dpdk-dev] [PATCH v7 1/6] lib/eal: implement the family of PMD bit operation APIs

2020-04-02 Thread Gavin Hu
d...@intel.com; ravi1.ku...@amd.com; rm...@marvell.com; > shsha...@marvell.com; xuanziya...@huawei.com; > cloud.wangxiao...@huawei.com; zhouguoy...@huawei.com; Honnappa > Nagarahalli ; Phil Yang > ; nd ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v7 1/6] lib/eal: implement the family

Re: [dpdk-dev] [PATCH v7 1/6] lib/eal: implement the family of PMD bit operation APIs

2020-04-02 Thread Jerin Jacob
; > cloud.wangxiao...@huawei.com; zhouguoy...@huawei.com; Honnappa > > > Nagarahalli ; Phil Yang > > > ; nd ; dev@dpdk.org; nd > > > > > > Subject: Re: [dpdk-dev] [PATCH v7 1/6] lib/eal: implement the family of > > > PMD > > > bit operation APIs &g

Re: [dpdk-dev] [PATCH v7 1/6] lib/eal: implement the family of PMD bit operation APIs

2020-04-02 Thread Thomas Monjalon
@smartsharesystems.com; jer...@marvell.com; > > bruce.richard...@intel.com; ravi1.ku...@amd.com; rm...@marvell.com; > > shsha...@marvell.com; xuanziya...@huawei.com; > > cloud.wangxiao...@huawei.com; zhouguoy...@huawei.com; Honnappa > > Nagarahalli ; Phil Yang > > ; nd ;

Re: [dpdk-dev] [PATCH v7 1/6] lib/eal: implement the family of PMD bit operation APIs

2020-04-02 Thread Gavin Hu
; ravi1.ku...@amd.com; rm...@marvell.com; > shsha...@marvell.com; xuanziya...@huawei.com; > cloud.wangxiao...@huawei.com; zhouguoy...@huawei.com; Honnappa > Nagarahalli ; Phil Yang > ; nd ; dev@dpdk.org; nd > > Subject: Re: [dpdk-dev] [PATCH v7 1/6] lib/eal: implement the family

Re: [dpdk-dev] [PATCH v7 1/6] lib/eal: implement the family of PMD bit operation APIs

2020-04-01 Thread Thomas Monjalon
01/04/2020 10:27, Gavin Hu: > Hi Thomas, > > From: Thomas Monjalon > > > > Hi, > > > > 09/03/2020 10:54, Joyce Kong: > > > Bitwise operation APIs are defined and used in a lot of PMDs, > > > which caused a huge code duplication. > > > > Statistics of the series: 653 insertions(+), 326 deletion

Re: [dpdk-dev] [PATCH v7 1/6] lib/eal: implement the family of PMD bit operation APIs

2020-04-01 Thread Gavin Hu
vi1.ku...@amd.com; rm...@marvell.com; > shsha...@marvell.com; xuanziya...@huawei.com; > cloud.wangxiao...@huawei.com; zhouguoy...@huawei.com; Honnappa > Nagarahalli ; Phil Yang > ; Gavin Hu ; nd > ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v7 1/6] lib/eal: implement the family of PMD &

Re: [dpdk-dev] [PATCH v7 1/6] lib/eal: implement the family of PMD bit operation APIs

2020-03-31 Thread Thomas Monjalon
Hi, 09/03/2020 10:54, Joyce Kong: > Bitwise operation APIs are defined and used in a lot of PMDs, > which caused a huge code duplication. Statistics of the series: 653 insertions(+), 326 deletions(-) I would not say it is a huge duplication. > To reduce duplication, > this patch consolidates the

Re: [dpdk-dev] [PATCH v7 1/6] lib/eal: implement the family of PMD bit operation APIs

2020-03-09 Thread Stephen Hemminger
On Mon, 9 Mar 2020 17:54:05 +0800 Joyce Kong wrote: > /** > + * @warning > + * @b EXPERIMENTAL: this API may change, or be removed, without prior notice > + * > + * Return the original bit from a 64-bit value, then clear it to 0 without > + * memory ordering. > + * > + * @param nr > + * The ta

[dpdk-dev] [PATCH v7 1/6] lib/eal: implement the family of PMD bit operation APIs

2020-03-09 Thread Joyce Kong
Bitwise operation APIs are defined and used in a lot of PMDs, which caused a huge code duplication. To reduce duplication, this patch consolidates them into a common API family. Signed-off-by: Joyce Kong Reviewed-by: Gavin Hu Reviewed-by: Phil Yang Acked-by: Morten Brørup --- MAINTAINERS