[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100620114913.42d3650a@nehalam>
Date: Sun, 20 Jun 2010 11:49:13 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Hagen Paul Pfeifer <hagen@...u.net>
Cc: netdev@...r.kernel.org, davem@...emloft.net
Subject: Re: [PATCH] net: optimize Berkeley Packet Filter (BPF) processing
On Sun, 20 Jun 2010 11:50:20 +0200
Hagen Paul Pfeifer <hagen@...u.net> wrote:
> * Stephen Hemminger | 2010-06-19 22:16:11 [-0700]:
>
> >I don't think this works because it breaks ABI compatibility for applications tha
> >use older versions.
>
> Are you sure Stephen? It is a one-to-one mapping of the ABI but maybe it was
> too late yesterday ... ;-)
I was worried that the new (remapped codes) would overlap the ones from user
space. Maybe best to have separate structures for the userspace API and the
kernel optimized filter instructions. You could then do what ever transformations
you want there.
--
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