[dpdk-dev] [PATCH v11 6/9] net/virtio: implement receive path for packed queues
Stephen Hemminger
stephen at networkplumber.org
Wed Dec 5 23:52:54 CET 2018
On Wed, 5 Dec 2018 12:28:27 +0100
Maxime Coquelin <maxime.coquelin at redhat.com> wrote:
> > +static uint16_t
>
> In think it should be inlined.
>
> > +virtqueue_dequeue_burst_rx_packed(struct virtqueue *vq,
> > + struct rte_mbuf **rx_pkts,
> > + uint32_t *len,
> > + uint16_t num)
Compiler will inline it anyway, and ignore inline directive if it is too
big. Bottom line is for static functions there is no need of inline directive.
More information about the dev
mailing list