Commit 150fffaa authored by Jacek Kalwas's avatar Jacek Kalwas Committed by Tomasz Zawadzki
Browse files

include/spdk_internal: rename sock.h to sock_module.h



It is meant to be used by sock modules so reflect it by name.

Change-Id: If7356404e99bd05067f090b0614dcca73aad4cc8
Signed-off-by: default avatarJacek Kalwas <jacek.kalwas@nutanix.com>
Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/25843


Reviewed-by: default avatarAleksey Marchuk <alexeymar@nvidia.com>
Community-CI: Mellanox Build Bot
Reviewed-by: default avatarTomasz Zawadzki <tomasz@tzawadzki.com>
Tested-by: default avatarSPDK Automated Test System <spdkbot@gmail.com>
Reviewed-by: default avatarBen Walker <ben@nvidia.com>
Reviewed-by: default avatarJim Harris <jim.harris@nvidia.com>
parent ae1a4c37
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -7,8 +7,8 @@
 * TCP network implementation abstraction layer
 */

#ifndef SPDK_INTERNAL_SOCK_H
#define SPDK_INTERNAL_SOCK_H
#ifndef SPDK_INTERNAL_SOCK_MODULE_H
#define SPDK_INTERNAL_SOCK_MODULE_H

#include "spdk/stdinc.h"
#include "spdk/sock.h"
@@ -417,4 +417,4 @@ void spdk_sock_map_cleanup(struct spdk_sock_map *map);
}
#endif

#endif /* SPDK_INTERNAL_SOCK_H */
#endif /* SPDK_INTERNAL_SOCK_MODULE_H */
+2 −1
Original line number Diff line number Diff line
@@ -16,16 +16,17 @@
#include "spdk/util.h"
#include "spdk/log.h"
#include "spdk/keyring.h"
#include "spdk/sock.h"

#include "spdk_internal/assert.h"
#include "spdk_internal/nvme_tcp.h"
#include "spdk_internal/sock.h"

#include "nvmf_internal.h"
#include "transport.h"

#include "spdk_internal/trace_defs.h"

#define MIN_SOCK_PIPE_SIZE 1024
#define NVMF_TCP_MAX_ACCEPT_SOCK_ONE_TIME 16
#define SPDK_NVMF_TCP_DEFAULT_MAX_SOCK_PRIORITY 16
#define SPDK_NVMF_TCP_DEFAULT_SOCK_PRIORITY 0
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
#include "spdk/stdinc.h"

#include "spdk/sock.h"
#include "spdk_internal/sock.h"
#include "spdk_internal/sock_module.h"
#include "spdk/log.h"
#include "spdk/env.h"
#include "spdk/util.h"
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@
	spdk_sock_group_register_interrupt;
	spdk_sock_group_unregister_interrupt;

	# internal function in spdk_internal/sock.h
	# internal function in spdk_internal/sock_module.h
	spdk_net_impl_register;
	spdk_sock_group_get_buf;
	spdk_sock_map_insert;
+0 −1
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@
#include "spdk/stdinc.h"
#include "spdk/sock.h"
#include "spdk_internal/init.h"
#include "spdk_internal/sock.h"
#include "spdk/log.h"

static void
Loading