Blame SOURCES/0001-Keep-iscsi_if-in-sync-with-kernel-version.patch

e88930
From 5c654fcc617a7b42d93a53660ea578b2ab3efa3e Mon Sep 17 00:00:00 2001
e88930
From: Lee Duncan <lduncan@suse.com>
e88930
Date: Thu, 12 Apr 2018 16:49:00 -0700
e88930
Subject: [PATCH 1/1] Keep iscsi_if in sync with kernel version.
e88930
e88930
Add in a new enum for iscsi_param and iscsi_err,
e88930
and add a couple of new (higher) port speeds.
e88930
e88930
Also added a note about having to keep this
e88930
file in sync with the kernel version.
e88930
---
e88930
 include/iscsi_if.h | 10 ++++++++++
e88930
 1 file changed, 10 insertions(+)
e88930
e88930
diff --git a/include/iscsi_if.h b/include/iscsi_if.h
e88930
index 5be1981..2d46214 100644
e88930
--- a/include/iscsi_if.h
e88930
+++ b/include/iscsi_if.h
e88930
@@ -30,6 +30,12 @@
e88930
 
e88930
 #include "iscsi_proto.h"
e88930
 
e88930
+/*
e88930
+ * NOTE: This file should be kept in sync with the kernel include file
e88930
+ * of the same name. In particular, iscsi_param and iscsi_err need
e88930
+ * to be in sync.
e88930
+ */
e88930
+
e88930
 #define ISCSI_NL_GRP_ISCSID	1
e88930
 #define ISCSI_NL_GRP_UIP	2
e88930
 
e88930
@@ -536,6 +542,7 @@ enum iscsi_err {
e88930
 	ISCSI_ERR_XMIT_FAILED		= ISCSI_ERR_BASE + 19,
e88930
 	ISCSI_ERR_TCP_CONN_CLOSE	= ISCSI_ERR_BASE + 20,
e88930
 	ISCSI_ERR_SCSI_EH_SESSION_RST	= ISCSI_ERR_BASE + 21,
e88930
+	ISCSI_ERR_NOP_TIMEDOUT		= ISCSI_ERR_BASE + 22,
e88930
 };
e88930
 
e88930
 /*
e88930
@@ -627,6 +634,7 @@ enum iscsi_param {
e88930
 
e88930
 	ISCSI_PARAM_DISCOVERY_PARENT_IDX,
e88930
 	ISCSI_PARAM_DISCOVERY_PARENT_TYPE,
e88930
+	ISCSI_PARAM_LOCAL_IPADDR,
e88930
 	/* must always be last */
e88930
 	ISCSI_PARAM_MAX,
e88930
 };
e88930
@@ -731,6 +739,8 @@ enum iscsi_port_speed {
e88930
 	ISCSI_PORT_SPEED_100MBPS	= 0x4,
e88930
 	ISCSI_PORT_SPEED_1GBPS		= 0x8,
e88930
 	ISCSI_PORT_SPEED_10GBPS		= 0x10,
e88930
+	ISCSI_PORT_SPEED_25GBPS         = 0x20,
e88930
+	ISCSI_PORT_SPEED_40GBPS         = 0x40,
e88930
 };
e88930
 
e88930
 /* iSCSI port state */
e88930
-- 
e88930
2.21.0
e88930