On 11/16/26 1:55 PM, Lucas Vargas Dias via dev wrote:
> ecmp_id_slot_get() and ecmp_hash_count_get() use the key itself as the
> hmap hash.  hmap_next_with_hash__() already compares the full hash of
> each node, not only its bucket, so any node that
> HMAP_FOR_EACH_WITH_HASH returns already has the key being looked up,
> and comparing it again is redundant.  Use hmap_first_with_hash()
> instead and drop the now unused 'hash' field of
> struct ecmp_hash_count.
> 
> No functional change.
> 
> Suggested-by: Rosemarie O'Riorden <[email protected]>
> Assisted-by: Claude Opus 5.5, Claude Code
> Signed-off-by: Lucas Vargas Dias <[email protected]>
> ---

Hi Lucas,

Thanks for the backport patch, applied to 26.03!

Regards,
Dumitru

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to