netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] Allow openvswitch to query ports in another netns.
@ 2017-11-02 19:04 Flavio Leitner
  2017-11-02 19:04 ` [PATCH net-next 1/3] net: export peernet2id_alloc Flavio Leitner
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Flavio Leitner @ 2017-11-02 19:04 UTC (permalink / raw)
  To: netdev, dev; +Cc: Flavio Leitner

Today Open vSwitch users are moving internal ports to other namespaces and
although packets are flowing OK, the userspace daemon can't find out basic
information like if the port is UP or DOWN, for instance.

This patchset extends openvswitch API to retrieve the current netnsid of
a port. It will be used by the userspace daemon to find out in which netns
the port is located.

This patchset also extends the rtnetlink getlink call to accept and operate
on a given netnsid.  More details are available in each patch.

Jiri Benc (3):
  net: export peernet2id_alloc
  openvswitch: reliable interface indentification in port dumps
  rtnetlink: use netnsid to query interface

 include/uapi/linux/if_link.h     |   1 +
 include/uapi/linux/openvswitch.h |   2 +
 net/core/net_namespace.c         |   1 +
 net/core/rtnetlink.c             | 103 ++++++++++++++++++++++++++++++++-------
 net/openvswitch/datapath.c       |  47 +++++++++++++-----
 net/openvswitch/datapath.h       |   4 +-
 net/openvswitch/dp_notify.c      |   4 +-
 7 files changed, 127 insertions(+), 35 deletions(-)

-- 
2.13.6

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-11-05 12:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-02 19:04 [PATCH net-next 0/3] Allow openvswitch to query ports in another netns Flavio Leitner
2017-11-02 19:04 ` [PATCH net-next 1/3] net: export peernet2id_alloc Flavio Leitner
2017-11-02 19:04 ` [PATCH net-next 2/3] openvswitch: reliable interface indentification in port dumps Flavio Leitner
2017-11-02 19:04 ` [PATCH net-next 3/3] rtnetlink: use netnsid to query interface Flavio Leitner
2017-11-05 12:50 ` [PATCH net-next 0/3] Allow openvswitch to query ports in another netns David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).