From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v4 2/3] net/virtio: add packet injection method Date: Fri, 5 Jan 2018 12:27:37 -0800 Message-ID: <20180105122737.52c69b1a@xeon-e3> References: <1515051700-117262-3-git-send-email-xiao.w.wang@intel.com> <1515081578-30649-1-git-send-email-xiao.w.wang@intel.com> <1515081578-30649-3-git-send-email-xiao.w.wang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: tiwei.bie@intel.com, dev@dpdk.org, yliu@fridaylinux.org To: Xiao Wang Return-path: Received: from mail-pl0-f49.google.com (mail-pl0-f49.google.com [209.85.160.49]) by dpdk.org (Postfix) with ESMTP id 7EF6D1B010 for ; Fri, 5 Jan 2018 21:27:40 +0100 (CET) Received: by mail-pl0-f49.google.com with SMTP id 62so3679822pld.7 for ; Fri, 05 Jan 2018 12:27:40 -0800 (PST) In-Reply-To: <1515081578-30649-3-git-send-email-xiao.w.wang@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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't obvious what the mechanism is trying to solve.