Hi,
Eric Dumazet <[email protected]> writes:
> On Wed, 2017-10-11 at 17:54 -0700, Vinicius Costa Gomes wrote:
>> This queueing discipline implements the shaper algorithm defined by
>> the 802.1Q-2014 Section 8.6.8.2 and detailed in Annex L.
>
> ...
>
>> +static s64 delay_from_credits(s64 credits, s32 slope)
>> +{
>> + s64 rate = slope * BYTES_PER_KBIT;
>> +
>> + if (unlikely(rate == 0))
>> + return S64_MAX;
>> +
>> + return ((-credits * NSEC_PER_SEC) / rate);
>> +}
>
> Have you tried to compile this on 32bit arch ?
>
> make ARCH=i386
Will be fixed on v7.
Cheers,
--
Vinicius