[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <31AFFC7280259C4184970ABA9AFE8B93E0800207@avmb3.qlogic.org>
Date: Mon, 1 Sep 2014 15:33:20 +0000
From: Manish Chopra <manish.chopra@...gic.com>
To: David Miller <davem@...emloft.net>
CC: netdev <netdev@...r.kernel.org>,
Ariel Elior <Ariel.Elior@...gic.com>,
Yuval Mintz <Yuval.Mintz@...gic.com>
Subject: RE: [PATCH net] bnx2x: Configure device endianity on driver load
and reset endianity on removal.
> -----Original Message-----
> From: netdev-owner@...r.kernel.org [mailto:netdev-owner@...r.kernel.org]
> On Behalf Of Manish Chopra
> Sent: Monday, September 01, 2014 7:47 PM
> To: David Miller
> Cc: netdev; Ariel Elior; Yuval Mintz
> Subject: [PATCH net] bnx2x: Configure device endianity on driver load and reset
> endianity on removal.
>
> Some hosts can be both little and big endian.
> In certain scenarios a big endian kernel can kexec a little endian kernel.
>
> This patch fixes this case from both ends:
> 1) Return endianity to original values on shutdown (in case little endian kernel
> boots after we shutdown).
> 2) Do not rely on HW reset values when loading driver in little endian kernel
> but configure them explicitly (in case previous kernel was big endian and did
> not reset the HW).
>
> Signed-off-by: Manish Chopra <manish.chopra@...gic.com>
> Signed-off-by: Ariel Elior <Ariel.Elior@...gic.com>
> ---
>
> Hi David,
>
> Please consider applying this patch to `net'
>
> Thanks,
> Manish
David, Please drop this patch as it might create issue for VFs.
I will send updated V2 patch with proper fix.
Thanks,
Manish
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists