Hi,

>-----Original Message-----
>From: Thomas Monjalon <[email protected]>
>Sent: Sunday, July 5, 2020 11:40 PM
>To: Wisam Monther <[email protected]>
>Cc: Jack Min <[email protected]>; [email protected];
>[email protected]; Asaf Penso <[email protected]>;
>[email protected]
>Subject: Re: [dpdk-dev] [PATCH] app/flow-perf: fix condition of hairpin queues
>setup
>
>30/06/2020 10:10, Wisam Jaddo:
>> The hairpin queue is the one that start from normal rxq, and will be
>> less than nr_queues where nr_queues is the sum of normal and hairpin
>>
>> Fixes: bf3688f1e816 ("app/flow-perf: add insertion rate calculation")
>> Cc: [email protected]
>>
>> Signed-off-by: Wisam Jaddo <[email protected]>
>
>You should take this opportunity to document the logic for the allocation and
>peering of hairpin queues.
>
>It would be good to add short code comments for the variables as well.
>It confusing to have hairpinq and hairpin_q variables.
>
>Currently, we cannot really understand whether this fix is good or not.

I've sent V2 with the fix + those documentation.

>
>On hairpin topic, I suggest fixing this typo:
>       hairping-rss -> hairpin-rss

I've provided another patch to fix this typo:
http://patches.dpdk.org/patch/73162/

>
>

Reply via email to