[ovs-git] Open vSwitch: dpif-netdev: Don't run port names through netdev_vport_get_dpif_port(). (branch-1.11)

dev at openvswitch.org dev at openvswitch.org
Thu Jun 6 22:29:58 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-1.11 has been updated
       via  142f0955bf4d51237304aca9628e39d229850d98 (commit)
      from  7d3ad71e72eeffb9216fe1bfdaa504eb0e2e66e9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 142f0955bf4d51237304aca9628e39d229850d98
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=142f0955bf4d51237304aca9628e39d229850d98
Author: Ben Pfaff <blp at nicira.com>
		
dpif-netdev: Don't run port names through netdev_vport_get_dpif_port().
		
The ports that exist within a dpif have already been translated through
netdev_vport_get_dpif_port(), so there is no value to translating them
again in the interfaces that query or dump ports (and possibly a drawback
if somehow the translation could change).

After this change, dpif-netdev translates port names in just one place,
the port_add path, which makes dpif-netdev act the same way as dpif-linux
in this respect.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 lib/dpif-netdev.c |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list