Re: [ovs-dev] RFC: the meaning of LINUX_DATAPATH and HAVE_IF_DL

2014-03-04 Thread Ben Pfaff
Oh, also I posted two patches as a place to get started. Would one of you please look them over? http://patchwork.openvswitch.org/patch/2858/ http://patchwork.openvswitch.org/patch/2859/ Thanks, Ben. ___ dev mailing list dev@openvswitch.org http://ope

Re: [ovs-dev] RFC: the meaning of LINUX_DATAPATH and HAVE_IF_DL

2014-03-04 Thread Ben Pfaff
On Tue, Mar 04, 2014 at 11:47:43AM +0100, Luigi Rizzo wrote: > On Fri, Jan 24, 2014 at 1:55 AM, Ben Pfaff wrote: > > > > - Instead of (LINUX_DATAPATH && !HAVE_IF_DL), write just > > __linux__. In the cases I looked at, the interface didn't > > seem too likely to be of

Re: [ovs-dev] RFC: the meaning of LINUX_DATAPATH and HAVE_IF_DL

2014-03-04 Thread Luigi Rizzo
On Fri, Jan 24, 2014 at 1:55 AM, Ben Pfaff wrote: > On Thu, Jan 23, 2014 at 04:45:34PM -0800, Luigi Rizzo wrote: > > On Thu, Jan 23, 2014 at 4:43 PM, Ben Pfaff wrote: > > > > > On Fri, Jan 24, 2014 at 01:29:32AM +0100, Daniele Di Proietto wrote: > > > > I'll just attach the patch (just for a qui

Re: [ovs-dev] RFC: the meaning of LINUX_DATAPATH and HAVE_IF_DL

2014-02-04 Thread Ben Pfaff
On Thu, Jan 23, 2014 at 4:55 PM, Ben Pfaff wrote: > On Thu, Jan 23, 2014 at 04:45:34PM -0800, Luigi Rizzo wrote: >> On Thu, Jan 23, 2014 at 4:43 PM, Ben Pfaff wrote: >> >> > On Fri, Jan 24, 2014 at 01:29:32AM +0100, Daniele Di Proietto wrote: >> > > I'll just attach the patch (just for a quick pr

Re: [ovs-dev] RFC: the meaning of LINUX_DATAPATH and HAVE_IF_DL

2014-01-23 Thread Ben Pfaff
On Thu, Jan 23, 2014 at 04:45:34PM -0800, Luigi Rizzo wrote: > On Thu, Jan 23, 2014 at 4:43 PM, Ben Pfaff wrote: > > > On Fri, Jan 24, 2014 at 01:29:32AM +0100, Daniele Di Proietto wrote: > > > I'll just attach the patch (just for a quick preview, it is not ready > > jet) > > > that builds the us

Re: [ovs-dev] RFC: the meaning of LINUX_DATAPATH and HAVE_IF_DL

2014-01-23 Thread Luigi Rizzo
On Thu, Jan 23, 2014 at 4:43 PM, Ben Pfaff wrote: > On Fri, Jan 24, 2014 at 01:29:32AM +0100, Daniele Di Proietto wrote: > > I'll just attach the patch (just for a quick preview, it is not ready > jet) > > that builds the userspace components for the kernel datapath in FreeBSD. > We > > provide s

Re: [ovs-dev] RFC: the meaning of LINUX_DATAPATH and HAVE_IF_DL

2014-01-23 Thread Ben Pfaff
On Fri, Jan 24, 2014 at 01:29:32AM +0100, Daniele Di Proietto wrote: > I'll just attach the patch (just for a quick preview, it is not ready jet) > that builds the userspace components for the kernel datapath in FreeBSD. We > provide some linux functionalities (netlink and epoll) through wrappers >

Re: [ovs-dev] RFC: the meaning of LINUX_DATAPATH and HAVE_IF_DL

2014-01-23 Thread Daniele Di Proietto
Hi guys, I'll just attach the patch (just for a quick preview, it is not ready jet) that builds the userspace components for the kernel datapath in FreeBSD. We provide some linux functionalities (netlink and epoll) through wrappers (not included here) so that LINUX_DATAPATH is true. What we may ne

Re: [ovs-dev] RFC: the meaning of LINUX_DATAPATH and HAVE_IF_DL

2014-01-23 Thread Ben Pfaff
[adding the list back] On Thu, Jan 23, 2014 at 04:15:06PM -0800, Luigi Rizzo wrote: > On Thu, Jan 23, 2014 at 4:08 PM, Ben Pfaff wrote: > > > On Thu, Jan 23, 2014 at 04:04:24PM -0800, Luigi Rizzo wrote: > > > On Thu, Jan 23, 2014 at 3:39 PM, Ben Pfaff wrote: > > > > > ... > > > > > hmmm... I be

Re: [ovs-dev] RFC: the meaning of LINUX_DATAPATH and HAVE_IF_DL

2014-01-23 Thread Ben Pfaff
On Thu, Jan 23, 2014 at 04:04:24PM -0800, Luigi Rizzo wrote: > On Thu, Jan 23, 2014 at 3:39 PM, Ben Pfaff wrote: > > > On Thu, Jan 23, 2014 at 11:51:26PM +0100, Luigi Rizzo wrote: > > > following the port of the OVS kernel code to FreeBSD (most of it > > > done by Daniele Di Proietto), the varia

Re: [ovs-dev] RFC: the meaning of LINUX_DATAPATH and HAVE_IF_DL

2014-01-23 Thread Luigi Rizzo
On Thu, Jan 23, 2014 at 3:39 PM, Ben Pfaff wrote: > On Thu, Jan 23, 2014 at 11:51:26PM +0100, Luigi Rizzo wrote: > > following the port of the OVS kernel code to FreeBSD (most of it > > done by Daniele Di Proietto), the varia that control feature > > inclusion may benefit from some rediscussion.

Re: [ovs-dev] RFC: the meaning of LINUX_DATAPATH and HAVE_IF_DL

2014-01-23 Thread Ben Pfaff
On Thu, Jan 23, 2014 at 11:51:26PM +0100, Luigi Rizzo wrote: > following the port of the OVS kernel code to FreeBSD (most of it > done by Daniele Di Proietto), the varia that control feature > inclusion may benefit from some rediscussion. > > At the moment ovs uses LINUX_DATAPATH for different pur

[ovs-dev] RFC: the meaning of LINUX_DATAPATH and HAVE_IF_DL

2014-01-23 Thread Luigi Rizzo
Hi, following the port of the OVS kernel code to FreeBSD (most of it done by Daniele Di Proietto), the varia that control feature inclusion may benefit from some rediscussion. At the moment ovs uses LINUX_DATAPATH for different purposes: 1. indicate that an in-kernel datapath is available 2. indi