On Jan 9, 2013, at 20:30 , ext Ben Pfaff wrote: > On Wed, Jan 09, 2013 at 02:21:47PM +0200, Jarno Rajahalme wrote: >> Avoids unnecessary hash bucket traversal (ofproto_get_port()), since we >> have the ofport_dpif already after odp_port_to_ofport(). >> >> Signed-off-by: Jarno Rajahalme <jarno.rajaha...@nsn.com> > > Thanks! > > I was able to simplify the test to eliminate the ofproto_dpif_cast() > call. I applied the following to master.
Thanks! There is at least one similar use of ofproto_dpif_cast() that could be eliminated in the same way (odp_port_to_ofp_port()). Jarno _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev