Re: [Intel-wired-lan] [PATCH] [v2] i40e: avoid 64-bit division where possible

2017-10-17 Thread Alexander Duyck
On Tue, Oct 17, 2017 at 8:49 AM, Arnd Bergmann wrote: > The new bandwidth calculation caused a link error on 32-bit > architectures, like > > ERROR: "__aeabi_uldivmod" [drivers/net/ethernet/intel/i40e/i40e.ko] undefined! > > The problem is the max_tx_rate calculation that uses 64-bit integers. > T

Re: [Intel-wired-lan] [PATCH] [v2] i40e: avoid 64-bit division where possible

2017-10-17 Thread Nambiar, Amritha
On 10/17/2017 10:33 AM, Alexander Duyck wrote: > On Tue, Oct 17, 2017 at 8:49 AM, Arnd Bergmann wrote: >> The new bandwidth calculation caused a link error on 32-bit >> architectures, like >> >> ERROR: "__aeabi_uldivmod" [drivers/net/ethernet/intel/i40e/i40e.ko] >> undefined! >> >> The problem is

Re: [Intel-wired-lan] [PATCH] [v2] i40e: avoid 64-bit division where possible

2017-10-20 Thread Alexander Duyck
On Tue, Oct 17, 2017 at 10:37 PM, Nambiar, Amritha wrote: > On 10/17/2017 10:33 AM, Alexander Duyck wrote: >> On Tue, Oct 17, 2017 at 8:49 AM, Arnd Bergmann wrote: >>> The new bandwidth calculation caused a link error on 32-bit >>> architectures, like >>> >>> ERROR: "__aeabi_uldivmod" [drivers/ne