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:
parent
1738ec7a9e
commit
ff9d333171
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user