Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2014 00:58:46 -0300
From:      Raimundo Santos <raitech@gmail.com>
To:        =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= <olivier@cochard.me>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: 9.3 RELEASE not forwarding pkt-gen (netmap) packets over XenServer
Message-ID:  <CAGQ6iC_Tu2xsktkbf6o4hZaoVB6vhWMyv61qyWR_cyqUUVp5ww@mail.gmail.com>
In-Reply-To: <CA%2Bq%2BTcpGgG58Nzjk0X2duvtPL%2BcGUXKjKTMm6i5S%2BWaz%2BM0C-A@mail.gmail.com>
References:  <CAGQ6iC_4kd-ELDtU2jxzAep3rEUtrrdMjau3YuOdQ8Qm5oU6VA@mail.gmail.com> <CAGQ6iC8V0Ov%2B5%2B3U8ySrcBV-wUqxhd8hJeMrKQN=VSECkW8UCw@mail.gmail.com> <CA%2Bq%2BTcpGgG58Nzjk0X2duvtPL%2BcGUXKjKTMm6i5S%2BWaz%2BM0C-A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26 August 2014 20:16, Olivier Cochard-Labb=C3=A9 <olivier@cochard.me> wr=
ote:
>
> On Tue, Aug 26, 2014 at 9:35 PM, Raimundo Santos <raitech@gmail.com>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGQ6iC_Tu2xsktkbf6o4hZaoVB6vhWMyv61qyWR_cyqUUVp5ww>