iscsi: Move macros to define max port name from portal_grp.h to iscsi.h

This is a preparation to the next patch which will change portal_host
and portal_port from malloc to fixed size.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I0f95d969edfd88efde41a43eaf0426fcd4b98987
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/464135
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Shuhei Matsumoto 2019-08-08 14:57:43 +09:00 committed by Jim Harris
parent 1738ec7a9e
commit ff9d333171
2 changed files with 4 additions and 3 deletions

View File

@ -60,6 +60,8 @@
#define MAX_INITIATOR 256
#define MAX_NETMASK 256
#define MAX_ISCSI_CONNECTIONS 1024
#define MAX_PORTAL_ADDR 256
#define MAX_PORTAL_PORT 32
#define DEFAULT_PORT 3260
#define DEFAULT_MAX_SESSIONS 128

View File

@ -36,9 +36,8 @@
#define SPDK_PORTAL_GRP_H
#include "spdk/conf.h"
#define MAX_PORTAL_ADDR 256
#define MAX_PORTAL_PORT 32
#include "spdk/cpuset.h"
#include "iscsi/iscsi.h"
struct spdk_json_write_ctx;