Hi Jingjing,
> -Original Message-
> From: Wu, Jingjing
> Sent: Tuesday, January 5, 2021 9:42 PM
> To: Xia, Chenbo ; dev@dpdk.org; tho...@monjalon.net;
> david.march...@redhat.com
> Cc: step...@networkplumber.org; Liang, Cunming ; Lu,
> Xiuchun ; Li, Miao
> Subject: RE: [PATCH v2 4/8] emu
> +static int iavf_emu_update_status(int vfio_dev_id) {
> + struct iavf_emudev *dev;
> + int ret;
> +
> + dev = find_iavf_with_dev_id(vfio_dev_id);
> + if (!dev)
> + return -1;
> +
> + ret = iavf_emu_setup_mem_table(dev);
> + if (ret) {
> + EMU_IAVF_L
Hi Jingjing,
> -Original Message-
> From: Wu, Jingjing
> Sent: Monday, January 4, 2021 2:45 PM
> To: Xia, Chenbo ; dev@dpdk.org; tho...@monjalon.net;
> david.march...@redhat.com
> Cc: step...@networkplumber.org; Liang, Cunming ; Lu,
> Xiuchun ; Li, Miao
> Subject: RE: [PATCH v2 4/8] emu/
> +static inline struct iavf_emu_sock_list * iavf_emu_find_sock_list(char
> +*sock_addr) {
> + struct iavf_emu_sock_list *list;
> + struct iavf_emudev *dev;
> + int list_exist;
Initialize list_exist to 0?
> +
> + if (!sock_addr)
> + return NULL;
> +
> + pthread_mute
This patch adds vfio-user APIs call in driver probe and remove.
rte_vfio_user_register() and rte_vfio_user_unregister() are called
to create/destroy a vfio-user device. Notify callbacks that
libvfio_user defines are also implemented.
Signed-off-by: Chenbo Xia
Signed-off-by: Miao Li
---
drivers/
5 matches
Mail list logo