On 3/15/2019 6:22 AM, Wenzhuo Lu wrote: > Signed-off-by: Wenzhuo Lu <wenzhuo...@intel.com>
<...> > @@ -305,6 +305,7 @@ CONFIG_RTE_LIBRTE_ICE_DEBUG_TX=n > CONFIG_RTE_LIBRTE_ICE_DEBUG_TX_FREE=n > CONFIG_RTE_LIBRTE_ICE_RX_ALLOW_BULK_ALLOC=y > CONFIG_RTE_LIBRTE_ICE_16BYTE_RX_DESC=n > +CONFIG_RTE_LIBRTE_ICE_INC_VECTOR=y Meson seems setting this config automatically. Do we need this compile time option at all? Would it work if we replace this with a device arg, which can be used to disable vector path if set, and 'ice_rx_vec_dev_check()' can check it? <...> > @@ -0,0 +1,155 @@ > +/* SPDX-License-Identifier: BSD-3-Clause > + * Copyright(c) 2019 Intel Corporation > + */ > + > +#ifndef _ICE_RXTX_VEC_COMMON_H_ > +#define _ICE_RXTX_VEC_COMMON_H_ > + > +#include "ice_rxtx.h" > + > +static inline uint16_t > +reassemble_packets(struct ice_rx_queue *rxq, struct rte_mbuf **rx_bufs, > + uint16_t nb_bufs, uint8_t *split_flags) > +{ > + struct rte_mbuf *pkts[ICE_VPMD_RX_BURST] = {0}; /*finished pkts*/ > + struct rte_mbuf *start = rxq->pkt_first_seg; > + struct rte_mbuf *end = rxq->pkt_last_seg; > + unsigned pkt_idx, buf_idx; There are checkpatch warnings for using 'unsigned int' instead of 'unsigned', can you please fix them? There are a few of them.