Re: [ovs-dev] [PATCH v2 2/2] netdev: Eliminate redundant ifindex mapping.

2017-11-15 Thread Ben Pfaff
On Wed, Nov 15, 2017 at 06:57:01AM -0800, William Tu wrote: > On Tue, Nov 14, 2017 at 10:15 AM, Ben Pfaff wrote: > > Until now, the code for mapping ODP port number to ifindexes and vice versa > > has maintained two completely separate data structures, one for each > > direction. It was possible

Re: [ovs-dev] [PATCH v2 2/2] netdev: Eliminate redundant ifindex mapping.

2017-11-15 Thread William Tu
On Tue, Nov 14, 2017 at 10:15 AM, Ben Pfaff wrote: > Until now, the code for mapping ODP port number to ifindexes and vice versa > has maintained two completely separate data structures, one for each > direction. It was possible for the two mappings to become out of sync > with each other since e

[ovs-dev] [PATCH v2 2/2] netdev: Eliminate redundant ifindex mapping.

2017-11-14 Thread Ben Pfaff
Until now, the code for mapping ODP port number to ifindexes and vice versa has maintained two completely separate data structures, one for each direction. It was possible for the two mappings to become out of sync with each other since either one could change independently. This commit merges th