netmap: how to bridge 2 eth?

2014-05-02 Thread upyzl
Hi all I'm doing to implement a simple openflow-based software switch(not same as OVS, much simpler to OVS) and I choose netmap for the network framework Now I try to do a simplest thing: there's 3 VMs, all are Ubuntu 12.04.4 x64 2 act as hosts, other 1 act as switch topo: [host1] eth0 - e

Re: netmap: how to bridge 2 eth?

2014-05-03 Thread upyzl
ng error: hwcur 0 rcur 2 hwtail 2 head 512 cur 2 tail 2 May 4 22:02:45 ubuntu kernel: [ 898.778159] 165.140361 [1549] netmap_vp_rxsync_locked ouch dangerous reset!!! then finally kernel panic/crash... 2014-05-03 14:44 GMT+08:00 upyzl : > Hi all > > I'm doing to implement a sim

Re: netmap: how to bridge 2 eth?

2014-05-05 Thread upyzl
solved I changed Ubuntu to CentOS 6.5 and use kernel 3.4.88 then netmap/vale works OK...(but this time brctl & ping cannot work...well that's off-topic) 2014-05-04 14:18 GMT+08:00 upyzl : > add: > > tried > ./vale-ctl -h vale0:eth0 > ./vale-ctl -h vale0:eth1 > and pin

how to capture packets when using netmap?

2014-06-09 Thread upyzl
Hi all I'm using FreeBSD 10 release and with "device netmap" added (recompile kernel to use netmap) but it seems didn't support libpcap (I use tcpdump to capture when netmap-bridge is on and 2 hosts ping each other | topo: host1 --- [em0] FreeBSD [em1] --- host2 ) I know there is a netmap-libpca

netmap: how to manage SW & NIC ring at same em0?

2014-07-14 Thread upyzl
Hi all, I'm a newbie on netmap development using FreeBSD 10 release x64("device netmap" added and recompiled) I'm study on develop openflow-based datapath(software switch function/module) by netmap-bridge my understanding: ./bridge -i em0 -i em0 --- would be using SW ring for em0, and if ther

[netmap/vale-ctl] when could process packet

2014-09-17 Thread upyzl
Hi, I think it's right place to talk about FreeBSD 10 - netmap question (location at FreeBSD 10: /usr/src/tools/tools/netmap ; with kernel device netmap on) I'm (entry) study on openflow software switch based on netmap/vale It seems very simple in vale-ctl.c and hard to add features for packet p

Re: [netmap/vale-ctl] when could process packet

2014-09-17 Thread upyzl
ny interfaces, like vale-ctl does It's also hard to add interfaces on bridge.c, and from netmap introduces, I should use vale-ctl Jaye 2014-09-18 13:45 GMT+08:00 upyzl : > Hi, Jim > > thanks for reply > > this is my graduate design project > my aim is to implement a simple so

Re: [netmap/vale-ctl] when could process packet

2014-09-18 Thread upyzl
on. > > Cheers > Luigi > > On Thursday, September 18, 2014, upyzl wrote: > >> Hi, >> >> I think it's right place to talk about FreeBSD 10 - netmap question >> (location at FreeBSD 10: /usr/src/tools/tools/netmap ; with kernel device >> netmap

netmap: add extra interface on bridge

2014-11-03 Thread upyzl
Hi there, I'm study on developing a simple openflow-based datapath module I know and tried successfully by "bridge -i em0 -i em1" Now I need bridge em0 em1 em2, but I find using vale-ctl is very difficult for me, as I need develop extract, match packets (packets from IN_PORT) and do actions from

Re: netmap: add extra interface on bridge

2014-11-03 Thread upyzl
Very useful! thx very much 2014-11-04 3:34 GMT+08:00 Luigi Rizzo : > > > On Monday, November 3, 2014, upyzl wrote: > >> Hi there, >> >> I'm study on developing a simple openflow-based datapath module >> >> I know and tried successfully by "b