[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190412124929.3137-1-jiri@resnulli.us>
Date: Fri, 12 Apr 2019 14:49:25 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, mlxsw@...lanox.com,
jakub.kicinski@...ronome.com
Subject: [patch net-next 0/4] netdevsim: Mostly cleanup in sdev/bpf iface area
From: Jiri Pirko <jiri@...lanox.com>
This patches does mainly internal netdevsim code shuffle. Nothing
serious, just small changes to help readability and preparations for
future work.
Jiri Pirko (4):
netdevsim: move shared dev creation and destruction into separate file
netdevsim: move sdev specific bpf debugfs files to sdev dir
netdevsim: make bpf_offload_dev_create() per-sdev instead of first ns
netdevsim: move sdev-specific init/uninit code into separate functions
drivers/net/netdevsim/Makefile | 2 +-
drivers/net/netdevsim/bpf.c | 87 ++++++++++++---------
drivers/net/netdevsim/netdev.c | 76 +++++++-----------
drivers/net/netdevsim/netdevsim.h | 13 ++-
drivers/net/netdevsim/sdev.c | 69 ++++++++++++++++
tools/testing/selftests/bpf/test_offload.py | 2 +-
6 files changed, 159 insertions(+), 90 deletions(-)
create mode 100644 drivers/net/netdevsim/sdev.c
--
2.17.2
Powered by blists - more mailing lists