[ovs-dev] What's the difference between system datapath and netdev datapath?

2016-12-03 Thread ry0117
Hi ,all: Is there anyone know the difference between system datapath and netdev datapath? I created a bridge in system datapath with a phyical port, and add flow to it, it worked fine. Then I created a bridge in netdev datapath and add a dpdk port to it, then add the same flow to it, But th

Re: [ovs-dev] How to add-flow to netdev datapth by ovs-appctl?

2016-12-02 Thread ry0117
. It may >be better to add flows to allow all multicast and broadcast traffic:: > > > priority=5,in_port=1,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00,actions=2 > > priority=5,in_port=2,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00,actions=1 > >On S

Re: [ovs-dev] How to add-flow to netdev datapth by ovs-appctl?

2016-12-02 Thread ry0117
Thanks very much!!! I lost the arp in the flow. At 2016-12-03 04:36:56, "Joe Stringer" wrote: >On 2 December 2016 at 12:28, ry0117 wrote: >> I used ovs-ofctl command add flows to ovsbridge which datapath_typ is netdev: >> ovs-ofctl add-flow ovsBusi

Re: [ovs-dev] How to add-flow to netdev datapth by ovs-appctl?

2016-12-02 Thread ry0117
ng the VM1 to VM2. Then I delete all the flows, and add a Normal action, VM1 could ping to VM2. Do you know why ? Can you give some suggestions or advice for my flows? Thanks very much. At 2016-12-03 02:51:19, "Ben Pfaff" wrote: >On Sat, Dec 03, 2016 at 02:41:28AM +0800, ry

Re: [ovs-dev] How to add-flow to netdev datapth by ovs-appctl?

2016-12-02 Thread ry0117
At 2016-12-03 02:30:11, "Ben Pfaff" wrote: Thanks for your reply~ I'm very sorry. I've used ovs-ofctl command to add flow, just like: ovs-ofctl add-flow ovsBusiness "cookie=0x0, table=0, send_flow_rem priority=3566,ip,in_port=1 actions=output:8" But now I want to add a flow: all pa

[ovs-dev] How to add-flow to netdev datapth by ovs-appctl?

2016-12-02 Thread ry0117
Hello, all: I can add flows by ovs-dpctl command to ovs kernel mode, but now I want to add flows to netdev datapath. when I use "ovs-appctl dpctl/add-flow" command to add a flow, like : ovs-appctl dpctl/add-flow netdev@ovs-netdev "recirc_id(0),in_port(1),eth_type(0x0806)" "action:drop"