--- On Mon, 12/31/12, Adrian Chadd <adr...@freebsd.org> wrote:

> From: Adrian Chadd <adr...@freebsd.org>
> Subject: Re: kern/174851: [bxe] [patch] UDP checksum offload is wrong in bxe 
> driver
> To: "Garrett Cooper" <yaneg...@gmail.com>
> Cc: "Barney Cordoba" <barney_cord...@yahoo.com>, "David Christensen" 
> <davi...@freebsd.org>, lini...@freebsd.org, freebsd-net@freebsd.org
> Date: Monday, December 31, 2012, 2:00 PM
> On 31 December 2012 07:58, Garrett
> Cooper <yaneg...@gmail.com>
> wrote:
> 
> > I would ask David about whether or not there was a
> performance
> > difference because they might have some numbers for
> if_bxe.
> >
> > Not sure about the concept in general, but it seems
> like a reasonable
> > application protocol specific request. But by and
> large, I agree that
> > UDP checksumming doesn't make logical sense because it
> adds
> > unnecessary overhead on a L3 protocol that's assumed to
> be unreliable.
> 
> People are terminating millions of VoIP calls on FreeBSD
> devices. All using UDP.
> 
> I can imagine large scale VoIP gateways wanting to try and
> benefit from this.
> 

The statement above "assumes" that there is a benefit. voIP packets 
are short, so the benefit of offloading is reduced. There is some
delay added by the hardware, and there are cpu cycles used in managing
the offload code. So those operations not only muddy the code,
but they may not be faster than simply doing the checksum on a much, much
faster cpu.

BC
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to