Re: [PATCH, net-next] i40e: avoid 64-bit division where possible
From: Arnd Bergmann
Date: Tue Oct 17 2017 - 11:46:44 EST
On Tue, Oct 17, 2017 at 5:14 PM, Jeff Kirsher
<jeffrey.t.kirsher@xxxxxxxxx> wrote:
> On Tue, 2017-10-17 at 12:23 +0200, Arnd Bergmann wrote:
>> The new bandwidth calculation causes a link error on 32-bit
>> architectures, like
>>
>> ERROR: "__aeabi_uldivmod" [drivers/net/ethernet/intel/i40e/i40e.ko]
>> undefined!
> Unfortunately your patch does not apply cleanly to my tree. Arnd,
> could you please rebase your patch based my next-queue tree (dev-queue
> branch)? I already have several i40e patches queued up and applied to
> that branch.
I see you already applied a fix from Alan Brady on that branch. I think
his version is sufficient to avoid the build problems, but mine is better.
I've rebased my patch now to revert parts of his fix. Please decide for
yourself whether you want to apply it on top, or are happy enough with
the existing version.
Arnd