Re: [PATCH net v2] net: Properly typecast int values to set sk_max_pacing_rate

2020-10-22 Thread Li, Ke
Thanks for the info, Eric! That explains why checkpatch.pl hadn't complained with v1 patch. Best, -Ke On 10/22/20, 7:19 AM, "Eric Dumazet" wrote: On Thu, Oct 22, 2020 at 10:43 AM Li, Ke wrote: > > Thank you, Eric! > > Nice to know the recent

Re: [PATCH net v2] net: Properly typecast int values to set sk_max_pacing_rate

2020-10-22 Thread Li, Ke
Thank you, Eric! Nice to know the recent change to wrap-at-100. Will this be reflected somewhere, like, in Documentation/process/coding-style.rst? Best, -Ke On 10/22/20, 12:49 AM, "Eric Dumazet" wrote: On Thu, Oct 22, 2020 at 8:42 AM Ke Li wrote: > > In setsockopt(SO_MAX_PACING_

Re: [PATCH net] net: Properly typecast int values to set sk_max_pacing_rate

2020-10-21 Thread Li, Ke
Thanks for review and comment, Jakub! Please check my v2 patch. Best, -Ke On 10/21/20, 8:53 PM, "Jakub Kicinski" wrote: On Mon, 19 Oct 2020 20:31:49 -0400 Ke Li wrote: > In setsockopt(SO_MAX_PACING_RATE) on 64bit systems, sk_max_pacing_rate, > after extended from 'u32' to 'unsigned