RE: [PATCH] net/ice: fix statistics

2023-05-14 Thread Zhang, Qi Z
> -Original Message- > From: Ye, MingjinX > Sent: Thursday, May 11, 2023 10:11 AM > To: dev@dpdk.org > Cc: Yang, Qiming ; sta...@dpdk.org; Zhou, YidingX > ; Ye, MingjinX ; Zhang, Qi > Z > Subject: [PATCH] net/ice: fix statistics > > When the stats_get api is called for the first time

RE: [PATCH v2] net/ice: fix dcf init rss blocked

2023-05-14 Thread Zhang, Qi Z
> -Original Message- > From: Deng, KaiwenX > Sent: Tuesday, May 9, 2023 9:22 AM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Yang, Qiming ; Zhou, YidingX > ; Deng, KaiwenX ; > Zhang, Qi Z > Subject: [PATCH v2] net/ice: fix dcf init rss blocked > > The i variable type is uint8_t which cau

RE: [PATCH v3] net/i40e: support enable/disable source pruning

2023-05-14 Thread Zhang, Qi Z
> -Original Message- > From: Mingjin Ye > Sent: Monday, April 17, 2023 9:52 AM > To: dev@dpdk.org > Cc: Yang, Qiming ; sta...@dpdk.org; Zhou, YidingX > ; Ye, MingjinX ; Zhang, > Yuying ; Xing, Beilei > Subject: [PATCH v3] net/i40e: support enable/disable source pruning > > VRRP advert

RE: [PATCH] net/ice: support link speed change

2023-05-14 Thread Zhang, Qi Z
> -Original Message- > From: Deng, KaiwenX > Sent: Friday, April 14, 2023 1:00 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Yang, Qiming ; Zhou, YidingX > ; Deng, KaiwenX ; > Zhang, Qi Z > Subject: [PATCH] net/ice: support link speed change > > Support link speed change functions for

RE: [PATCH v2] net/i40e: remove redundant judgment

2023-05-14 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Qi Z > Sent: Thursday, April 27, 2023 3:38 PM > To: Feifei Wang ; Richardson, Bruce > ; Konstantin Ananyev > ; Zhang, Yuying > ; Xing, Beilei ; David > Christensen ; Ruifeng Wang > > Cc: dev@dpdk.org; n...@arm.com; Honnappa Nagarahalli > > Subject:

RE: [PATCH v2] net/iavf: add devargs to control watchdog

2023-05-14 Thread Zhang, Qi Z
> -Original Message- > From: Zeng, ZhichaoX > Sent: Friday, May 5, 2023 10:27 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Zeng, ZhichaoX > ; Wu, Jingjing ; Xing, > Beilei > Subject: [PATCH v2] net/iavf: add devargs to control watchdog > > This patch enables the watchdog to detect VF FLR

RE: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx functions

2023-05-14 Thread Zhang, Qi Z
> -Original Message- > From: Ruifeng Wang > Sent: Monday, May 8, 2023 2:03 PM > To: Min Zhou ; Zhang, Qi Z ; > m...@smartsharesystems.com; konstantin.v.anan...@yandex.ru; Yang, > Qiming ; Wu, Wenjun1 > Cc: d...@linux.vnet.ibm.com; roret...@linux.microsoft.com; dev@dpdk.org; > sta...@dp

RE: [PATCH] net/iavf: fix large vf queues cannot re-use.

2023-05-14 Thread Zhang, Qi Z
> -Original Message- > From: Shiyang He > Sent: Tuesday, May 9, 2023 12:58 AM > To: dev@dpdk.org > Cc: Zhou, YidingX ; He, ShiyangX > ; sta...@dpdk.org; Wu, Jingjing > ; Xing, Beilei ; Xu, Ting > > Subject: [PATCH] net/iavf: fix large vf queues cannot re-use. > > Multiple vfs created

RE: [PATCH] net/cpfl: update the doc of CPFL PMD

2023-05-14 Thread Xing, Beilei
> -Original Message- > From: Liu, Mingxia > Sent: Friday, April 21, 2023 10:59 PM > To: dev@dpdk.org; Xing, Beilei ; Zhang, Yuying > > Cc: Liu, Mingxia > Subject: [PATCH] net/cpfl: update the doc of CPFL PMD > > This patch updates cpfl.rst doc, adjusting the order of chapters referri

[PATCH v3] net/iavf: add devargs to control watchdog

2023-05-14 Thread Zhichao Zeng
This patch enables the watchdog to detect VF FLR when the link state changes to down, and the default period is 2000us as defined by IAVF_DEV_WATCHDOG_PERIOD. In addition, the 'watchdog_period' devargs was added to adjust the watchdog period(microseconds), or set to 0 to disable the watchdog. Sig

RE: [PATCH v2] doc: add PMD known issue

2023-05-14 Thread Zhang, Qi Z
> -Original Message- > From: Mingjin Ye > Sent: Saturday, May 6, 2023 6:03 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; sta...@dpdk.org; Zhou, YidingX > ; Ye, MingjinX ; Wu, > Wenjun1 > Subject: [PATCH v2] doc: add PMD known issue > > Add a known issue: The ixgbe_vf driver is not multi-

RE: [PATCH v3] net/iavf: add devargs to control watchdog

2023-05-14 Thread Zhang, Qi Z
> -Original Message- > From: Zeng, ZhichaoX > Sent: Monday, May 15, 2023 1:48 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Zeng, ZhichaoX > ; Yang, Qiming ; Wu, > Jingjing ; Xing, Beilei > Subject: [PATCH v3] net/iavf: add devargs to control watchdog > > This patch enables the watchdog to

RE: [PATCH] net/cpfl: update the doc of CPFL PMD

2023-05-14 Thread Zhang, Qi Z
> -Original Message- > From: Xing, Beilei > Sent: Monday, May 15, 2023 1:06 PM > To: Liu, Mingxia ; dev@dpdk.org; Zhang, Yuying > > Subject: RE: [PATCH] net/cpfl: update the doc of CPFL PMD > > > > > -Original Message- > > From: Liu, Mingxia > > Sent: Friday, April 21, 2023

RE: [PATCH v7] net/ice: fix ice dcf control thread crash

2023-05-14 Thread Zhang, Qi Z
> -Original Message- > From: Ye, MingjinX > Sent: Tuesday, April 11, 2023 10:09 AM > To: dev@dpdk.org > Cc: Yang, Qiming ; sta...@dpdk.org; Zhou, YidingX > ; Ye, MingjinX ; Zhang, > Ke1X ; Zhang, Qi Z > Subject: [PATCH v7] net/ice: fix ice dcf control thread crash > > The control thre

[PATCH v1 0/4] Support VFIO sparse mmap in PCI bus

2023-05-14 Thread Miao Li
This series introduces a VFIO standard capability, called sparse mmap to PCI bus. In linux kernel, it's defined as VFIO_REGION_INFO_CAP_SPARSE_MMAP. Sparse mmap means instead of mmap whole BAR region into DPDK process, only mmap part of the BAR region after getting sparse mmap information from kern

[PATCH v1 1/4] bus/pci: introduce an internal representation of PCI device

2023-05-14 Thread Miao Li
From: Chenbo Xia This patch introduces an internal representation of the PCI device which will be used to store the internal information that don't have to be exposed to drivers, e.g., the VFIO region sizes/offsets. In this patch, the internal structure is simply a wrapper of the rte_pci_device

[PATCH v1 2/4] bus/pci: avoid depending on private value in kernel source

2023-05-14 Thread Miao Li
From: Chenbo Xia The value 40 used in VFIO_GET_REGION_ADDR() is a private value (VFIO_PCI_OFFSET_SHIFT) defined in Linux kernel source [1]. It is not part of VFIO API, and we should not depend on it. [1] https://github.com/torvalds/linux/blob/v6.2/include/linux/vfio_pci_core.h Signed-off-by: Ch

[PATCH v1 3/4] bus/pci: introduce helper for MMIO read and write

2023-05-14 Thread Miao Li
From: Chenbo Xia The MMIO regions may not be mmap-able for VFIO-PCI devices. In this case, the driver should explicitly do read and write to access these regions. Signed-off-by: Chenbo Xia --- drivers/bus/pci/bsd/pci.c| 22 +++ drivers/bus/pci/linux/pci.c | 46

[PATCH v1 4/4] bus/pci: add VFIO sparse mmap support

2023-05-14 Thread Miao Li
This patch adds sparse mmap support in PCI bus. Sparse mmap is a capability defined in VFIO which allows multiple mmap areas in one VFIO region. In this patch, the sparse mmap regions are mapped to one continuous virtual address region that follows device-specific BAR layout. So, driver can still

[PATCH v4] net/iavf: add devargs to control watchdog

2023-05-14 Thread Zhichao Zeng
This patch enables the watchdog to detect VF FLR when the link state changes to down, and the default period is 2000us as defined by IAVF_DEV_WATCHDOG_PERIOD. In addition, the 'watchdog_period' devargs was added to adjust the watchdog period(microseconds), or set to 0 to disable the watchdog. Sig