From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 14CEC7E6E for ; Wed, 15 Oct 2014 08:27:26 +0200 (CEST) Received: by mail-wg0-f47.google.com with SMTP id x13so550867wgg.18 for ; Tue, 14 Oct 2014 23:35:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=loCrtuGEWZ2Ro03ZJfEuiT6P+Z57sK6tpAGor+tlCbE=; b=GGBWxqPqBRd6ur+5q/1729ANqkk5nHkEKlEBL+HPZRw1+Y+RgLFZyeiA6/3xzlMzql lVkEo9PK7LU4+4ONSwNq9FEhXpo5xQWK5CdXw5i2Wbd9dB1db9lh5vRgPARPOOOd4xT9 Hy1q1NbMGsuPIh+Ah1y/8WU5F3IUlmxqDjLMtPmYNXNjDYiJmsQp2p+PO7xCXVZ+qFBf dHKxVthcW0ChpYe4MgbN6tlb9+Yi+VcGGcZ3S3PWu18wYHI6gvNfxmu3gHzTxEOGnq71 BQ78An08+e6lbRalTjWjEbyYYn39SRxHOmfTckLZk2+0CK8twEibXAQcwn0dkXepLSaw tc1g== X-Gm-Message-State: ALoCoQn568805VJYbwE86dmYrUql8hnTNwkaDgYLRkbYQ0ZKfVfZev7457sqef3APZI/WUk/fC0C X-Received: by 10.194.81.6 with SMTP id v6mr9807236wjx.39.1413354913377; Tue, 14 Oct 2014 23:35:13 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id hg14sm2600583wib.24.2014.10.14.23.35.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Oct 2014 23:35:12 -0700 (PDT) From: Thomas Monjalon To: Ouyang Changchun Date: Wed, 15 Oct 2014 08:34:58 +0200 Message-ID: <12849265.bxanm4kC0b@xps13> Organization: 6WIND User-Agent: KMail/4.14.1 (Linux/3.16.4-1-ARCH; KDE/4.14.1; x86_64; ; ) In-Reply-To: <1413342660-17894-1-git-send-email-changchun.ouyang@intel.com> References: <1413302634-848-1-git-send-email-changchun.ouyang@intel.com> <1413342660-17894-1-git-send-email-changchun.ouyang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v5] virtio: Fix vring entry number issue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2014 06:27:26 -0000 2014-10-15 11:11, Ouyang Changchun: > Fix one issue in virtio TX: it needs one more vring descriptor to hold the virtio > header when transmitting packets, it is used later to determine whether to free > more entries from used vring. > It fixes failing to transmit any packet with 1 segment in the circumstance of only > 1 descriptor in the vring free list. > > Signed-off-by: Changchun Ouyang > Reviewed-by: Olivier Matz Applied Thanks -- Thomas