RE: [PATCH] net/mlx5: fix the delay drop bit set overflow

2021-11-14 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Bing Zhao > Sent: Friday, November 12, 2021 4:39 PM > To: Slava Ovsiienko ; Matan Azrad > > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [PATCH] net/mlx5: fix the delay drop bit set overflow > > The attribute to record th

[PATCH] net/mlx5: fix the delay drop bit set overflow

2021-11-12 Thread Bing Zhao
The attribute to record the global control of hairpin queues' delay drop was defined as a bit-field with one bit, and the intention was to reduce the memory overhead. In the meanwhile, the macro was defined as an enumerated value 0x2. No matter what value inputted via devarg, the lowest bit was al