]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Remove unwanted ovs-offload messages in some conditions
authorSriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Sat, 10 Mar 2018 04:46:05 +0000 (23:46 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Mar 2018 14:57:38 +0000 (10:57 -0400)
commit46452921e188edc463cda791dac15f8049cdf39b
tree37fea15c3b173aa9330b8a669bd01fca53e71ec8
parent18d8c26d16b146c56619e298cff2262ed949f079
bnxt_en: Remove unwanted ovs-offload messages in some conditions

In some conditions when the driver fails to add a flow in HW and returns
an error back to the stack, the stack continues to invoke get_flow_stats()
and/or del_flow() on it. The driver fails these APIs with an error message
"no flow_node for cookie". The message gets logged repeatedly as long as
the stack keeps invoking these functions.

Fix this by removing the corresponding netdev_info() calls from these
functions.

Fixes: 14557fc2b8f5 ("bnxt_en: add code to query TC flower offload stats")
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c