From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] doc: add known issue for virtio TSO with clones Date: Thu, 09 Feb 2017 07:05:05 -0800 (PST) Message-ID: <2800951.RjD6d24Weo@xps13> References: <1486387013-1706-1-git-send-email-olivier.matz@6wind.com> <20170206151047.155aa0aa@xeon-e3> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, yuanhan.liu@linux.intel.com, john.mcnamara@intel.com To: Stephen Hemminger , Olivier Matz Return-path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 6BFA1FA40 for ; Thu, 9 Feb 2017 16:05:21 +0100 (CET) Received: by mail-wm0-f43.google.com with SMTP id c85so233642645wmi.1 for ; Thu, 09 Feb 2017 07:05:21 -0800 (PST) In-Reply-To: <20170206151047.155aa0aa@xeon-e3> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-02-06 15:10, Stephen Hemminger: > On Mon, 6 Feb 2017 14:16:53 +0100 > Olivier Matz wrote: > > > +**Implication**: > > + In this situation, the shared data will be modified by the driver, > > + potentially causing race conditions with the other users of the mbuf > > + data. > > This is a driver bug! The driver must check for refcount and not modify > mbuf's whose refcnt > 1. For those mbuf's it should copy the mbuf and modify > the copy. > > It is not good to force buggy refcnt handling back onto the application. > It is acceptable to document the performance impact. Everybody agree it is a bug. Unfortunately, nobody has time to work on it in this release. So it is better than nothing to document the bug. Applied, thanks