]> 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)
commitb640b5522ad97289ceade2bff7584156f201542b
treee20edf99cd8b63f377ebff2656d994643d289848
parentbc43ed4f35abfdb1d52311110d49b545fccce975
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