From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] examples/vhost: Support jumbo frame in user space vhost Date: Mon, 25 Aug 2014 17:12:56 +0200 Message-ID: <1413803.G9T3vqDWNZ@xps13> References: <1408078681-3511-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: <1408078681-3511-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" > This patch support mergeable RX feature and thus support jumbo frame RX and TX > in user space vhost(as virtio backend). > > On RX, it secures enough room from vring to accommodate one complete scattered > packet which is received by PMD from physical port, and then copy data from > mbuf to vring buffer, possibly across a few vring entries and descriptors. > > On TX, it gets a jumbo frame, possibly described by a few vring descriptors which > are chained together with the flags of 'NEXT', and then copy them into one scattered > packet and TX it to physical port through PMD. > > Signed-off-by: Changchun Ouyang > Acked-by: Huawei Xie Applied for version 1.7.1. Thanks -- Thomas