All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch net-next 0/3] create netdevsim instances in namespace
@ 2019-10-05  6:10 Jiri Pirko
  2019-10-05  6:10 ` [patch net-next 1/3] net: devlink: export devlink net setter Jiri Pirko
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Jiri Pirko @ 2019-10-05  6:10 UTC (permalink / raw)
  To: netdev; +Cc: davem, idosch, jakub.kicinski, petrm, tariqt, saeedm, shuah, mlxsw

From: Jiri Pirko <jiri@mellanox.com>

Allow user to create netdevsim devlink and netdevice instances in a
network namespace according to the namespace where the user resides in.
Add a selftest to test this.

Jiri Pirko (3):
  net: devlink: export devlink net setter
  netdevsim: create devlink and netdev instances in namespace
  selftests: test creating netdevsim inside network namespace

 drivers/net/netdevsim/bus.c                   |  1 +
 drivers/net/netdevsim/dev.c                   |  1 +
 drivers/net/netdevsim/netdevsim.h             |  3 +
 include/net/devlink.h                         |  2 +
 net/core/devlink.c                            | 15 +++-
 .../drivers/net/netdevsim/devlink_in_netns.sh | 72 +++++++++++++++++++
 tools/testing/selftests/net/forwarding/lib.sh |  7 +-
 7 files changed, 97 insertions(+), 4 deletions(-)
 create mode 100755 tools/testing/selftests/drivers/net/netdevsim/devlink_in_netns.sh

-- 
2.21.0


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

end of thread, other threads:[~2019-10-05 23:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-05  6:10 [patch net-next 0/3] create netdevsim instances in namespace Jiri Pirko
2019-10-05  6:10 ` [patch net-next 1/3] net: devlink: export devlink net setter Jiri Pirko
2019-10-05  6:10 ` [patch net-next 2/3] netdevsim: create devlink and netdev instances in namespace Jiri Pirko
2019-10-05  6:10 ` [patch net-next 3/3] selftests: test creating netdevsim inside network namespace Jiri Pirko
2019-10-05 16:16 ` [patch net-next 0/3] create netdevsim instances in namespace Jakub Kicinski
2019-10-05 23:34 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.