RE: [PATCH] graph: fix head move when graph walk in mcore dispatch

2024-03-20 Thread Wu, Jingjing
> -Original Message- > From: Yan, Zhirun > Sent: Wednesday, March 20, 2024 4:43 PM > To: Wu, Jingjing ; dev@dpdk.org > Cc: jer...@marvell.com; pbhagavat...@marvell.com; sta...@dpdk.org > Subject: RE: [PATCH] graph: fix head move when graph walk

RE: [PATCH] graph: fix head move when graph walk in mcore dispatch

2024-03-19 Thread Wu, Jingjing
> > /* skip the src nodes which not bind with current worker */ > > if ((int32_t)head < 0 && node->dispatch.lcore_id != graph- > > >dispatch.lcore_id) > > continue; > > - > > + head++; > If current src node not bind with current core, It will

RE: [PATCH v2] net/cpfl: update CP channel API

2023-10-18 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Thursday, October 19, 2023 6:58 PM > To: Wu, Jingjing ; Zhang, Yuying > > Cc: dev@dpdk.org; Xing, Beilei > Subject: [PATCH v2] net/cpfl: update CP channel API > > From: Beilei Xing > > Update the c

RE: [PATCH] net/cpfl: reset devargs during the first probe

2023-10-11 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Thursday, October 12, 2023 12:47 AM > To: Wu, Jingjing > Cc: dev@dpdk.org; Xing, Beilei > Subject: [PATCH] net/cpfl: reset devargs during the first probe > > From: Beilei Xing > Reset devargs during

RE: [PATCH] raw/ntb: add support for 5th and 6th Gen Intel Xeon

2023-09-15 Thread Wu, Jingjing
> -Original Message- > From: Guo, Junfeng > Sent: Friday, September 15, 2023 3:08 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Guo, Junfeng > Subject: [PATCH] raw/ntb: add support for 5th and 6th Gen Intel Xeon > > Add support for 5th and 6th Gen Intel Xeon S

RE: [PATCH v6 00/10] net/cpfl: support port representor

2023-09-12 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Wednesday, September 13, 2023 1:30 AM > To: Wu, Jingjing > Cc: dev@dpdk.org; Liu, Mingxia ; Xing, Beilei > > Subject: [PATCH v6 00/10] net/cpfl: support port representor > > From: Beilei Xing Acked-by: Jingjing Wu

RE: [PATCH v3 4/9] net/cpfl: setup ctrl path

2023-09-10 Thread Wu, Jingjing
> -Original Message- > From: Qiao, Wenjing > Sent: Wednesday, September 6, 2023 5:34 PM > To: Zhang, Yuying ; dev@dpdk.org; Zhang, Qi Z > ; Wu, Jingjing ; Xing, Beilei > > Cc: Liu, Mingxia ; Qiao, Wenjing > > Subject: [PATCH v3 4/9] net/cpfl: setup ctrl

RE: [PATCH v3 2/9] net/cpfl: add flow json parser

2023-09-10 Thread Wu, Jingjing
> +static int > +cpfl_json_object_to_int(json_object *object, const char *name, int *value) > +{ > + json_object *subobject; > + > + if (!object) { > + PMD_DRV_LOG(ERR, "object doesn't exist."); > + return -EINVAL; > + } > + subobject = json_object_object_get

RE: [PATCH v3 1/9] net/cpfl: parse flow parser file in devargs

2023-09-10 Thread Wu, Jingjing
> -Original Message- > From: Qiao, Wenjing > Sent: Wednesday, September 6, 2023 5:34 PM > To: Zhang, Yuying ; dev@dpdk.org; Zhang, Qi Z > ; Wu, Jingjing ; Xing, Beilei > > Cc: Liu, Mingxia ; Qiao, Wenjing > > Subject: [PATCH v3 1/9] net/cpfl: parse

RE: [PATCH v4 10/10] net/cpfl: support link update for representor

2023-09-08 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Friday, September 8, 2023 7:17 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Liu, Mingxia ; Xing, Beilei > > Subject: [PATCH v4 10/10] net/cpfl: support link update for representor > > From: Beilei Xing &

RE: [PATCH v4 09/10] net/cpfl: create port representor

2023-09-08 Thread Wu, Jingjing
> + /* warning if no match vport detected */ > + if (!matched) > + PMD_INIT_LOG(WARNING, "No matched vport for > representor %s " > + "creation will be deferred when > vport is detected", > +

RE: [PATCH v4 08/10] net/cpfl: support vport list/info get

2023-09-08 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Friday, September 8, 2023 7:17 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Liu, Mingxia ; Xing, Beilei > > Subject: [PATCH v4 08/10] net/cpfl: support vport list/info get > > From: Beilei Xing

RE: [PATCH v4 03/10] net/cpfl: refine handle virtual channel message

2023-09-08 Thread Wu, Jingjing
> -static struct idpf_vport * > +static struct cpfl_vport * > cpfl_find_vport(struct cpfl_adapter_ext *adapter, uint32_t vport_id) > { > - struct idpf_vport *vport = NULL; > + struct cpfl_vport *vport = NULL; > int i; > > for (i = 0; i < adapter->cur_vport_nb; i++) { > -

RE: [PATCH v4 02/10] net/cpfl: introduce interface structure

2023-09-08 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Friday, September 8, 2023 7:17 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Liu, Mingxia ; Xing, Beilei > ; Zhang, Qi Z > Subject: [PATCH v4 02/10] net/cpfl: introduce interface structure > > From: Beile

RE: [PATCH v2] net/i40e: fix FDIR Rxq receives broadcast packets

2023-07-20 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Friday, July 21, 2023 1:35 PM > To: Wu, Jingjing ; Zhang, Yuying > > Cc: dev@dpdk.org; Xing, Beilei ; sta...@dpdk.org > Subject: [PATCH v2] net/i40e: fix FDIR Rxq receives broadcast packets > > From: Be

RE: [PATCH] doc: update BIOS setting and supported HW list for NTB

2023-07-03 Thread Wu, Jingjing
> -Original Message- > From: Guo, Junfeng > Sent: Monday, July 3, 2023 5:25 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; sta...@dpdk.org; Guo, Junfeng > Subject: [PATCH] doc: update BIOS setting and supported HW list for NTB > > Update BIOS settings and supported

RE: [PATCH] net/cpfl: fix RSS lookup table configuration

2023-07-03 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Monday, July 3, 2023 7:28 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Xing, Beilei > Subject: [PATCH] net/cpfl: fix RSS lookup table configuration > > From: Beilei Xing > > Ethdev Rx queues includes

RE: [PATCH v2] raw/ntb: add check for disabling interrupt in dev close ops

2023-07-02 Thread Wu, Jingjing
> -Original Message- > From: Guo, Junfeng > Sent: Wednesday, June 28, 2023 5:12 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; sta...@dpdk.org; He, Xingguang ; > Laatz, Kevin > ; Guo, Junfeng > Subject: [PATCH v2] raw/ntb: add check for disabling interrupt in dev

RE: [PATCH] doc: update release notes for Intel IPU

2023-07-02 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Wednesday, June 28, 2023 11:39 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Xing, Beilei > Subject: [PATCH] doc: update release notes for Intel IPU > > From: Beilei Xing > > Update release no

RE: [PATCH] net/cpfl: fix fail to re-configure RSS

2023-06-16 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Friday, June 16, 2023 8:00 PM > To: Wu, Jingjing ; Zhang, Yuying > > Cc: dev@dpdk.org; Xing, Beilei > Subject: [PATCH] net/cpfl: fix fail to re-configure RSS > > From: Beilei Xing > > Currently

RE: [PATCH v10 00/14] net/cpfl: add hairpin queue support

2023-06-05 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Tuesday, June 6, 2023 6:03 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Liu, Mingxia ; Xing, Beilei > > Subject: [PATCH v10 00/14] net/cpfl: add hairpin queue support > > From: Beilei Xing > > This pa

RE: [PATCH v8 12/14] net/cpfl: support peer ports get

2023-06-05 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Monday, June 5, 2023 2:17 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Liu, Mingxia ; Xing, Beilei > ; Wang, Xiao W > Subject: [PATCH v8 12/14] net/cpfl: support peer ports get > > From: Beilei Xing > >

RE: [PATCH v8 03/14] net/cpfl: add haipin queue group during vport init

2023-06-05 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Monday, June 5, 2023 2:17 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Liu, Mingxia ; Xing, Beilei > > Subject: [PATCH v8 03/14] net/cpfl: add haipin queue group during vport init > > From: Beilei Xing >

RE: [PATCH v3 09/10] net/cpfl: support peer ports get

2023-05-24 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Friday, May 19, 2023 3:31 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Liu, Mingxia ; Xing, Beilei > ; Wang, Xiao W > Subject: [PATCH v3 09/10] net/cpfl: support peer ports get > > From: Beilei Xing > >

RE: [PATCH v3 08/10] net/cpfl: enable write back based on ITR expire

2023-05-24 Thread Wu, Jingjing
> idpf_vport_irq_unmap_config(struct idpf_vport *vport, uint16_t nb_rx_queues) > { > diff --git a/drivers/common/idpf/idpf_common_device.h > b/drivers/common/idpf/idpf_common_device.h > index 112367dae8..f767ea7cec 100644 > --- a/drivers/common/idpf/idpf_common_device.h > +++ b/drivers/common/idp

RE: [PATCH v3 07/10] net/cpfl: support hairpin queue start/stop

2023-05-24 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Friday, May 19, 2023 3:31 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Liu, Mingxia ; Xing, Beilei > ; Wang, Xiao W > Subject: [PATCH v3 07/10] net/cpfl: support hairpin queue start/stop > > From: Beilei Xin

RE: [PATCH v3 05/10] net/cpfl: support hairpin queue setup and release

2023-05-24 Thread Wu, Jingjing
> > +static int > +cpfl_rx_hairpin_bufq_setup(struct rte_eth_dev *dev, struct idpf_rx_queue > *bufq, > +uint16_t logic_qid, uint16_t nb_desc) > +{ > + struct cpfl_vport *cpfl_vport = > + (struct cpfl_vport *)dev->data->dev_private; > + struct idpf_vport *vp

RE: [PATCH v3 04/10] net/cpfl: add haipin queue group during vport init

2023-05-24 Thread Wu, Jingjing
> static int > cpfl_dev_vport_init(struct rte_eth_dev *dev, void *init_params) > { > @@ -1306,6 +1414,8 @@ cpfl_dev_vport_init(struct rte_eth_dev *dev, void > *init_params) > struct cpfl_adapter_ext *adapter = param->adapter; > /* for sending create vport virtchnl msg prepare */ >

RE: [PATCH v3 02/10] net/cpfl: support hairpin queue capbility get

2023-05-24 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Friday, May 19, 2023 3:31 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Liu, Mingxia ; Xing, Beilei > ; Wang, Xiao W > Subject: [PATCH v3 02/10] net/cpfl: support hairpin queue capbility get > > From: Beilei

RE: [PATCH v5] common/idpf: refine capability get

2023-04-25 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Monday, April 24, 2023 4:08 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Xing, Beilei > Subject: [PATCH v5] common/idpf: refine capability get > > From: Beilei Xing > > Initialize required

RE: [PATCH v4] net/idpf: add VF support

2023-04-25 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Monday, April 24, 2023 8:45 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Xing, Beilei > Subject: [PATCH v4] net/idpf: add VF support > > From: Beilei Xing > > Support VF whose device id is 0x145c. &

RE: [PATCH] net/idpf: refine devargs parse functions

2023-04-23 Thread Wu, Jingjing
> -Original Message- > From: Liu, Mingxia > Sent: Friday, April 21, 2023 3:15 PM > To: dev@dpdk.org > Cc: Wu, Jingjing ; Xing, Beilei > ; Liu, Mingxia > > Subject: [PATCH] net/idpf: refine devargs parse functions > > This patch refines devargs p

RE: [PATCH v4 1/2] common/idpf: move PF specific functions from common init

2023-04-23 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Thursday, April 6, 2023 3:43 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Xing, Beilei > Subject: [PATCH v4 1/2] common/idpf: move PF specific functions from common > init > > From: Beilei Xing >

RE: [PATCH] common/idpf: fix Rx queue configuration

2023-02-22 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Thursday, February 23, 2023 11:17 AM > To: Wu, Jingjing > Cc: dev@dpdk.org; Xing, Beilei ; sta...@dpdk.org > Subject: [PATCH] common/idpf: fix Rx queue configuration > > From: Beilei Xing > > IDPF

RE: [PATCH v6 0/6] add idpf pmd enhancement features

2023-02-07 Thread Wu, Jingjing
> -Original Message- > From: Liu, Mingxia > Sent: Tuesday, February 7, 2023 6:17 PM > To: dev@dpdk.org; Zhang, Qi Z ; Wu, Jingjing > ; Xing, Beilei > Cc: Liu, Mingxia > Subject: [PATCH v6 0/6] add idpf pmd enhancement features > > This patchset add seve

RE: [PATCH v3 5/6] common/idpf: add alarm to support handle vchnl message

2023-02-02 Thread Wu, Jingjing
> > > + > > > new_link.link_duplex = RTE_ETH_LINK_FULL_DUPLEX; > > > + new_link.link_status = vport->link_up ? RTE_ETH_LINK_UP : > > > + RTE_ETH_LINK_DOWN; > > > new_link.link_autoneg = !(dev->data->dev_conf.link_speeds & > > > RTE_ETH_LINK_SPEED_FIXED); > >

RE: [PATCH v3 5/6] common/idpf: add alarm to support handle vchnl message

2023-02-01 Thread Wu, Jingjing
> @@ -83,12 +84,49 @@ static int > idpf_dev_link_update(struct rte_eth_dev *dev, >__rte_unused int wait_to_complete) > { > + struct idpf_vport *vport = dev->data->dev_private; > struct rte_eth_link new_link; > > memset(&new_link, 0, sizeof(new_link)); > > -

RE: [PATCH v3 3/6] common/idpf: support single q scatter RX datapath

2023-02-01 Thread Wu, Jingjing
> > +uint16_t > +idpf_singleq_recv_scatter_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, > +uint16_t nb_pkts) > +{ > + struct idpf_rx_queue *rxq = rx_queue; > + volatile union virtchnl2_rx_desc *rx_ring = rxq->rx_ring; > + volatile union virtchnl2_rx_desc

RE: [PATCH v3 2/6] common/idpf: add RSS set/get ops

2023-02-01 Thread Wu, Jingjing
> +static int idpf_config_rss_hf(struct idpf_vport *vport, uint64_t rss_hf) > +{ > + uint64_t hena = 0, valid_rss_hf = 0; According to the coding style, only the last variable on a line should be initialized. > + int ret = 0; > + uint16_t i; > + > + /** > + * RTE_ETH_RSS_IPV4

RE: [PATCH v3 1/6] common/idpf: add hw statistics

2023-02-01 Thread Wu, Jingjing
> @@ -327,6 +407,11 @@ idpf_dev_start(struct rte_eth_dev *dev) > goto err_vport; > } > > + if (idpf_dev_stats_reset(dev)) { > + PMD_DRV_LOG(ERR, "Failed to reset stats"); > + goto err_vport; If stats reset fails, will block the start process and rol

RE: [PATCH v4 09/15] common/idpf: add vport info initialization

2023-01-31 Thread Wu, Jingjing
> +int > +idpf_create_vport_info_init(struct idpf_vport *vport, > + struct virtchnl2_create_vport *vport_info) > +{ > + struct idpf_adapter *adapter = vport->adapter; > + > + vport_info->vport_type = rte_cpu_to_le_16(VIRTCHNL2_VPORT_TYPE_DEFAULT); > + if (adapter

RE: [PATCH v4 07/15] common/idpf: add irq map/unmap

2023-01-31 Thread Wu, Jingjing
> @@ -247,8 +247,21 @@ idpf_vport_init(struct idpf_vport *vport, > goto err_rss_lut; > } > > + /* recv_vectors is used for VIRTCHNL2_OP_ALLOC_VECTORS response, > + * reserve maximum size for it now, may need optimization in future. > + */ > + vport->recv_vecto

RE: [PATCH] net/iavf:fix slow memory allocation

2022-12-08 Thread Wu, Jingjing
> -Original Message- > From: You, KaisenX > Sent: Thursday, November 17, 2022 2:57 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Yang, Qiming ; Zhou, YidingX > ; You, KaisenX ; Wu, Jingjing > ; Xing, Beilei ; Zhang, Qi Z > > Subject: [PATCH] net/iavf:fix slo

RE: Building DPDK with IOVA_AS_VA

2022-12-06 Thread Wu, Jingjing
Yes, thanks for the suggestion. > -Original Message- > From: Shijith Thotton > Sent: Wednesday, December 7, 2022 3:16 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Morten Brørup ; Richardson, > Bruce > > Subject: RE: Building DPDK with IOVA_AS_VA &g

RE: Building DPDK with IOVA_AS_VA

2022-12-06 Thread Wu, Jingjing
I guess driver may not handle the attribute enable_iova_as_pa well right now. Maybe you can have a try by disabling idpf driver by adding "-Ddisable_drivers=net/idpf". > -Original Message- > From: Morten Brørup > Sent: Wednesday, December 7, 2022 2:55 AM > To:

RE: [PATCH] net/idpf: add supported ptypes get

2022-11-17 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Friday, November 18, 2022 11:51 AM > To: Wu, Jingjing > Cc: dev@dpdk.org; Peng, Yuan ; Xing, Beilei > > Subject: [PATCH] net/idpf: add supported ptypes get > > From: Beilei Xing > > Failed to laun

RE: [PATCH v2] net/idpf: fix crash when launching l3fwd

2022-11-17 Thread Wu, Jingjing
> - > if (conf->txmode.mq_mode != RTE_ETH_MQ_TX_NONE) { > PMD_INIT_LOG(ERR, "Multi-queue TX mode %d is not supported", >conf->txmode.mq_mode); > diff --git a/drivers/net/idpf/idpf_vchnl.c b/drivers/net/idpf/idpf_vchnl.c > index ac6486d4ef..88770447f8

RE: [PATCH v2] raw/ntb: add PPD status check for SPR

2022-07-01 Thread Wu, Jingjing
> -Original Message- > From: Guo, Junfeng > Sent: Thursday, June 30, 2022 4:56 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Guo, Junfeng > Subject: [PATCH v2] raw/ntb: add PPD status check for SPR > > Add PPD (PCIe Port Definition) status check for SPR (Sapphire

RE: [PATCH v4] raw/ntb: clear all valid DB bits when DB init

2022-02-09 Thread Wu, Jingjing
> -Original Message- > From: Guo, Junfeng > Sent: Thursday, February 10, 2022 3:07 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; sta...@dpdk.org; Guo, Junfeng > Subject: [PATCH v4] raw/ntb: clear all valid DB bits when DB init > > Before registering the do

RE: [PATCH] raw/ntb: add check for DB intr handler registering

2022-02-09 Thread Wu, Jingjing
> -Original Message- > From: Guo, Junfeng > Sent: Thursday, February 10, 2022 2:29 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; sta...@dpdk.org; Guo, Junfeng > Subject: [PATCH] raw/ntb: add check for DB intr handler registering > > The callback registering of do

RE: [PATCH v3] raw/ntb: clear all valid DB bits when DB init

2022-02-09 Thread Wu, Jingjing
> -Original Message- > From: Guo, Junfeng > Sent: Wednesday, February 9, 2022 12:47 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; sta...@dpdk.org; Guo, Junfeng > Subject: [PATCH v3] raw/ntb: clear all valid DB bits when DB init > > Before registering the do

Re: [dpdk-dev] [PATCH v8 6/7] net/iavf: add watchdog for VFLR

2021-10-17 Thread Wu, Jingjing
> -Original Message- > From: Nicolau, Radu > Sent: Friday, October 15, 2021 6:15 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Doherty, Declan ; Sinha, Abhijit > ; Zhang, Qi Z ; Richardson, > Bruce > ; Ananyev, Konstantin > ; > Nicolau, Radu

Re: [dpdk-dev] [PATCH v4 6/6] net/iavf: add watchdog for VFLR

2021-10-07 Thread Wu, Jingjing
> > Besides checking VFGEN_RSTAT, there is a process to handle > VIRTCHNL_OP_EVENT from PF. What is the change for? Any scenario which > VIRTCHNL_OP_EVENT doesn't cover? > > And how is the 500us been determined? > > Hi Jingjing, thanks for reviewing, I think this can be handled with the > VIRTCH

Re: [dpdk-dev] [PATCH v4 6/6] net/iavf: add watchdog for VFLR

2021-10-03 Thread Wu, Jingjing
> -Original Message- > From: Nicolau, Radu > Sent: Friday, October 1, 2021 5:52 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Doherty, Declan ; Sinha, Abhijit > ; Zhang, Qi Z ; Richardson, > Bruce > ; Ananyev, Konstantin > ; > Nicolau, Radu

Re: [dpdk-dev] [PATCH v4 5/6] net/iavf: add xstats support for inline IPsec crypto

2021-10-03 Thread Wu, Jingjing
> -Original Message- > From: Nicolau, Radu > Sent: Friday, October 1, 2021 5:51 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Doherty, Declan ; Sinha, Abhijit > ; Zhang, Qi Z ; Richardson, > Bruce > ; Ananyev, Konstantin > ; > Nicolau, Radu

Re: [dpdk-dev] [PATCH v4 4/6] net/iavf: add iAVF IPsec inline crypto support

2021-10-03 Thread Wu, Jingjing
> -Original Message- > From: Nicolau, Radu > Sent: Friday, October 1, 2021 5:51 PM > To: Wu, Jingjing ; Xing, Beilei > ; Ray Kinsella > > Cc: dev@dpdk.org; Doherty, Declan ; Sinha, Abhijit > ; Zhang, Qi Z ; Richardson, > Bruce > ; Ananyev, Konstantin

Re: [dpdk-dev] [PATCH v4 3/6] net/iavf: add support for asynchronous virt channel messages

2021-10-03 Thread Wu, Jingjing
> -Original Message- > From: Nicolau, Radu > Sent: Friday, October 1, 2021 5:51 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Doherty, Declan ; Sinha, Abhijit > ; Zhang, Qi Z ; Richardson, > Bruce > ; Ananyev, Konstantin > ; > Nicolau, Radu

Re: [dpdk-dev] [PATCH v4 2/6] net/iavf: rework tx path

2021-10-03 Thread Wu, Jingjing
> -Original Message- > From: Nicolau, Radu > Sent: Friday, October 1, 2021 5:51 PM > To: Wu, Jingjing ; Xing, Beilei > ; Richardson, > Bruce ; Ananyev, Konstantin > > Cc: dev@dpdk.org; Doherty, Declan ; Sinha, Abhijit > ; Zhang, Qi Z ; Nicolau, Radu >

Re: [dpdk-dev] Not able to start IAVF PMD with dpdk 20.11.3

2021-09-23 Thread Wu, Jingjing
Could you have a try to switch from uio_pci_generic to vfio_pci? From: Dey, Souvik Sent: Thursday, September 23, 2021 11:29 PM To: dev@dpdk.org; Xing, Beilei ; Wu, Jingjing Subject: Not able to start IAVF PMD with dpdk 20.11.3 Hi All, Trying to test E810 Sr-IOV based nic card with

Re: [dpdk-dev] [PATCH v2 2/4] net/iavf: add iAVF IPsec inline crypto support

2021-09-17 Thread Wu, Jingjing
In general, the patch is too big to review. Patch split would help a lot! [...] > +static const struct rte_cryptodev_symmetric_capability * > +get_capability(struct iavf_security_ctx *iavf_sctx, > + uint32_t algo, uint32_t type) > +{ > + const struct rte_cryptodev_capabilities *capability;

Re: [dpdk-dev] [PATCH] net/iavf: remove interrupt handler

2021-08-12 Thread Wu, Jingjing
> > -Original Message- > > From: Zhang, RobinX > > Sent: Friday, July 23, 2021 3:47 PM > > To: dev@dpdk.org > > Cc: Wu, Jingjing ; Xing, Beilei > > ; Zhang, Qi Z ; Guo, > > Junfeng ; Yang, SteveX > ; > > Zhang, RobinX > > Subjec

Re: [dpdk-dev] [PATCH] net/iavf: fix Rx issue for scalar Rx functions

2021-05-31 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Tuesday, June 1, 2021 1:10 PM > To: Wu, Jingjing ; Zhang, Qi Z > Cc: dev@dpdk.org; Xing, Beilei ; sta...@dpdk.org > Subject: [PATCH] net/iavf: fix Rx issue for scalar Rx functions > > From: Beilei Xing >

Re: [dpdk-dev] [PATCH v3 5/5] net/iavf: fix vector mapping with queue

2021-01-11 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Tuesday, January 12, 2021 2:11 PM > To: Wu, Jingjing ; dev@dpdk.org > Cc: Xia, Chenbo ; Lu, Xiuchun > > Subject: RE: [PATCH v3 5/5] net/iavf: fix vector mapping with queue > > Seems the patch is

Re: [dpdk-dev] [PATCH] net/iavf: fix vector id assignment

2021-01-11 Thread Wu, Jingjing
> -Original Message- > From: Xu, Ting > Sent: Tuesday, January 12, 2021 2:27 PM > To: Yu, DapengX ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, Beilei > > Cc: dev@dpdk.org; Yu, DapengX ; sta...@dpdk.org > Subject: RE: [PATCH] net/iavf: fix vector id assignment >

Re: [dpdk-dev] [PATCH v2 4/8] emu/iavf: add vfio-user device register and unregister

2021-01-05 Thread Wu, Jingjing
> +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

Re: [dpdk-dev] [PATCH v2 4/8] emu/iavf: add vfio-user device register and unregister

2021-01-03 Thread Wu, Jingjing
> +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

Re: [dpdk-dev] [PATCH 5/9] vfio_user: implement interrupt related APIs

2020-12-29 Thread Wu, Jingjing
> if ((cmd == VFIO_USER_DMA_MAP || cmd == VFIO_USER_DMA_UNMAP > || > + cmd == VFIO_USER_DEVICE_SET_IRQS || > cmd == VFIO_USER_DEVICE_RESET) > && dev->ops->lock_dp) { > dev->ops->lock_dp(dev_id, 1); About cmd "VFIO_USER_REGION_WRITE", irq

Re: [dpdk-dev] [PATCH v2 5/8] emu/iavf: add resource management and internal logic of iavf

2020-12-28 Thread Wu, Jingjing
> +static ssize_t iavf_emu_bar0_rw(struct rte_vfio_user_reg_info *reg, char > *buf, > + size_t count, loff_t pos, bool iswrite) { > + struct iavf_emudev *dev = (struct iavf_emudev *)reg->priv; > + char *reg_pos; > + > + if (!reg->base) { > + EMU_IAVF_LOG(ERR, "BAR 0 does

Re: [dpdk-dev] [PATCH v1] net/iavf: fix cannot release mbufs issue

2020-11-10 Thread Wu, Jingjing
> -Original Message- > From: Xu, Ting > Sent: Wednesday, November 11, 2020 11:07 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Xing, Beilei ; > Wu, Jingjing ; Xu, Ting ; > sta...@dpdk.org > Subject: [PATCH v1] net/iavf: fix cannot release mbufs is

Re: [dpdk-dev] [PATCH v4] raw/ntb: add Ice Lake support for Intel NTB

2020-09-07 Thread Wu, Jingjing
> -Original Message- > From: Li, Xiaoyun > Sent: Tuesday, September 8, 2020 11:28 AM > To: Wu, Jingjing > Cc: dev@dpdk.org; Maslekar, Omkar ; Li, > Xiaoyun > Subject: [PATCH v4] raw/ntb: add Ice Lake support for Intel NTB > > Add NTB device support (4t

Re: [dpdk-dev] [PATCH v3] raw/ntb: add Icelake support for Intel NTB

2020-09-07 Thread Wu, Jingjing
> > > - rte_write64(limit, limit_addr); > > > + if (is_gen3_ntb(hw)) { > > > + /* Setup the external point so that remote can access. */ > > > + xlat_off = XEON_EMBAR1_OFFSET + 8 * mw_idx; > > > + xlat_addr = hw->hw_addr + xlat_off; > > > + limit_off = XEON_EMBAR1XLM

Re: [dpdk-dev] [PATCH v3] raw/ntb: add Icelake support for Intel NTB

2020-09-07 Thread Wu, Jingjing
> + > +static int > +intel_ntb_dev_init(const struct rte_rawdev *dev) { > + struct ntb_hw *hw = dev->dev_private; > + uint8_t bar; > + int ret, i; > + > + if (hw == NULL) { > + NTB_LOG(ERR, "Invalid device."); > + return -EINVAL; > + } > + > hw->hw_

Re: [dpdk-dev] [PATCH 7/7] net/iavf: fix port close

2020-08-11 Thread Wu, Jingjing
: Yang, SteveX > Sent: Tuesday, August 11, 2020 3:59 PM > To: Wu, Jingjing ; Xing, Beilei > ; dev@dpdk.org > Cc: Yang, Qiming ; Yang, SteveX > > Subject: [PATCH 7/7] net/iavf: fix port close > > Port reset will call iavf_dev_uninit() to release resources. It wants to call

Re: [dpdk-dev] [PATCH V4 2/4] net/i40e: FDIR flow memory management optimization

2020-07-16 Thread Wu, Jingjing
> -Original Message- > From: Sun, Chenmin > Sent: Thursday, July 16, 2020 3:53 AM > To: Zhang, Qi Z ; Xing, Beilei ; > Wu, > Jingjing ; Wang, Haiyue > Cc: dev@dpdk.org; Sun, Chenmin > Subject: [PATCH V4 2/4] net/i40e: FDIR flow memory management optimizatio

Re: [dpdk-dev] [PATCH V4 4/4] net/i40e: FDIR update rate optimization

2020-07-16 Thread Wu, Jingjing
[...] > +static inline unsigned char * > +i40e_find_available_buffer(struct rte_eth_dev *dev) > +{ > + struct i40e_pf *pf = I40E_DEV_PRIVATE_TO_PF(dev->data->dev_private); > + struct i40e_fdir_info *fdir_info = &pf->fdir; > + struct i40e_tx_queue *txq = pf->fdir.txq; > + volatile

Re: [dpdk-dev] [PATCH V4 1/4] net/i40e: introducing the fdir space tracking

2020-07-16 Thread Wu, Jingjing
> -Original Message- > From: Sun, Chenmin > Sent: Thursday, July 16, 2020 3:53 AM > To: Zhang, Qi Z ; Xing, Beilei ; > Wu, > Jingjing ; Wang, Haiyue > Cc: dev@dpdk.org; Sun, Chenmin > Subject: [PATCH V4 1/4] net/i40e: introducing the fdir space trackin

Re: [dpdk-dev] [PATCH 3/3] maintainers: update for driver testing tool

2020-04-26 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Sunday, April 26, 2020 4:22 PM > To: dev@dpdk.org; Wu, Jingjing ; Lu, Wenzhuo > ; Zhang, Qi Z > Subject: [PATCH 3/3] maintainers: update for driver testing tool > > Replace Jingjing Wu with Beilei Xing. > &

Re: [dpdk-dev] [dpdk-stable] [PATCH v2 2/2] examples/vmdq: fix RSS configuration

2020-04-02 Thread Wu, Jingjing
> > > + rss_hf_tmp = port_conf.rx_adv_conf.rss_conf.rss_hf; > > > + port_conf.rx_adv_conf.rss_conf.rss_hf &= > > > + dev_info.flow_type_rss_offloads; > > > + if (port_conf.rx_adv_conf.rss_conf.rss_hf != rss_hf_tmp) { > > > + printf("Port %u modified RSS hash function based on hardwa

Re: [dpdk-dev] [PATCH v2 1/2] doc: add user guide for VMDq

2020-04-02 Thread Wu, Jingjing
> -Original Message- > From: dev On Behalf Of Junyu Jiang > Sent: Wednesday, March 25, 2020 2:33 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Yigit, Ferruh > ; Jiang, > JunyuX > Subject: [dpdk-dev] [PATCH v2 1/2] doc: add user guide for VMDq > > currently, there is no documentation for

Re: [dpdk-dev] [PATCH v2 2/2] examples/vmdq: fix RSS configuration

2020-04-02 Thread Wu, Jingjing
> -Original Message- > From: dev On Behalf Of Junyu Jiang > Sent: Wednesday, March 25, 2020 2:33 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Yigit, Ferruh > ; Jiang, > JunyuX ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v2 2/2] examples/vmdq: fix RSS configuration > > In order that al

Re: [dpdk-dev] [PATCH 07/12] net/iavf: add flow director enabled switch value

2020-03-25 Thread Wu, Jingjing
-Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Leyi Rong Sent: Monday, March 16, 2020 3:46 PM To: Zhang, Qi Z ; Ye, Xiaolong Cc: dev@dpdk.org; Rong, Leyi Subject: [dpdk-dev] [PATCH 07/12] net/iavf: add flow director enabled switch value The commit adds fdir_e

Re: [dpdk-dev] [PATCH 04/12] net/iavf: flexible Rx descriptor support in normal path

2020-03-25 Thread Wu, Jingjing
One general comment: Looks like there are exact same code comparing with legacy rx, such as logic to update tail, multi-segments loop. It will be good if all the common code can be wrapped and use for multi recv functions [...] +/* Get the number of used descriptors of a rx queue for flexible R

Re: [dpdk-dev] [PATCH v4 1/7] net/iavf: stop the PCI probe in DCF mode

2020-03-25 Thread Wu, Jingjing
-Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Haiyue Wang Sent: Thursday, March 26, 2020 11:04 AM To: dev@dpdk.org; Ye, Xiaolong ; Zhang, Qi Z ; Yang, Qiming ; Xing, Beilei Cc: Zhao1, Wei ; Wang, Haiyue Subject: [dpdk-dev] [PATCH v4 1/7] net/iavf: stop the P

Re: [dpdk-dev] [PATCH] net/iavf: enable port reset

2020-03-25 Thread Wu, Jingjing
-Original Message- From: Cui, LunyuanX Sent: Wednesday, March 25, 2020 10:48 AM To: dev@dpdk.org Cc: Wu, Jingjing ; Yang, Qiming ; Cui, LunyuanX Subject: [PATCH] net/iavf: enable port reset This patch is intended to add iavf_dev_reset ops, enable iavf to support "port rese

Re: [dpdk-dev] [PATCH] net/iavf: unify Rx ptype table

2020-03-24 Thread Wu, Jingjing
> -Original Message- > From: Wang, ShougangX > Sent: Friday, March 6, 2020 10:24 AM > To: dev@dpdk.org > Cc: Rong, Leyi ; Wu, Jingjing ; > Wang, > ShougangX > Subject: [PATCH] net/iavf: unify Rx ptype table > > From: Wang Shougang Acked-by: Jingjing Wu

Re: [dpdk-dev] [PATCH] net/iavf: unify Rx ptype table

2020-03-23 Thread Wu, Jingjing
> -Original Message- > From: Wang, ShougangX > Sent: Monday, March 23, 2020 4:16 PM > To: Wu, Jingjing ; dev@dpdk.org > Cc: Rong, Leyi > Subject: RE: [PATCH] net/iavf: unify Rx ptype table > > > -Original Message- > > From: Wu, Jingjing >

Re: [dpdk-dev] [PATCH] net/iavf: unify Rx ptype table

2020-03-22 Thread Wu, Jingjing
-Original Message- From: Wang, ShougangX Sent: Friday, March 6, 2020 10:24 AM To: dev@dpdk.org Cc: Rong, Leyi ; Wu, Jingjing ; Wang, ShougangX Subject: [PATCH] net/iavf: unify Rx ptype table From: Wang Shougang This patch unified the Rx ptype table. Signed-off-by: Wang Shougang

Re: [dpdk-dev] [PATCH v1 1/4] net/iavf: stop the PCI probe in DCF mode

2020-03-22 Thread Wu, Jingjing
+static int +handle_dcf_arg(__rte_unused const char *key, const char *value, + __rte_unused void *arg) __rte_unused is not needed here. +{ + bool *dcf = arg; + + if (arg == NULL || value == NULL) + return -EINVAL; + + if (strcmp(value, "dcf") == 0) +

Re: [dpdk-dev] [PATCH] net/ice: correct VSI context

2019-12-29 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Saturday, December 14, 2019 2:14 PM > To: Wu, Jingjing ; dev@dpdk.org; Zhang, Qi Z > > Cc: sta...@dpdk.org > Subject: [PATCH] net/ice: correct VSI context > > There'll always be a MDD event triggere

Re: [dpdk-dev] [PATCH] raw/ntb: fix write memory barrier issue

2019-12-25 Thread Wu, Jingjing
> -Original Message- > From: Li, Xiaoyun > Sent: Wednesday, December 4, 2019 11:19 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Li, Xiaoyun ; sta...@dpdk.org > Subject: [PATCH] raw/ntb: fix write memory barrier issue > > All buffers and ring info should be writ

Re: [dpdk-dev] [PATCH] doc: fix a typo in ntb guide

2019-12-22 Thread Wu, Jingjing
> -Original Message- > From: Li, Xiaoyun > Sent: Wednesday, December 4, 2019 11:20 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Li, Xiaoyun ; sta...@dpdk.org > Subject: [PATCH] doc: fix a typo in ntb guide > > In prerequisites of ntb guide, the correct flag when

Re: [dpdk-dev] [PATCH v2] raw/ntb: fix write memory barrier issue

2019-12-22 Thread Wu, Jingjing
> -Original Message- > From: Li, Xiaoyun > Sent: Monday, December 16, 2019 9:59 AM > To: Wu, Jingjing > Cc: dev@dpdk.org; Maslekar, Omkar ; Li, Xiaoyun > ; sta...@dpdk.org > Subject: [PATCH v2] raw/ntb: fix write memory barrier issue > > All buffers and

Re: [dpdk-dev] [PATCH v2] net/iavf: fix Rx total stats

2019-12-12 Thread Wu, Jingjing
> -Original Message- > From: Min, JiaqiX > Sent: Friday, December 13, 2019 9:23 AM > To: dev@dpdk.org > Cc: Wu, Jingjing ; Yang, Qiming > ; Min, JiaqiX > ; sta...@dpdk.org > Subject: [PATCH v2] net/iavf: fix Rx total stats > > Rx total stats is th

Re: [dpdk-dev] [PATCH v6 0/4] enable FIFO for NTB

2019-09-25 Thread Wu, Jingjing
> -Original Message- > From: Li, Xiaoyun > Sent: Thursday, September 26, 2019 11:20 AM > To: Wu, Jingjing ; Wiles, Keith > ; Maslekar, > Omkar ; Liang, Cunming > Cc: dev@dpdk.org; Li, Xiaoyun > Subject: [PATCH v6 0/4] enable FIFO for NTB > > Enable

Re: [dpdk-dev] [PATCH v4 4/4] examples/ntb: support more functions for NTB

2019-09-23 Thread Wu, Jingjing
<...> > +* ``--qp=N`` > + > + Set the number of queues as N, where qp > 0. The default value is 1? <...> > + > + /* Set default fwd mode if user doesn't set it. */ > + if (fwd_mode == MAX_FWD_MODE && eth_port_id < RTE_MAX_ETHPORTS) { > + printf("Set default fwd mode as iofwd

Re: [dpdk-dev] [PATCH v4 3/4] raw/ntb: add enqueue and dequeue functions

2019-09-22 Thread Wu, Jingjing
> -Original Message- > From: Li, Xiaoyun > Sent: Monday, September 9, 2019 11:27 AM > To: Wu, Jingjing ; Wiles, Keith > ; Maslekar, > Omkar ; Liang, Cunming > Cc: dev@dpdk.org; Li, Xiaoyun > Subject: [PATCH v4 3/4] raw/ntb: add enqueue and dequeue functions &g

Re: [dpdk-dev] [PATCH v4 2/4] raw/ntb: add xstats support

2019-09-22 Thread Wu, Jingjing
> static int > -ntb_xstats_reset(struct rte_rawdev *dev __rte_unused, > - const uint32_t ids[] __rte_unused, > - uint32_t nb_ids __rte_unused) > +ntb_xstats_reset(struct rte_rawdev *dev, > + const uint32_t ids[], > + uint32_t nb_ids) > { > -

Re: [dpdk-dev] [PATCH v4 1/4] raw/ntb: setup ntb queue

2019-09-22 Thread Wu, Jingjing
<...> > +static void > +ntb_rxq_release(struct ntb_rx_queue *rxq) > +{ > + if (!rxq) { > + NTB_LOG(ERR, "Pointer to rxq is NULL"); > + return; > + } > + > + ntb_rxq_release_mbufs(rxq); > + > + rte_free(rxq->sw_ring); > + rte_free(rxq); It' better to free

Re: [dpdk-dev] [RFC] ethdev: support hairpin queue

2019-09-05 Thread Wu, Jingjing
Hi, Ori Thanks for the explanation. I have more question below. Thanks Jingjing > -Original Message- > From: Ori Kam [mailto:or...@mellanox.com] > Sent: Thursday, September 5, 2019 1:45 PM > To: Wu, Jingjing ; Thomas Monjalon > ; > Yigit, Ferruh ; arybche...@sola

Re: [dpdk-dev] [RFC] ethdev: support hairpin queue

2019-09-04 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ori Kam > Sent: Tuesday, August 13, 2019 9:38 PM > To: tho...@monjalon.net; Yigit, Ferruh ; > arybche...@solarflare.com; shah...@mellanox.com; viachesl...@mellanox.com; > al...@mellanox.com > Cc: dev@dpdk.org; or.

  1   2   3   4   5   6   7   >