]> 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)
commit806102919f521da6cd24e4a17fe4ae615c03f130
treee20edf99cd8b63f377ebff2656d994643d289848
parentc734dfff776588e5794c3b1934d2201d5791d9ab
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