Re: [PATCH v5 1/3] ring: fix unmatched type definition and usage

2023-05-09 Thread Jie Hai
] ring: fix unmatched type definition and usage Field 'flags' of struct rte_ring is defined as int type. However, it is used as unsigned int. To ensure consistency, change the type of flags to unsigned int. Since these two types has the same byte size, this change is not an ABI chan

RE: [PATCH v5 1/3] ring: fix unmatched type definition and usage

2023-05-08 Thread Ruifeng Wang
> -Original Message- > From: Jie Hai > Sent: Tuesday, May 9, 2023 9:29 AM > To: Honnappa Nagarahalli ; Konstantin Ananyev > ; Ruifeng Wang ; Gavin > Hu > ; Olivier Matz ; Dharmik Jayesh > Thakkar > > Cc: dev@dpdk.org; liudongdo...@huawei.com >

[PATCH v5 1/3] ring: fix unmatched type definition and usage

2023-05-08 Thread Jie Hai
Field 'flags' of struct rte_ring is defined as int type. However, it is used as unsigned int. To ensure consistency, change the type of flags to unsigned int. Since these two types has the same byte size, this change is not an ABI change. Fixes: cc4b218790f6 ("ring: support configurable element si