[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <14d4694e-2493-abd3-b76e-09e38a01b588@solarflare.com>
Date: Fri, 3 Jul 2020 16:28:04 +0100
From: Edward Cree <ecree@...arflare.com>
To: <linux-net-drivers@...arflare.com>, <davem@...emloft.net>
CC: <netdev@...r.kernel.org>
Subject: [PATCH net-next 00/15] sfc_ef100: driver for EF100 family NICs, part
1
In order to maintain bisectability while splitting into patches of a
reasonable size, I had to do a certain amount of back-and-forth with
stubs for things that the common code may try to call, mainly because
we can't do them until we've set up MCDI, but we can't set up MCDI
without probing the event queues, at which point a lot of the common
machinery becomes reachable from event handlers.
Consequently, this first series doesn't get as far as actually sending
and receiving packets. I have a second series ready to follow it
which implements the datapath (and a few other things like ethtool).
(Would folks prefer the whole thing submitted in one series? It's 27
patches in total.)
Edward Cree (15):
sfc_ef100: add EF100 register definitions
sfc_ef100: register accesses on EF100
sfc_ef100: skeleton EF100 PF driver
sfc_ef100: reset-handling stub
sfc_ef100: PHY probe stub
sfc_ef100: don't call efx_reset_down()/up() on EF100
sfc_ef100: implement MCDI transport
sfc_ef100: implement ndo_open/close and EVQ probing
sfc_ef100: process events for MCDI completions
sfc_ef100: read datapath caps, implement check_caps
sfc_ef100: extend ef100_check_caps to cover datapath_caps3
sfc_ef100: actually perform resets
sfc_ef100: probe the PHY and configure the MAC
sfc_ef100: read device MAC address at probe time
sfc_ef100: implement ndo_get_phys_port_{id,name}
drivers/net/ethernet/sfc/Kconfig | 10 +
drivers/net/ethernet/sfc/Makefile | 8 +
drivers/net/ethernet/sfc/ef100.c | 583 +++++++++++++++++++
drivers/net/ethernet/sfc/ef100_ethtool.c | 26 +
drivers/net/ethernet/sfc/ef100_ethtool.h | 12 +
drivers/net/ethernet/sfc/ef100_netdev.c | 280 +++++++++
drivers/net/ethernet/sfc/ef100_netdev.h | 17 +
drivers/net/ethernet/sfc/ef100_nic.c | 620 ++++++++++++++++++++
drivers/net/ethernet/sfc/ef100_nic.h | 32 ++
drivers/net/ethernet/sfc/ef100_regs.h | 693 +++++++++++++++++++++++
drivers/net/ethernet/sfc/ef100_rx.c | 30 +
drivers/net/ethernet/sfc/ef100_rx.h | 19 +
drivers/net/ethernet/sfc/ef100_tx.c | 62 ++
drivers/net/ethernet/sfc/ef100_tx.h | 22 +
drivers/net/ethernet/sfc/efx_common.c | 9 +-
drivers/net/ethernet/sfc/io.h | 16 +-
drivers/net/ethernet/sfc/mcdi.h | 4 +-
drivers/net/ethernet/sfc/net_driver.h | 14 +-
18 files changed, 2449 insertions(+), 8 deletions(-)
create mode 100644 drivers/net/ethernet/sfc/ef100.c
create mode 100644 drivers/net/ethernet/sfc/ef100_ethtool.c
create mode 100644 drivers/net/ethernet/sfc/ef100_ethtool.h
create mode 100644 drivers/net/ethernet/sfc/ef100_netdev.c
create mode 100644 drivers/net/ethernet/sfc/ef100_netdev.h
create mode 100644 drivers/net/ethernet/sfc/ef100_nic.c
create mode 100644 drivers/net/ethernet/sfc/ef100_nic.h
create mode 100644 drivers/net/ethernet/sfc/ef100_regs.h
create mode 100644 drivers/net/ethernet/sfc/ef100_rx.c
create mode 100644 drivers/net/ethernet/sfc/ef100_rx.h
create mode 100644 drivers/net/ethernet/sfc/ef100_tx.c
create mode 100644 drivers/net/ethernet/sfc/ef100_tx.h
Powered by blists - more mailing lists