public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] s390/qeth: Improve handling of OSA RCs
@ 2025-11-13 14:42 Aswin Karuvally
  2025-11-13 14:42 ` [PATCH net-next 1/2] s390/qeth: Move all OSA RCs to single enum Aswin Karuvally
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Aswin Karuvally @ 2025-11-13 14:42 UTC (permalink / raw)
  To: David Miller, Jakub Kicinski, Paolo Abeni, Eric Dumazet,
	Andrew Lunn
  Cc: netdev, linux-s390, Heiko Carstens, Vasily Gorbik,
	Alexander Gordeev, Alexandra Winter, Christian Borntraeger,
	Sven Schnelle, Simon Horman

This two patch series aims to improve how return codes from OSA Express
are handled in the qeth driver.

OSA defines a number of return codes whose meaning is determined by the
issuing command, ie. they are ambiguous. The first patch moves
definitions of all return codes including the ambiguous ones to a single
enum block to aid readability and maintainability.

The second patch implements a mechanism to interpret return codes based
on the issuing command to ensure accurate debug messages. While at it,
remove extern keyword and fix indentation for function declarations to
be in line with Linux kernel coding style.

Aswin Karuvally (2):
  s390/qeth: Move all OSA RCs to single enum
  s390/qeth: Handle ambiguous OSA RCs in s390dbf

 drivers/s390/net/qeth_core_main.c |   2 +-
 drivers/s390/net/qeth_core_mpc.c  | 247 ++++++++++++++++++++++++------
 drivers/s390/net/qeth_core_mpc.h  |  20 +--
 3 files changed, 210 insertions(+), 59 deletions(-)

-- 
2.48.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-11-18  4:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-13 14:42 [PATCH net-next 0/2] s390/qeth: Improve handling of OSA RCs Aswin Karuvally
2025-11-13 14:42 ` [PATCH net-next 1/2] s390/qeth: Move all OSA RCs to single enum Aswin Karuvally
2025-11-13 14:42 ` [PATCH net-next 2/2] s390/qeth: Handle ambiguous OSA RCs in s390dbf Aswin Karuvally
2025-11-18  4:30 ` [PATCH net-next 0/2] s390/qeth: Improve handling of OSA RCs patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox