diff options
author | Alexandra Winter <wintera@linux.ibm.com> | 2020-09-10 19:23:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-15 13:21:47 -0700 |
commit | fa115adff2c16b02b2baaf9ed1869c0115cd3ca4 (patch) | |
tree | c36f17bf1eba96645b1567f3968874b5ead68d58 /mm/page_reporting.h | |
parent | b983aa1f7d19a83906fb7d38d337a87fe8d7745a (diff) | |
download | linux-fa115adff2c16b02b2baaf9ed1869c0115cd3ca4.tar.bz2 |
s390/qeth: Detect PNSO OC3 capability
This patch detects whether device-to-bridge-notification, provided
by the Perform Network Subchannel Operation (PNSO) operation code
ADDR_INFO (OC3), is supported by this card. A following patch will
map this to the learning_sync bridgeport flag, so we store it in
priv->brport_hw_features in bridgeport flag format.
Only IQD cards provide PNSO.
There is a feature bit to indicate whether the machine provides OC3,
unfortunately it is not set on old machines.
So PNSO is called to find out. As this will disable notification
and is exclusive with bridgeport_notification, this must be done
during card initialisation before previous settings are restored.
PNSO functionality requires some configuration values that are added to
the qeth_card.info structure. Some helper functions are defined to fill
them out when the card is brought online and some other places are
adapted, that can also benefit from these fields.
Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
Reviewed-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/page_reporting.h')
0 files changed, 0 insertions, 0 deletions