[SPDK] Re: For Dummies guide to setting up ramdisk NVMe/TCP target
Zawadzki, Tomasz <tomasz.zawadzki at intel.com>
| Newsgroups | dev.linux.lists.spdk |
|---|---|
| Message-ID | <DM6PR11MB42200BEAD44B5C42515A7C68EE300@DM6PR11MB4220.namprd11.prod.outlook.com> |
Hi Eric, For the scenario that you've described three links would provide best pointers: - https://spdk.io/doc/getting_started.html for SPDK itself - https://spdk.io/doc/bdev.html#bdev_config_malloc to create malloc bdev - https://spdk.io/doc/nvmf.html#nvmf_config to setup the NVMe/TCP target Above would provide NVMe-oF target ready to connect initiator. After that you can use another instance of SPDK to connect via NVMe/TCP initiator. For RPC https://spdk.io/doc/bdev.html#bdev_config_nvme, but other apps like ./build/examples/perf work too. CI for SPDK runs per-patch testing contained within single machine, so ./test/nvmf/* scripts can be great examples for development. The scenario you are describing is part of: sudo ./test/nvmf/target/nvmf_example.sh --transport=tcp --iso Thanks, Tomek > -----Original Message----- > From: eric.curtin(a)dell.com <eric.curtin(a)dell.com> > Sent: Thursday, October 1, 2020 9:23 AM > To: spdk(a)lists.01.org > Subject: [SPDK] For Dummies guide to setting up ramdisk NVMe/TCP target > > Hi Guys, > > I'm just getting started with SPDK and wanted to create a fake ramdisk > NVMe/TCP target block device, just so I could simulate NVMe/TCP traffic on > a single Linux instance for development purposes. > > Anybody know how to set up a machine like this for NVMe/TCP > development? > _______________________________________________ > SPDK mailing list -- spdk(a)lists.01.org > To unsubscribe send an email to spdk-leave(a)lists.01.org