summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_core_mpc.h
diff options
context:
space:
mode:
authorDavid S. Miller2018-07-21 19:12:30 +0200
committerDavid S. Miller2018-07-21 19:12:30 +0200
commit975cd350c270328b784326d124b7a6607542e053 (patch)
treebae78d7a1eca3196a41a4bdb0aa44dd08a6b7a4e /drivers/s390/net/qeth_core_mpc.h
parentMerge branch 'hns3-misc-cleanups' (diff)
parents390/qeth: speed up L2 IQD xmit (diff)
downloadkernel-qcow2-linux-975cd350c270328b784326d124b7a6607542e053.tar.gz
kernel-qcow2-linux-975cd350c270328b784326d124b7a6607542e053.tar.xz
kernel-qcow2-linux-975cd350c270328b784326d124b7a6607542e053.zip
Merge branch 's390-qeth-updates'
Julian Wiedmann says: ==================== s390/qeth: updates 2018-07-19 please apply one more round of qeth patches to net-next. This brings additional performance improvements for the transmit code, and some refactoring to pave the way for using netdev_priv. Also, two minor fixes for rare corner cases. ==================== 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.h1
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 54c35224262a..cf5ad94e960a 100644
--- a/drivers/s390/net/qeth_core_mpc.h
+++ b/drivers/s390/net/qeth_core_mpc.h
@@ -65,6 +65,7 @@ enum qeth_card_types {
};
#define IS_IQD(card) ((card)->info.type == QETH_CARD_TYPE_IQD)
+#define IS_OSN(card) ((card)->info.type == QETH_CARD_TYPE_OSN)
#define QETH_MPC_DIFINFO_LEN_INDICATES_LINK_TYPE 0x18
/* only the first two bytes are looked at in qeth_get_cardname_short */