[ovs-dev] [tunnel 04/11] ofproto-dpif: Install drops for flows from invalid in_ports.

Ben Pfaff blp at nicira.com
Wed Jan 30 16:04:46 UTC 2013


On Mon, Jan 28, 2013 at 05:03:31PM -0800, Ethan Jackson wrote:
> > In update_stats(), I think that we could save some time by only
> > calling drop_key_lookup() if ofproto_receive() returns ENODEV, since
> > drop keys should not be the common case.
> 
> Actually, upon reflection I've realized that we don't need the
> drop_key_lookup() in update_stats() at all.  ofproto_receive() will simply
> return ENODEV and we'll skip it naturally.
> 
> An incremental follows.

Thanks.



More information about the dev mailing list