From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ow13ZWRoyOB2L0AQmzb82oZIk25RRpTFD7UKRXdR4MQ=; b=nNMS8nGcd5GvheFw5BMGfgby+JRpQ38tKOKfUbHNKZULqewN20omYZdceuQKRvlt7n p867IAezLfU9IePEKI9kxset/zAfHNvsPdWT+xPfZgHcd0TGDOxoBL2V/X8/rjke8A2o txS1Y1isa7CsNN6e/Wc4S8nEX74yl0bS0KCtGP9JXGrXi3T6TBwDO0Aar+MlrvbJ1Uuj gNfO3eDOS6KMZlY0xGsnsgt2ggrMMh1OXLQNrn/gOwq4cPBnwMT31JfAccU+5rE0e79P BVXFgkI19UK32qWQ5RKdvrg4L5FDQvFmKFQFr5mh+Xs0PXW9fHZGbx2QQrSr2emi6VO7 HNIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ow13ZWRoyOB2L0AQmzb82oZIk25RRpTFD7UKRXdR4MQ=; b=nYeCMDhgBFUP4+rJvrJLi+RK1hTqaq0ILbIbxQoLrGU3aVIM6CtfI3IY9s7AmBjKw2 1p74A/Xa6KjP1OroENdIQpstAA0h+X5yueFqBbIn+wpcAUUmOtXieJd6zNyS9OeitQAX EvxKVlQKZqpP5ot1mGGvgY/K5cvdzE2KbB4vCRc3eEcW0CiDzBUqTwTsRykSCkQGYuCw aZAQQbkACbTlfv53YWFSODy2/CmL+qKLkBokTgYBFuZBmg3V15df2Qg4CVhHUhw/X7O2 ofI1Icu9mQzqTeIb29B/1IqnKFzoB+TyC1iTqAsM5Wi3Tc40BCOXHmZT9+UnxMMRjW3k 1p5g== X-Gm-Message-State: AKGB3mJdKcv3W6sdyvxpLwP0TvHmBTk4qaAqHUj/HGrurhgz9yhQLfQy XN6ZJhZw8DXImFCPMj61oLrNxQ== X-Google-Smtp-Source: ACJfBovwQ/x+Eqs7vX52U1LFS5M1jM0t0Lfo4UNNMMtOLl2EYawMSrJGCx5P+vGElHj2hjh83ddzAw== X-Received: by 10.84.236.70 with SMTP id h6mr4158368pln.256.1515184059699; Fri, 05 Jan 2018 12:27:39 -0800 (PST) Received: from xeon-e3 (204-195-18-133.wavecable.com. [204.195.18.133]) by smtp.gmail.com with ESMTPSA id d28sm15772967pfb.105.2018.01.05.12.27.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jan 2018 12:27:39 -0800 (PST) Date: Fri, 5 Jan 2018 12:27:37 -0800 From: Stephen Hemminger To: Xiao Wang Cc: tiwei.bie@intel.com, dev@dpdk.org, yliu@fridaylinux.org Message-ID: <20180105122737.52c69b1a@xeon-e3> In-Reply-To: <1515081578-30649-3-git-send-email-xiao.w.wang@intel.com> 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 Subject: Re: [dpdk-dev] [PATCH v4 2/3] net/virtio: add packet injection method X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 20:27:40 -0000 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.