From owner-freebsd-net@FreeBSD.ORG Wed Aug 27 03:59:07 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 98C552D5 for ; Wed, 27 Aug 2014 03:59:07 +0000 (UTC) Received: from mail-ob0-x22d.google.com (mail-ob0-x22d.google.com [IPv6:2607:f8b0:4003:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F7E53A92 for ; Wed, 27 Aug 2014 03:59:07 +0000 (UTC) Received: by mail-ob0-f173.google.com with SMTP id vb8so12540865obc.32 for ; Tue, 26 Aug 2014 20:59:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=QdlbD0BA7QEVwjt3tLT40jgil3ql6R9RiYYPLm8sRJQ=; b=oXcJujiUZMqF7TzCaPaM6amijxbqHTV805fASyLfM7bIdjKb4tmu612gWvIvPiVud0 gE8c63fM/8C7yguI4269gola1k9rMVudW4CEUJHWXUwnZtXal29YMQs/pdgGUJ6iDSpA HiRataz8yq9goMFAgqNrXRpktO6sXHZgSTWaBMcKDvM/lD0ZbIK5gJ6wzD5xdLA1khsU EJFkbkWFx78hjt7ULUn9D9zMUYtb749HNuqWb/JmKB/krDeXOH49YMRxetiGEZ4Oo6f3 7VRt1Od+nIdyy8FsO52XajETrCj1cCtR7ZO1z1HaXdt5a4Mi07VnONezdfDCi64f4U1B 22cA== X-Received: by 10.182.94.230 with SMTP id df6mr31692282obb.36.1409111946195; Tue, 26 Aug 2014 20:59:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.232.163 with HTTP; Tue, 26 Aug 2014 20:58:46 -0700 (PDT) In-Reply-To: References: From: Raimundo Santos Date: Wed, 27 Aug 2014 00:58:46 -0300 Message-ID: Subject: Re: 9.3 RELEASE not forwarding pkt-gen (netmap) packets over XenServer To: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2014 03:59:07 -0000 On 26 August 2014 20:16, Olivier Cochard-Labb=C3=A9 wr= ote: > > On Tue, Aug 26, 2014 at 9:35 PM, Raimundo Santos wrote: >> >> >> 15:38:13.286119 00:1b:21:53:51:3d > 00:1b:21:53:51:39, ethertype IPv4 >> (0x0800), length 60: (tos 0x10, ttl 64, id 0, offset 0, flags [DF], prot= o >> UDP (17), length 46, bad cksum 6605 (->6604)!) >> >> 10.0.0.1.0 > 192.168.10.2.0: [bad udp cksum 0x5e7c -> 0x5e7b!] UDP, >> length 18 >> > > Hi, > > the bad UDP checksum seems related to this pkt-gen bug: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187149 Hello Olivier, thank you for pointing it out. That patch help me to achieve my needs. > > > > pkt-gen one checksum for all the paquets it generate (then once it update the IP or port, the checksum didn't match). > Applying the patch correctly update the checksum for all paquets (but it have a performance impact). As my needs are somehow low, I can not notice any performance penalty. Cheers, Raimundo Santos