> Subject: Re: [Bug fix]mips 64bits checksum error -- csum_tcpudp_nofold
> Content-Type: text/plain; charset=UTF-8
>
> On Wed, Jan 25, 2017 at 6:33 PM, Mark Zhang wrote:
> > Hi Alex,
> >
> > Thanks for your reply.
> > I tested your correction. The re
On Wed, Jan 25, 2017 at 6:33 PM, Mark Zhang wrote:
> Hi Alex,
>
> Thanks for your reply.
> I tested your correction. The result is correct.
> The C language will cause this function(csum_tcpudp_nofold) become
> 176 MIPS instructions. The assemble code is 150 MIPS instruction.
> If
On Wed, Jan 25, 2017 at 10:13:32AM -0800, Alexander Duyck wrote:
> On Tue, Jan 24, 2017 at 8:35 PM, Mark Zhang wrote:
> > If the input parameters as saddr = 0xc0a8fd60,daddr = 0xc0a8fda1,len =
> > 80, proto = 17, sum =0x7eae049d.
> > The correct result should be 1, but original function return 0.
Hi Alex,
Thanks for your reply.
I tested your correction. The result is correct.
The C language will cause this function(csum_tcpudp_nofold) become
176 MIPS instructions. The assemble code is 150 MIPS instruction.
If the MIPS CPU is running as 1GHz, C language cause more 60 nano
se
On Tue, Jan 24, 2017 at 8:35 PM, Mark Zhang wrote:
> If the input parameters as saddr = 0xc0a8fd60,daddr = 0xc0a8fda1,len =
> 80, proto = 17, sum =0x7eae049d.
> The correct result should be 1, but original function return 0.
>
> Attached the correction patch.
I've copied your patch here:
>From 5
If the input parameters as saddr = 0xc0a8fd60,daddr = 0xc0a8fda1,len =
80, proto = 17, sum =0x7eae049d.
The correct result should be 1, but original function return 0.
Attached the correction patch.
0001-Fixed-the-mips-64bits-checksum-error-csum_tcpudp_nof.patch
Description: Binary data
6 matches
Mail list logo