diff options
author | Julian Wiedmann <jwi@linux.vnet.ibm.com> | 2017-09-18 22:18:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-19 00:41:37 +0300 |
commit | 2aa4867198c22ecfae1c12f0c96c4c25fea01cb5 (patch) | |
tree | 684ac5bb429f540e9ac46be52ff8ae67f537f3f2 /drivers/s390/net/qeth_core_mpc.h | |
parent | ab25a5014eddb4da94b7acf0d214265964c5fd21 (diff) | |
download | linux-2aa4867198c22ecfae1c12f0c96c4c25fea01cb5.tar.xz |
s390/qeth: translate SETVLAN/DELVLAN errors
Properly return any error encountered during VLAN processing to the
the caller.
Resulting change in behaviour: if SETVLAN fails while registering a
new VLAN ID, the stack no longer creates the corresponding vlan device.
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Reviewed-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core_mpc.h')
-rw-r--r-- | drivers/s390/net/qeth_core_mpc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_core_mpc.h b/drivers/s390/net/qeth_core_mpc.h index 2f1f0da3d089..6a7654df6e78 100644 --- a/drivers/s390/net/qeth_core_mpc.h +++ b/drivers/s390/net/qeth_core_mpc.h @@ -166,6 +166,7 @@ enum qeth_ipa_return_codes { IPA_RC_L2_INVALID_VLAN_ID = 0x2015, IPA_RC_L2_DUP_VLAN_ID = 0x2016, IPA_RC_L2_VLAN_ID_NOT_FOUND = 0x2017, + IPA_RC_L2_VLAN_ID_NOT_ALLOWED = 0x2050, IPA_RC_VNICC_VNICBP = 0x20B0, IPA_RC_SBP_OSA_NOT_CONFIGURED = 0x2B0C, IPA_RC_SBP_OSA_OS_MISMATCH = 0x2B10, |