> -----Original Message----- > From: Wu, Jingjing <jingjing...@intel.com> > Sent: Thursday, February 2, 2023 11:46 AM > To: Liu, Mingxia <mingxia....@intel.com>; dev@dpdk.org > Cc: Xing, Beilei <beilei.x...@intel.com>; Wu, Wenjun1 > <wenjun1...@intel.com> > Subject: RE: [PATCH v3 3/6] common/idpf: support single q scatter RX > datapath > > > > > +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 *rxdp; > > + union virtchnl2_rx_desc rxd; > > + struct idpf_adapter *ad; > > + struct rte_mbuf *first_seg = rxq->pkt_first_seg; > > + struct rte_mbuf *last_seg = rxq->pkt_last_seg; > > + struct rte_mbuf *rxm; > > + struct rte_mbuf *nmb; > > + struct rte_eth_dev *dev; > > + const uint32_t *ptype_tbl = rxq->adapter->ptype_tbl; > > + uint16_t nb_hold = 0, nb_rx = 0; > According to the coding style, only the last variable on a line should be > initialized. > [Liu, Mingxia] Ok, thank, I'll check if the same issue exist otherwhere. > > + uint16_t rx_id = rxq->rx_tail; > > + uint16_t rx_packet_len; > > + uint16_t rx_status0; > > + uint64_t pkt_flags; > > + uint64_t dma_addr; > > + uint64_t ts_ns; > > +
- [PATCH v2 6/6] common/idpf: add xstats ops Mingxia Liu
- [PATCH v3 0/6] add idpf pmd enhancement features Mingxia Liu
- [PATCH v3 1/6] common/idpf: add hw statistics Mingxia Liu
- RE: [PATCH v3 1/6] common/idpf: add hw statistics Wu, Jingjing
- RE: [PATCH v3 1/6] common/idpf: add hw statistic... Liu, Mingxia
- [PATCH v3 2/6] common/idpf: add RSS set/get ops Mingxia Liu
- RE: [PATCH v3 2/6] common/idpf: add RSS set/get ops Wu, Jingjing
- RE: [PATCH v3 2/6] common/idpf: add RSS set/get ... Liu, Mingxia
- [PATCH v3 3/6] common/idpf: support single q scatter RX ... Mingxia Liu
- RE: [PATCH v3 3/6] common/idpf: support single q sca... Wu, Jingjing
- RE: [PATCH v3 3/6] common/idpf: support single q... Liu, Mingxia
- [PATCH v3 4/6] common/idpf: add rss_offload hash in sing... Mingxia Liu
- [PATCH v3 5/6] common/idpf: add alarm to support handle ... Mingxia Liu
- RE: [PATCH v3 5/6] common/idpf: add alarm to support... Wu, Jingjing
- RE: [PATCH v3 5/6] common/idpf: add alarm to sup... Liu, Mingxia
- RE: [PATCH v3 5/6] common/idpf: add alarm to... Wu, Jingjing
- [PATCH v3 6/6] common/idpf: add xstats ops Mingxia Liu
- [PATCH v4 0/6] add idpf pmd enhancement features Mingxia Liu
- [PATCH v4 1/6] common/idpf: add hw statistics Mingxia Liu
- [PATCH v4 2/6] common/idpf: add RSS set/get ops Mingxia Liu
- [PATCH v4 3/6] common/idpf: support single q scatter... Mingxia Liu