On 1/9/23 09:27, Eelco Chaudron wrote:
> 
> 
> On 6 Jan 2023, at 22:15, Mike Pattrick wrote:
> 
>> Currently tc offload flow packet counters will roll over every ~4
>> billion packets. This is because the packet counter in struct
>> tc_stats provided by TCA_STATS_BASIC is a 32bit integer.
>>
>> Now we check for the optional TCA_STATS_PKT64 attribute which provides
>> the full 64bit packet counter if the 32bit one has rolled over. Because
>> the TCA_STATS_PKT64 attribute may appear multiple times in a netlink
>> message, the method of parsing attributes was changed.
>>
>> Fixes: f98e418fbdb6 ("tc: Add tc flower functions")
>> Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1776816
>> Signed-off-by: Mike Pattrick <[email protected]>
> 
> Changes look good to me! Thanks for back porting to 2.17.
> 
> Acked-by: Eelco Chaudron <[email protected]>

Applied.  Thanks!

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to