]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: Allow flexibility for error reporting on dev commands
authorBrett Creeley <brett@pensando.io>
Mon, 24 Jan 2022 18:53:05 +0000 (10:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jan 2022 11:15:09 +0000 (11:15 +0000)
commite851087d783120f7f8037c3eccdb1cbeb6486098
treee20edf99cd8b63f377ebff2656d994643d289848
parent7eb7c2dbbc27cb720ef42d0c9dd37c52b45010b8
ionic: Allow flexibility for error reporting on dev commands

When dev commands fail, an error message will always be printed,
which may be overly alarming the to system administrators,
especially if the driver shouldn't be printing the error due
to some unsupported capability.

Similar to recent adminq request changes, we can update the
dev command interface with the ability to selectively print
error messages to allow the driver to prevent printing errors
that are expected.

Signed-off-by: Brett Creeley <brett@pensando.io>
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic.h
drivers/net/ethernet/pensando/ionic/ionic_main.c