[SPDK] Re: sysfs-pci and SPDK IOAT

Yufan Chen <wiz.chen at gmail.com> Fri, 26 Mar 2021 08:22:28 +0000
Newsgroups dev.linux.lists.spdk
Message-ID <[email protected]>
Hi,

  Because changing ntb bar size, It needs to upgrade EEPROM.
  Thus, I use the patch: https://staging.gerrithub.io/c/spdk/dpdk/+/441070
        to check if spdk_mem_register can work or not.

   However, if I create a nvmf target, it will cause segfault.

   After investigation,  create nvmf target will call mem_map_notify_walk() to register all
         mapped memory.

  It seems that the mapped memory of NTB PCI bar cannot be registered into RDMA
         (Note: I use 'mlx5_dv' provider.)
        
  Do you have any suggestion? 
  Thanks.

-yufan