On Thu, Nov 21, 2019 at 05:02:54PM -0800, Ben Pfaff wrote:
> On Mon, Nov 11, 2019 at 03:58:14PM +0800, txfh2007 wrote:
> > Hi Darrell:
> > 
> >     I have tried to manual set flow table and meter action, to arrange 
> > meter action at the end of the flow pipeline(just before the output 
> > action), and delete conntrack related actions. But the iperf result is also 
> > around 800Mbps(meter rate is 1Gbps as below).
> >     Should I print any message to verify that userspace meter works as 
> > expected ?
> > 
> > ovs-ofctl dump-meters br-int -O openflow13
> > OFPST_METER_CONFIG reply (OF1.3) (xid=0x2):
> > meter=1 kbps burst stats bands=
> > type=drop rate=1000000 burst_size=1200000
> > 
> >  ovs-appctl dpif/dump-flows br-int
> > recirc_id(0),in_port(5),packet_type(ns=0,id=0),eth_type(0x0800),ipv4(frag=no),
> >  packets:570308, bytes:817648729, used:0.191s, flags:SP., actions:meter(0),3
> > recirc_id(0),in_port(3),packet_type(ns=0,id=0),eth_type(0x0800),ipv4(frag=no),
> >  packets:291956, bytes:19551792, used:0.191s, flags:SP., actions:5
> 
> "dump-meters" shows that your meter is numbered 1.
> 
> "dump-flows" shows that you're invoking meter 0.

Oh, never mind, the latter is a datapath meter number.  Different
namespaces.
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to