From: =?utf-8?Q?Bj=C3=B8rn_Mork?= Subject: Re: [PATCH] USBNET: fix handling padding packet Date: Wed, 18 Sep 2013 20:33:16 +0200 Message-ID: <878uyu56ab.fsf@nemi.mork.no> References: <1379409002-7698-1-git-send-email-ming.lei@canonical.com> <878uyu6xjm.fsf@nemi.mork.no> <87zjra5dpx.fsf@nemi.mork.no> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "David S. Miller" , Greg Kroah-Hartman , Oliver Neukum , Network Development , linux-usb , Oliver Neukum To: Ming Lei Return-path: Received: from canardo.mork.no ([148.122.252.1]:59673 "EHLO canardo.mork.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751635Ab3IRSd3 convert rfc822-to-8bit (ORCPT ); Wed, 18 Sep 2013 14:33:29 -0400 In-Reply-To: (Ming Lei's message of "Thu, 19 Sep 2013 01:03:31 +0800") Sender: netdev-owner@vger.kernel.org List-ID: Ming Lei writes: > On Wed, Sep 18, 2013 at 11:52 PM, Bj=C3=B8rn Mork wro= te: > >> Why don't you test it on the device you tested the SG patch with? I= am >> pretty sure it works just fine using proper ZLP transfer termination= =2E > > I should have planned to test it, but didn't know how to build TCP TS= O > to make the whole frame length plus 8 dividable by 1024. You could test this without enabling TSO and just send IP packets of th= e appriopriate size, taking any additional framing into account Bj=C3=B8rn