[SPDK] Re: Configuring SPDK NVMe over TCP initiator

Zawadzki, Tomasz <tomasz.zawadzki at intel.com>
Newsgroups dev.linux.lists.spdk
Message-ID <DM6PR11MB4220FF464932A7B178B545FBEEA10@DM6PR11MB4220.namprd11.prod.outlook.com>
Hi Chethan,

To use bdev NVMe device connected over TCP in SPDK application please use bdev_nvme_attach_controller RPC.
Description at https://spdk.io/doc/bdev.html#bdev_config_nvme is for RDMA, but just changing to "-t TCP" should be enough:
rpc.py bdev_nvme_attach_controller -b Nvme0 -t TCP -a 192.168.100.1 -f IPv4 -s 4420 -n nqn.2016-06.io.spdk:cnode1

Thanks,
Tomek

> -----Original Message-----
> From: Chethan Seshadri <chethan_seshadri(a)yahoo.com>
> Sent: Thursday, January 21, 2021 1:09 PM
> To: spdk(a)lists.01.org
> Subject: [SPDK] Configuring SPDK NVMe over TCP initiator
> 
> Hi,
> Can anyone point me to the steps to configure SPDK NVMe over TCP
> initiator?
> Thanks,Chethan
> _______________________________________________
> SPDK mailing list -- spdk(a)lists.01.org
> To unsubscribe send an email to spdk-leave(a)lists.01.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.