[dpdk-dev] [PATCH 0/3] Vhost app removes dependency of REFCNT

2014-10-25 Thread Ouyang, Changchun
Hi Thomas > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, October 24, 2014 5:48 PM > To: Ouyang, Changchun > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/3] Vhost app removes dependency of > REFCNT > &g

[dpdk-dev] [PATCH 0/3] Vhost app removes dependency of REFCNT

2014-10-24 Thread Ouyang Changchun
To remove the dependency of RTE_MBUF_REFCNT for vhost zero copy, the mbuf need introduce EXTERNAL_MBUF(in ol_flags) to indicate it attaches to an external buffer, say, from guest space. And don't free the external buffer when freeing the mbuf itself in host, in addition, RX function in PMD need mak

[dpdk-dev] [PATCH 0/3] Vhost app removes dependency of REFCNT

2014-10-24 Thread Thomas Monjalon
2014-10-24 16:10, Ouyang Changchun: > To remove the dependency of RTE_MBUF_REFCNT for vhost zero copy, > the mbuf need introduce EXTERNAL_MBUF(in ol_flags) to indicate it > attaches to an external buffer, say, from guest space. And don't > free the external buffer when freeing the mbuf itself in ho

[dpdk-dev] [PATCH 0/3] Vhost app removes dependency of REFCNT

2014-10-24 Thread Bruce Richardson
On Fri, Oct 24, 2014 at 11:47:46AM +0200, Thomas Monjalon wrote: > 2014-10-24 16:10, Ouyang Changchun: > > To remove the dependency of RTE_MBUF_REFCNT for vhost zero copy, > > the mbuf need introduce EXTERNAL_MBUF(in ol_flags) to indicate it > > attaches to an external buffer, say, from guest space