]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bnx2x: Don't notify about scratchpad parities
authorManish Chopra <Manish.Chopra@qlogic.com>
Thu, 25 Jun 2015 12:19:24 +0000 (15:19 +0300)
committerJiri Slaby <jslaby@suse.cz>
Thu, 3 Mar 2016 11:45:53 +0000 (12:45 +0100)
commitceb385a9e8e4b0a317c742dccb6abbff7512fd6d
tree68d677744cdfca707abde316d68b664a25200a16
parent4c7eb9bc24f5e3a7d6ba10a44c66bd739418307b
bnx2x: Don't notify about scratchpad parities

commit ad6afbe9578d1fa26680faf78c846bd8c00d1d6e upstream.

The scratchpad is a shared block between all functions of a given device.
Due to HW limitations, we can't properly close its parity notifications
to all functions on legal flows.
E.g., it's possible that while taking a register dump from one function
a parity error would be triggered on other functions.

Today driver doesn't consider this parity as a 'real' parity unless its
being accompanied by additional indications [which would happen in a real
parity scenario]; But it does print notifications for such events in the
system logs.

This eliminates such prints - in case of real parities driver would have
additional indications; But if this is the only signal user will not even
see a parity being logged in the system.

Signed-off-by: Manish Chopra <Manish.Chopra@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Patrick Schaaf <netdev@bof.de>
Tested-by: Patrick Schaaf <netdev@bof.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c