[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALnjE+rCX-2z=jzJ5pnH6kzGdkM+MYAr=f8uz0etvOYFufxC9A@mail.gmail.com>
Date: Thu, 8 Jan 2015 20:10:31 -0800
From: Pravin Shelar <pshelar@...ira.com>
To: Daniele Di Proietto <daniele.di.proietto@...il.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] openvswitch: Add ovs_vport_get_index() to hide
vport implementation
On Wed, Jan 7, 2015 at 3:48 PM, Daniele Di Proietto
<daniele.di.proietto@...il.com> wrote:
> datapath.c should not access private vport data. This commit adds
> 'ovs_vport_get_index()' to vport.c and '.get_index()' to vport_ops
> to hide vport implementation details.
>
Earlier patch was better. There is no need to introduce new
ovs_vport_get_index() since no other vport type can have ifindex.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists