From: David Miller Subject: Re: [RFC PATCH net-next 1/3] ixgbe: support netdev_ops->ndo_xmit_flush() Date: Mon, 25 Aug 2014 16:31:35 -0700 (PDT) Message-ID: <20140825.163135.1716545240924138406.davem@davemloft.net> References: <1408887738-7661-2-git-send-email-dborkman@redhat.com> <20140825140721.162a6c91@redhat.com> <20140825.153248.1202565040217198094.davem@davemloft.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: dborkman@redhat.com, netdev@vger.kernel.org To: brouer@redhat.com Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:39252 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752606AbaHYXbh (ORCPT ); Mon, 25 Aug 2014 19:31:37 -0400 In-Reply-To: <20140825.153248.1202565040217198094.davem@davemloft.net> Sender: netdev-owner@vger.kernel.org List-ID: From: David Miller Date: Mon, 25 Aug 2014 15:32:48 -0700 (PDT) > Jesper, just for fun, could you revert all of the xmit flush stuff and > test this patch instead? This doesn't work properly, sorry. We need to explicitly set xmit_more to zero before ->ndo_start_xmit() calls, because the initial zero'ing of that value isn't propagated in copy_skb_header() (nor do we want to add that). But I'm beyond convinced now that ->ndo_xmit_flush() is not the way to do this. I'm about to post a set of patches which will go into net-next which: 1) Converts the tree to skb->xmit_more 2) Adds Daniel's IXGBE conversion, adjusted for xmit_more.