Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2008 22:40:21 -0400
From:      Paul <paul@gtcomm.net>
To:        Ingo Flaschberger <if@xip.at>
Cc:        freebsd-net@freebsd.org, "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au>
Subject:   Re: Freebsd IP Forwarding  performance (question, and some info) [7-stable, current, em, smp]
Message-ID:  <48699915.4020804@gtcomm.net>
In-Reply-To: <alpine.LFD.1.10.0807010257570.19444@filebunker.xip.at>
References:  <4867420D.7090406@gtcomm.net>	<200806301944.m5UJifJD081781@lava.sentex.ca>	<20080701004346.GA3898@stlux503.dsto.defence.gov.au> <alpine.LFD.1.10.0807010257570.19444@filebunker.xip.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Well it's supposed to, but it doesn't seem to do it as well as it should :>
How about copying header direct DMA from NIC into cache, then copy from 
cache into output NIC after applying whatever filters/changes/etc?

Ingo Flaschberger wrote:
> Dear Alex,
>
>>    >OK, I setup 2 boxes on either end of a RELENG_7 box from about May
>>    >7th just now, to see with 2 boxes blasting across it how it would
>>    >work.  *However*, this is with no firewall loaded and, I must enable
>>    >ip fast forwarding. Without that enabled, the box just falls over.
>>
>> What is "ip fast forwarding" ?
>
> instead of copying the while ip packet into system memory, only the ip 
> header is copyied and then in a "fast" path determined if it could be 
> fast forwarded.
> if possible, a ned header is created at the other network-cards-buffer
> and the ip-data is copied from network-card-buffer to 
> network-card-buffer directly.
>
> Kind regards,
>    Ingo Flaschberger
>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>




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