[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180103031901.4165-1-jakub.kicinski@netronome.com>
Date: Tue, 2 Jan 2018 19:18:58 -0800
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: netdev@...r.kernel.org
Cc: oss-drivers@...ronome.com,
Jakub Kicinski <jakub.kicinski@...ronome.com>
Subject: [PATCH net-next 0/3] nfp: flower: repr link state
Dirk says:
This series provides two updates towards the link state of reprs in
the flower nfp app.
Patch #1 improves the way link state is reported for reprs. Instead of
starting with an assumed 'UP' state, always assume the link state is
'DOWN' and then modify this only on events received from firmware.
Patch #2 adds a new nfp_app hook, repr_preclean. This callback is
executed before reprs are removed from the app context and is executed
per repr.
Patch #3 implements the new REIFY control message, used to indicate
when reprs are created and destroyed. Firmware uses these messages
to prevent communication about any particular port when the driver
doesn't know about the repr yet or anymore.
Dirk van der Merwe (3):
nfp: flower: obtain repr link state only from firmware
nfp: add repr_preclean callback
nfp: flower: implement the PORT_REIFY message
drivers/net/ethernet/netronome/nfp/flower/cmsg.c | 46 ++++++++++
drivers/net/ethernet/netronome/nfp/flower/cmsg.h | 11 +++
drivers/net/ethernet/netronome/nfp/flower/main.c | 105 ++++++++++++++++++++--
drivers/net/ethernet/netronome/nfp/flower/main.h | 5 ++
drivers/net/ethernet/netronome/nfp/nfp_app.h | 10 +++
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c | 20 ++++-
6 files changed, 189 insertions(+), 8 deletions(-)
--
2.15.1
Powered by blists - more mailing lists