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)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Dec 2015 00:00:02 +0000 (19:00 -0500)
commit9adab1b036b3b95edffdfe7835133b2a20eb7473
treec3eb0a29ef198d765e10f47e71ce41e7d54bbfec
parent5c9ffde4a02144c4f7362152853d69138c437f17
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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c