From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zoltan Kiss Subject: Re: [PATCH net-next 3/3 RFC] pktgen: Allow sending TCP packets Date: Thu, 26 Jun 2014 10:39:41 +0100 Message-ID: <53ABEA5D.1040104@citrix.com> References: <1403728972-29548-1-git-send-email-zoltan.kiss@citrix.com> <1403728972-29548-4-git-send-email-zoltan.kiss@citrix.com> <20140625.174452.216399345748954052.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: , , , , , , , To: David Miller , Return-path: In-Reply-To: <20140625.174452.216399345748954052.davem@davemloft.net> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On 26/06/14 01:44, David Miller wrote: > From: Cong Wang > Date: Wed, 25 Jun 2014 17:41:47 -0700 > >> On Wed, Jun 25, 2014 at 1:42 PM, Zoltan Kiss wrote: >>> This is a prototype patch to enable sending TCP packets with pktgen. The >>> original motivation is to test TCP GSO with xen-netback/netfront, but I'm not >>> sure about how the checksum should be set up, and also someone should verify the >>> GSO settings I'm using. >>> >> >> What's the point of sending TCP packets since you don't establish a TCP >> connection? > > I guess they want to test checksumming and aggregation, things like that. > > The other side is of course going to spew reset packets back at the > pktgen machine. > Yes, I just want to stress the driver, not the TCP stack on the other end? Netback/front doesn't handle UDP GSO, so to test TCP GSO we need to fed it with TCP packets. It would be good if someone can advise me how to setup checksum and GSO bits. Zoli