Hi Ferruh,
> -----Original Message----- > From: Yigit, Ferruh > Sent: Tuesday, December 18, 2018 7:03 AM > To: Lu, Wenzhuo <wenzhuo...@intel.com>; dev@dpdk.org > Cc: Yang, Qiming <qiming.y...@intel.com>; Li, Xiaoyun > <xiaoyun...@intel.com>; Wu, Jingjing <jingjing...@intel.com> > Subject: Re: [dpdk-dev] [PATCH v5 30/31] net/ice: support advance RX/TX > > On 12/17/2018 7:37 AM, Wenzhuo Lu wrote: > > Add RX functions, scatter and bulk. > > Add TX function, simple. > > > > Signed-off-by: Wenzhuo Lu <wenzhuo...@intel.com> > > Signed-off-by: Qiming Yang <qiming.y...@intel.com> > > Signed-off-by: Xiaoyun Li <xiaoyun...@intel.com> > > Signed-off-by: Jingjing Wu <jingjing...@intel.com> > > <...> > > > +ice_tx_free_bufs(struct ice_tx_queue *txq) { > > + struct ice_tx_entry *txep; > > + uint16_t i; > > + > > + if ((txq->tx_ring[txq->tx_next_dd].cmd_type_offset_bsz & > > + rte_cpu_to_le_64(ICE_TXD_QW1_DTYPE_M)) != > > + rte_cpu_to_le_64(ICE_TX_DESC_DTYPE_DESC_DONE)) > > + return 0; > > + > > + txep = &txq->sw_ring[txq->tx_next_dd - (txq->tx_rs_thresh - 1)]; > > + > > + for (i = 0; i < txq->tx_rs_thresh; i++) > > + rte_prefetch0((txep + i)->mbuf); > > + > > + if (txq->offloads & DEV_TX_OFFLOAD_MBUF_FAST_FREE) { > > You can announce "Fast mbuf free" feature in .ini file if this is supported. Thanks for the reminder. Will add it.