From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5] virtio: Fix vring entry number issue Date: Wed, 15 Oct 2014 08:34:58 +0200 Message-ID: <12849265.bxanm4kC0b@xps13> 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Ouyang Changchun Return-path: In-Reply-To: <1413342660-17894-1-git-send-email-changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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