[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091014203640.GB32317@ioremap.net>
Date: Thu, 15 Oct 2009 00:36:40 +0400
From: Evgeniy Polyakov <zbr@...emap.net>
To: Luca Deri <deri@...p.org>
Cc: Stephen Hemminger <shemminger@...tta.com>,
Brad Doctor <brad.doctor@...il.com>, netdev@...r.kernel.org
Subject: Re: PF_RING: Include in main line kernel?
On Wed, Oct 14, 2009 at 10:17:30PM +0200, Luca Deri (deri@...p.org) wrote:
> The reason why I decided to patch dev.c is because I wanted PF_RING to
> decide whether the packet journey shall continue or not. In other
> words with my solution PF_RING applications can decide whether the
> received packets will also be delivered to upper layers (and to other
> kernel network components). This configurable 'early packet drop'
> allows the overall performance to be significantly increased as
> received packets are not supposed to be delivered to upper layers;
> this is a typical situations for many monitoring devices.
This is a feature many projects implement themself indeed. What about
creating special return value from the packet handler which will
indicate that packet was already consumed and no further work should be
done on it?
--
Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists