The internal mempools were replaced with the newly added iobuf interface. To make sure we respect spdk_bdev_opts's (small|large)_buf_pool_size, we call spdk_iobuf_set_opts() from spdk_bdev_set_opts(). These two options are now deprecated and users should switch to spdk_iobuf_set_opts(). Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Ib1424dc5446796230d103104e272100fac649b42 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15328 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
35 lines
873 B
Makefile
35 lines
873 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright (C) 2015 Intel Corporation.
|
|
# All rights reserved.
|
|
#
|
|
|
|
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../..)
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
|
|
|
DIRS-y += bdev accel scheduler iscsi nvmf scsi vmd sock iobuf
|
|
|
|
ifeq ($(OS),Linux)
|
|
DIRS-y += nbd
|
|
endif
|
|
|
|
DIRS-$(CONFIG_VHOST) += vhost_blk vhost_scsi
|
|
DIRS-$(CONFIG_VFIO_USER) += vfu_tgt
|
|
|
|
# These dependencies are not based specifically on symbols, but rather
|
|
# the subsystem dependency tree defined within the event subsystem C files
|
|
# themselves. Should that tree change, these dependencies should change
|
|
# accordingly.
|
|
DEPDIRS-bdev := accel vmd sock iobuf
|
|
DEPDIRS-iscsi := scsi
|
|
DEPDIRS-nbd := bdev
|
|
DEPDIRS-nvmf := bdev
|
|
DEPDIRS-scsi := bdev
|
|
DEPDIRS-vhost_scsi := scsi
|
|
|
|
.PHONY: all clean $(DIRS-y)
|
|
|
|
all: $(DIRS-y)
|
|
clean: $(DIRS-y)
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk
|