netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/6] nfp: refactor app init, and minor flower fixes
@ 2017-09-03  1:25 Jakub Kicinski
  2017-09-03  1:26 ` [PATCH net-next 1/6] nfp: separate app vNIC init/clean from alloc/free Jakub Kicinski
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Jakub Kicinski @ 2017-09-03  1:25 UTC (permalink / raw)
  To: netdev; +Cc: oss-drivers, Jakub Kicinski

Hi!

This series is a part 2 to what went into net as a simpler fix.
In net we simply moved when existing callbacks are invoked to
ensure flower app does not still use representors when lower 
netdev has already been destroyed.  In this series we add a
callback to notify apps when vNIC netdevs are fully initialized
and they are about to be destroyed.  This allows flower to spawn
representors at the right time, while keeping the start/stop
callbacks for what they are intended to be used - FW initialization
over control channel.

Patch 4 improves drop monitor interaction and patch 5 changes 
the default Kconfig selection of flower offload.  Patch 6 fixes
locking around representor updates which got lost in net-next.

Jakub Kicinski (6):
  nfp: separate app vNIC init/clean from alloc/free
  nfp: flower: base lifetime of representors on existence of lower vNIC
  nfp: move the start/stop app callbacks back
  nfp: be drop monitor friendly
  nfp: build the flower offload by default
  nfp: flower: restore RTNL locking around representor updates

 drivers/net/ethernet/netronome/Kconfig             |  1 +
 drivers/net/ethernet/netronome/nfp/bpf/main.c      | 10 +--
 drivers/net/ethernet/netronome/nfp/flower/cmsg.c   | 11 ++-
 drivers/net/ethernet/netronome/nfp/flower/main.c   | 93 +++++++++++++++-------
 drivers/net/ethernet/netronome/nfp/flower/main.h   |  2 +
 drivers/net/ethernet/netronome/nfp/nfp_app.c       |  2 +-
 drivers/net/ethernet/netronome/nfp/nfp_app.h       | 35 +++++---
 drivers/net/ethernet/netronome/nfp/nfp_app_nic.c   |  4 +-
 .../net/ethernet/netronome/nfp/nfp_net_common.c    |  2 +-
 drivers/net/ethernet/netronome/nfp/nfp_net_main.c  | 42 ++++++----
 drivers/net/ethernet/netronome/nfp/nic/main.c      |  2 +-
 11 files changed, 136 insertions(+), 68 deletions(-)

-- 
2.14.1

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

end of thread, other threads:[~2017-09-04  4:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-03  1:25 [PATCH net-next 0/6] nfp: refactor app init, and minor flower fixes Jakub Kicinski
2017-09-03  1:26 ` [PATCH net-next 1/6] nfp: separate app vNIC init/clean from alloc/free Jakub Kicinski
2017-09-03  1:26 ` [PATCH net-next 2/6] nfp: flower: base lifetime of representors on existence of lower vNIC Jakub Kicinski
2017-09-03  1:26 ` [PATCH net-next 3/6] nfp: move the start/stop app callbacks back Jakub Kicinski
2017-09-03  1:26 ` [PATCH net-next 4/6] nfp: be drop monitor friendly Jakub Kicinski
2017-09-03  1:26 ` [PATCH net-next 5/6] nfp: build the flower offload by default Jakub Kicinski
2017-09-03  1:26 ` [PATCH net-next 6/6] nfp: flower: restore RTNL locking around representor updates Jakub Kicinski
2017-09-04  4:22 ` [PATCH net-next 0/6] nfp: refactor app init, and minor flower fixes 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).