[dpdk-dev] [PATCH v2] ethdev: replace bit shifts with macros

Ferruh Yigit ferruh.yigit at intel.com
Thu Oct 7 13:07:18 CEST 2021


On 9/23/2021 10:39 AM, Thomas Monjalon wrote:
> The macros RTE_BIT32 and RTE_BIT64 are used to replace bit shifts.
> The macro UINT64C is also used to replace remaining occurrences of ULL.
> 
> Only bit shifts of ETH_RSS_LEVEL_* are kept for aesthetic reason.
> 
> The API of rte_mtr and rte_tm is using enums for 64-bit variables.
> As they are enums, RTE_BIT32 is used.
> The corresponding struct members should be converted to 32-bit.
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
> v2: use RTE_BIT32 in enums

Hi Thomas,

Can you rebase on top of latest main, this conflict with adding doxygen
group comment patch:
Commit 0ce56b057b5c ("ethdev: group constant definitions in Doxygen")



More information about the dev mailing list