Re: [PATCH v4] doc: add iavf live migration guide

2023-07-06 Thread Cao, Yahui
On 7/7/2023 2:08 PM, Lingyu Liu wrote: Add iavf live migration steps based on KVM VFIO migration. Signed-off-by: Lingyu Liu --- v2: Fixed CI. Added brief introduction about live migration. Clarified this is iavf feature. v3: Added intro and link about vfio live migration. Adde

Re: [PATCH V2] doc: add iavf live migration guide

2023-07-03 Thread Cao, Yahui
Hi Lingyu, On 7/4/2023 10:27 AM, Lingyu Liu wrote: Describe iavf live migration steps. Signed-off-by: Lingyu Liu --- v2: Fixed CI. Added brief introduction about live migration. Clarified this is iavf feature. --- doc/guides/nics/intel_vf.rst | 101

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

2023-05-28 Thread Cao, Yahui
On 5/26/2023 12:31 AM, Miao Li wrote: 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-

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

2023-05-28 Thread Cao, Yahui
On 5/26/2023 12:31 AM, Miao Li wrote: 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 +++ dr

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

2023-05-28 Thread Cao, Yahui
On 5/26/2023 12:31 AM, Miao Li wrote: 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/includ

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

2023-05-28 Thread Cao, Yahui
On 5/26/2023 12:31 AM, Miao Li wrote: 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

Re: [dpdk-dev] [PATCH v1 4/5] net/ice: add outer input set mask check

2020-12-24 Thread Cao, Yahui
I suggest that you can merge this commit into the Patch 3/5, since they are all about input set mask changes. > -Original Message- > From: Yan, Zhirun > Sent: Monday, December 21, 2020 2:52 PM > To: dev@dpdk.org; Zhang, Qi Z ; Cao, Yahui > ; Wang, Xiao W ; > Guo,

Re: [dpdk-dev] [PATCH v1 3/5] net/ice: add outer input set mask to distinguish outer fields

2020-12-24 Thread Cao, Yahui
> -Original Message- > From: Yan, Zhirun > Sent: Monday, December 21, 2020 2:52 PM > To: dev@dpdk.org; Zhang, Qi Z ; Cao, Yahui > ; Wang, Xiao W ; > Guo, Junfeng > Cc: Su, Simei ; Xu, Ting ; Zhang, > Yuying ; Yan, Zhirun > > Subject: [PATCH v1 3/5] net

Re: [dpdk-dev] [PATCH v1 2/5] net/ice: refactor flow pattern parser

2020-12-24 Thread Cao, Yahui
> -Original Message- > From: Yan, Zhirun > Sent: Monday, December 21, 2020 2:52 PM > To: dev@dpdk.org; Zhang, Qi Z ; Cao, Yahui > ; Wang, Xiao W ; > Guo, Junfeng > Cc: Su, Simei ; Xu, Ting ; Zhang, > Yuying ; Yan, Zhirun > > Subject: [PATCH v1 2/5]

Re: [dpdk-dev] [PATCH v1] net/ice: refactor flow pattern parser

2020-11-17 Thread Cao, Yahui
> -Original Message- > From: Yan, Zhirun > Sent: Wednesday, November 18, 2020 11:15 AM > To: Cao, Yahui > Cc: dev@dpdk.org; Zhang, Qi Z ; Wang, Xiao W > ; Su, Simei > Subject: [PATCH v1] net/ice: refactor flow pattern parser > > * Cao, Yahui [2020-11-17

Re: [dpdk-dev] [PATCH v1] net/ice: refactor flow pattern parser

2020-11-17 Thread Cao, Yahui
: Tuesday, November 17, 2020 4:45 PM > To: dev@dpdk.org; Zhang, Qi Z ; Cao, Yahui > ; Wang, Xiao W ; > Su, Simei > Cc: Yan, Zhirun > Subject: [PATCH v1] net/ice: refactor flow pattern parser > > Distinguish inner/outer fields. And avoid too many nested conditionals > in each t

Re: [dpdk-dev] [PATCH v1 2/2] net/ice: support inner/outer L2/L3 field for FDIR

2020-10-15 Thread Cao, Yahui
> -Original Message- > From: Yan, Zhirun > Sent: Monday, September 28, 2020 2:32 PM > To: Zhang, Qi Z ; dev@dpdk.org > Cc: Cao, Yahui ; Wang, Xiao W > ; Su, Simei ; Guo, Junfeng > ; Yan, Zhirun > Subject: [PATCH v1 2/2] net/ice: support inner/ou

Re: [dpdk-dev] [PATCH v3 2/2] net/ice: merge inner/outer flow seg info for FDIR

2020-09-18 Thread Cao, Yahui
> -Original Message- > From: Yan, Zhirun > Sent: Tuesday, September 15, 2020 1:27 PM > To: Zhang, Qi Z ; dev@dpdk.org > Cc: Cao, Yahui ; Wang, Xiao W > ; Su, Simei ; Guo, Junfeng > ; Yan, Zhirun > Subject: [PATCH v3 2/2] net/ice: merge inner/outer flow se

Re: [dpdk-dev] [PATCH v3 1/2] net/ice: refactor FDIR set conf function

2020-09-18 Thread Cao, Yahui
> -Original Message- > From: Yan, Zhirun > Sent: Tuesday, September 15, 2020 1:27 PM > To: Zhang, Qi Z ; dev@dpdk.org > Cc: Cao, Yahui ; Wang, Xiao W > ; Su, Simei ; Guo, Junfeng > ; Yan, Zhirun > Subject: [PATCH v3 1/2] net/ice: refactor FDIR set conf functi

Re: [dpdk-dev] [PATCH v2 1/5] net/iavf: add support for FDIR basic rule

2020-04-10 Thread Cao, Yahui
> -Original Message- > From: Su, Simei > Sent: Thursday, April 2, 2020 9:33 PM > To: Zhang, Qi Z ; Ye, Xiaolong ; > Wu, Jingjing > Cc: dev@dpdk.org; Cao, Yahui ; Su, Simei > > Subject: [PATCH v2 1/5] net/iavf: add support for FDIR basic rule > > This

Re: [dpdk-dev] [PATCH 1/5] net/iavf: add support for FDIR basic rule

2020-03-30 Thread Cao, Yahui
> -Original Message- > From: Su, Simei > Sent: Wednesday, March 18, 2020 1:42 PM > To: Ye, Xiaolong ; Zhang, Qi Z > Cc: dev@dpdk.org; Cao, Yahui ; Wu, Jingjing > ; Su, Simei > Subject: [PATCH 1/5] net/iavf: add support for FDIR basic rule > > This pat

Re: [dpdk-dev] [PATCH 5/5] net/iavf: add support for FDIR mark action

2020-03-30 Thread Cao, Yahui
> -Original Message- > From: Su, Simei > Sent: Wednesday, March 18, 2020 1:42 PM > To: Ye, Xiaolong ; Zhang, Qi Z > Cc: dev@dpdk.org; Cao, Yahui ; Wu, Jingjing > ; Su, Simei > Subject: [PATCH 5/5] net/iavf: add support for FDIR mark action > > This patch

Re: [dpdk-dev] [PATCH] net/ice: fix fdir GTP-U pattern

2020-01-19 Thread Cao, Yahui
Suggest to rename ICE_FDIR_INSET_GTPU_IPV4 to ICE_FDIR_INSET_GTPU, and rename ICE_FDIR_INSET_GTPU_EH_IPV4 to ICE_FDIR_INSET_GTPU_EH Thanks. Yahui. -Original Message- From: Zhang, Qi Z Sent: Monday, January 20, 2020 1:08 PM To: Cao, Yahui ; Xing, Beilei Cc: Sun, Chenmin ; dev

Re: [dpdk-dev] [PATCH v3 1/8] net/ice: enable flow director engine

2019-09-24 Thread Cao, Yahui
Thanks for the comments. Old version patches' states are changed. -Original Message- From: Gavin Hu (Arm Technology China) [mailto:gavin...@arm.com] Sent: Wednesday, September 25, 2019 11:20 AM To: Cao, Yahui ; Yang, Qiming ; Lu, Wenzhuo Cc: dev@dpdk.org; Zhang, Qi Z ; Ye, Xia