iscsi: Remove unused macro constants
Remove unused macro constants of iSCSI. MAX_PORTAL, MAX_INITIATOR, MAX_NETMASK are still used to determine buffer size for JSON-RPC and iSCSI.conf and are not removed in this patch yet. Change-Id: I3036dc472eca09eff7fa3f6ea7e8e28b0978358f Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/392912 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
f53462b432
commit
a58611d513
@ -67,7 +67,7 @@
|
||||
# PortalGroup sections define which network portals the iSCSI target
|
||||
# will use to listen for incoming connections. These are also used to
|
||||
# determine which targets are accessible over each portal group.
|
||||
# Up to 1024 Portal directives are allowed. These define the network
|
||||
# Up to 1024 portal directives are allowed. These define the network
|
||||
# portals of the portal group. The user must specify a IP address
|
||||
# for each network portal, and may optionally specify a port and
|
||||
# a cpumask. If the port is omitted, 3260 will be used. Cpumask will
|
||||
|
@ -54,13 +54,9 @@
|
||||
#define MAX_INITIATOR_NAME 256
|
||||
#define MAX_TARGET_NAME 256
|
||||
|
||||
#define MAX_ISCSI_NAME 256
|
||||
|
||||
#define MAX_PORTAL 1024
|
||||
#define MAX_INITIATOR 256
|
||||
#define MAX_NETMASK 256
|
||||
#define MAX_PORTAL_GROUP 4096
|
||||
#define MAX_INITIATOR_GROUP 4096
|
||||
#define MAX_SESSIONS 1024
|
||||
#define MAX_ISCSI_CONNECTIONS MAX_SESSIONS
|
||||
#define MAX_FIRSTBURSTLENGTH 16777215
|
||||
|
Loading…
Reference in New Issue
Block a user