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

2023-05-25 Thread Xing, Beilei
> -Original Message- > From: Wu, Jingjing > Sent: Thursday, May 25, 2023 11:59 AM > To: Xing, Beilei > Cc: dev@dpdk.org; Liu, Mingxia ; Wang, Xiao W > > Subject: RE: [PATCH v3 05/10] net/cpfl: support hairpin queue setup and > releas

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

2023-05-25 Thread Xing, Beilei
> -Original Message- > From: Liu, Mingxia > Sent: Wednesday, May 24, 2023 5:02 PM > To: Xing, Beilei ; Wu, Jingjing > Cc: dev@dpdk.org; Wang, Xiao W > Subject: RE: [PATCH v3 05/10] net/cpfl: support hairpin queue setup and > release > > > +cpfl

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 05/10] net/cpfl: support hairpin queue setup and release

2023-05-24 Thread Liu, Mingxia
vport- > >p2p_q_chunks_info.tx_qtail_start, > + logic_qid, cpfl_vport- > >p2p_q_chunks_info.tx_qtail_spacing); > + txq->ops = &def_txq_ops; > + > + if (cpfl_vport->p2p_tx_complq == NULL) { [Liu, Mingxia] In cpfl_rx_hairpin_queue

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

2023-05-19 Thread beilei . xing
From: Beilei Xing Support hairpin Rx/Tx queue setup and release. Signed-off-by: Xiao Wang Signed-off-by: Mingxia Liu Signed-off-by: Beilei Xing --- drivers/net/cpfl/cpfl_ethdev.c | 6 + drivers/net/cpfl/cpfl_ethdev.h | 12 + drivers/net/cpfl/cpfl_rxtx.c| 373