]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2x: change FW GRO error message to WARN_ONCE
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 4 Dec 2015 16:22:35 +0000 (17:22 +0100)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 8 Jul 2016 02:28:36 +0000 (19:28 -0700)
commitf0b406e3c1b9eb4af2ee2d9160aba1f88195a928
tree1d5d08adc2017e879d48c5d3d35893721804ec15
parent6cdd1e3e9ea272af8fa72610cbd65c7c863cd145
bnx2x: change FW GRO error message to WARN_ONCE

It's supposed to be impossible for TPA to give us anything else
than IPv4 or IPv6 here. But in case there is a way to reach this error
by some strange received frames, we don't want to flood the kernel log.
WARN_ONCE is better for this purpose.

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Orabug: 23718192
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c