netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jiri Pirko <jiri@resnulli.us>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, sfeldma@gmail.com, idosch@mellanox.com,
	eladr@mellanox.com, tgraf@suug.ch, ast@plumgrid.com,
	David.Laight@ACULAB.COM, john.fastabend@gmail.com
Subject: [patch net-next v3 00/14] rocker: add support for multiple worlds
Date: Tue,  6 Oct 2015 09:51:39 +0200	[thread overview]
Message-ID: <1444117913-10386-1-git-send-email-jiri@resnulli.us> (raw)

From: Jiri Pirko <jiri@mellanox.com>

This patchset allows new rocker worlds to be easily added in future (like eBPF
based one I have been working on). The main part of the patchset is the OF-DPA
carve-out. It resuts in OF-DPA specific file. Clean cut.

patches added/removed:
v1->v2:
 - rtnl rocker mode change userspace expose patch was removed
v2->v3:
 - added the last patch (handling undefined world ops)

Jiri Pirko (14):
  rocker: remove unused rocker_port param from alloc funcs and shorten
    their names
  rocker: rename rocker.h to rocker_hw.h
  rocker: rename rocker.c to rocker_main.c
  rocker: push tlv processing into separate files
  rocker: implement set settings mode command
  rocker: introduce worlds infrastructure
  rocker: introduce OF-DPA world skeleton
  rocker: set default world on port probe and clean world on remove
  rocker: pass "learning" value as a parameter to
    rocker_port_set_learning
  rocker: pre-allocate wait structures during cmd ring init
  rocker: remove trans parameter to rocker_cmd_exec function
  rocker: call rocker_cmd_exec function with "nowait" boolean instead of
    flags
  rocker: move OF-DPA stuff into separate file
  rocker: return -EOPNOTSUPP for undefined world ops

 drivers/net/ethernet/rocker/Makefile       |    1 +
 drivers/net/ethernet/rocker/rocker.c       | 5478 ----------------------------
 drivers/net/ethernet/rocker/rocker.h       |  543 +--
 drivers/net/ethernet/rocker/rocker_hw.h    |  467 +++
 drivers/net/ethernet/rocker/rocker_main.c  | 2993 +++++++++++++++
 drivers/net/ethernet/rocker/rocker_ofdpa.c | 2927 +++++++++++++++
 drivers/net/ethernet/rocker/rocker_tlv.c   |   54 +
 drivers/net/ethernet/rocker/rocker_tlv.h   |  202 +
 8 files changed, 6736 insertions(+), 5929 deletions(-)
 delete mode 100644 drivers/net/ethernet/rocker/rocker.c
 create mode 100644 drivers/net/ethernet/rocker/rocker_hw.h
 create mode 100644 drivers/net/ethernet/rocker/rocker_main.c
 create mode 100644 drivers/net/ethernet/rocker/rocker_ofdpa.c
 create mode 100644 drivers/net/ethernet/rocker/rocker_tlv.c
 create mode 100644 drivers/net/ethernet/rocker/rocker_tlv.h

-- 
1.9.3

             reply	other threads:[~2015-10-06  7:51 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06  7:51 Jiri Pirko [this message]
2015-10-06  7:51 ` [patch net-next v3 01/14] rocker: remove unused rocker_port param from alloc funcs and shorten their names Jiri Pirko
2015-10-06  7:51 ` [patch net-next v3 02/14] rocker: rename rocker.h to rocker_hw.h Jiri Pirko
2015-10-06  7:51 ` [patch net-next v3 03/14] rocker: rename rocker.c to rocker_main.c Jiri Pirko
2015-10-06  7:51 ` [patch net-next v3 04/14] rocker: push tlv processing into separate files Jiri Pirko
2015-10-06  7:51 ` [patch net-next v3 05/14] rocker: implement set settings mode command Jiri Pirko
2015-10-06  7:51 ` [patch net-next v3 06/14] rocker: introduce worlds infrastructure Jiri Pirko
2015-10-06 16:06   ` Scott Feldman
2015-10-06 16:15     ` Jiri Pirko
2015-10-06 17:03       ` Scott Feldman
2015-10-06 16:19     ` John Fastabend
2015-10-06 17:08       ` Scott Feldman
2015-10-06 21:25         ` John Fastabend
2015-10-07  1:50           ` Scott Feldman
2015-10-07  6:14             ` Jiri Pirko
2015-10-07 15:46               ` John Fastabend
2015-10-07 17:32               ` Scott Feldman
2015-10-07 17:51                 ` Jiri Pirko
2015-10-06 16:25   ` [Linux Kernel Dev- OSI lvls 2-3 Networking modules] assistance needed in Pacific Northwest US John D Allen, Leveridge Systems INC
2015-10-06  7:51 ` [patch net-next v3 07/14] rocker: introduce OF-DPA world skeleton Jiri Pirko
2015-10-06  7:51 ` [patch net-next v3 08/14] rocker: set default world on port probe and clean world on remove Jiri Pirko
2015-10-06  7:51 ` [patch net-next v3 09/14] rocker: pass "learning" value as a parameter to rocker_port_set_learning Jiri Pirko
2015-10-06  7:51 ` [patch net-next v3 10/14] rocker: pre-allocate wait structures during cmd ring init Jiri Pirko
2015-10-06  7:51 ` [patch net-next v3 11/14] rocker: remove trans parameter to rocker_cmd_exec function Jiri Pirko
2015-10-06  7:51 ` [patch net-next v3 12/14] rocker: call rocker_cmd_exec function with "nowait" boolean instead of flags Jiri Pirko
2015-10-06  7:51 ` [patch net-next v3 13/14] rocker: move OF-DPA stuff into separate file Jiri Pirko
2015-10-06  7:51 ` [patch net-next v3 14/14] rocker: return -EOPNOTSUPP for undefined world ops Jiri Pirko
  -- strict thread matches above, loose matches on Subject: below --
2015-10-06  8:01 [patch net-next v3 00/14] rocker: add support for multiple worlds Jiri Pirko
2015-10-06  8:02 ` Jiri Pirko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444117913-10386-1-git-send-email-jiri@resnulli.us \
    --to=jiri@resnulli.us \
    --cc=David.Laight@ACULAB.COM \
    --cc=ast@plumgrid.com \
    --cc=davem@davemloft.net \
    --cc=eladr@mellanox.com \
    --cc=idosch@mellanox.com \
    --cc=john.fastabend@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=sfeldma@gmail.com \
    --cc=tgraf@suug.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).