On Fri, Jan 05, 2018 at 12:27:37PM -0800, Stephen Hemminger wrote:
> On Thu, 4 Jan 2018 07:59:37 -0800
> Xiao Wang wrote:
>
> > This patch adds dev_pause, dev_resume and inject_pkts api to allow
> > driver to pause the worker thread and inject special packets into
> > Tx queue. The next patch wi
On Thu, 4 Jan 2018 07:59:37 -0800
Xiao Wang wrote:
> This patch adds dev_pause, dev_resume and inject_pkts api to allow
> driver to pause the worker thread and inject special packets into
> Tx queue. The next patch will be based on this.
>
> Signed-off-by: Xiao Wang
Why is this needed? It isn
On Thu, Jan 04, 2018 at 07:59:37AM -0800, Xiao Wang wrote:
[...]
> +void
> +virtio_inject_pkts(struct rte_eth_dev *dev, struct virtnet_tx *txvq,
> + struct rte_mbuf **buf, int count)
> +{
> + struct virtio_hw *hw = dev->data->dev_private;
> +
> + hw->special_buf = buf;
I think
This patch adds dev_pause, dev_resume and inject_pkts api to allow
driver to pause the worker thread and inject special packets into
Tx queue. The next patch will be based on this.
Signed-off-by: Xiao Wang
---
drivers/net/virtio/virtio_ethdev.c | 44 +
driver
4 matches
Mail list logo