Re: [ovs-dev] [PATCH ovn] ofctrl-seqno: Do not truncate the last acked value

2023-07-17 Thread Dumitru Ceara
On 7/13/23 10:23, Ales Musil wrote: > The requested and acked seqno values are allowed > to be uint64_t, however the values that were added > to the hmap were truncated to uint32_t. This would > lead to loss of information when the value is bigger. > > Use uin64_t for the function signatures and

[ovs-dev] [PATCH ovn] ofctrl-seqno: Do not truncate the last acked value

2023-07-13 Thread Ales Musil
The requested and acked seqno values are allowed to be uint64_t, however the values that were added to the hmap were truncated to uint32_t. This would lead to loss of information when the value is bigger. Use uin64_t for the function signatures and for the hash to prevent truncation.