netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Aswin Karuvally <aswin@linux.ibm.com>
To: David Miller <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Eric Dumazet <edumazet@google.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>
Cc: netdev@vger.kernel.org, linux-s390@vger.kernel.org,
	Heiko Carstens <hca@linux.ibm.com>,
	Vasily Gorbik <gor@linux.ibm.com>,
	Alexander Gordeev <agordeev@linux.ibm.com>,
	Alexandra Winter <wintera@linux.ibm.com>,
	Christian Borntraeger <borntraeger@linux.ibm.com>,
	Sven Schnelle <svens@linux.ibm.com>,
	Simon Horman <horms@kernel.org>
Subject: [PATCH net-next 0/2] s390/qeth: Improve handling of OSA RCs
Date: Thu, 13 Nov 2025 15:42:07 +0100	[thread overview]
Message-ID: <20251113144209.2140061-1-aswin@linux.ibm.com> (raw)

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


             reply	other threads:[~2025-11-13 14:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-13 14:42 Aswin Karuvally [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251113144209.2140061-1-aswin@linux.ibm.com \
    --to=aswin@linux.ibm.com \
    --cc=agordeev@linux.ibm.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=borntraeger@linux.ibm.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=svens@linux.ibm.com \
    --cc=wintera@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).