[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <a0cfb828-b98e-3a63-15d9-592675e81b5f@solarflare.com>
Date: Wed, 8 Jan 2020 16:06:20 +0000
From: "Alex Maftei (amaftei)" <amaftei@...arflare.com>
To: <netdev@...r.kernel.org>, <davem@...emloft.net>
CC: <linux-net-drivers@...arflare.com>, <scrum-linux@...arflare.com>
Subject: [PATCH net-next 00/14] sfc: code refactoring
Splitting some of the driver code into different files, which will
later be used in another driver for a new product.
Alexandru-Mihai Maftei (14):
sfc: add new headers in preparation for code split
sfc: further preparation for code split
sfc: move reset workqueue code
sfc: move mac configuration and status functions
sfc: move datapath management code
sfc: move some device reset code
sfc: move struct init and fini code
sfc: move some channel-related code
sfc: move channel start/stop code
sfc: move channel alloc/removal code
sfc: move channel interrupt management code
sfc: move event queue management code
sfc: move common rx code
sfc: move common tx code
drivers/net/ethernet/sfc/Makefile | 7 +-
drivers/net/ethernet/sfc/ef10.c | 3 +
drivers/net/ethernet/sfc/efx.c | 2139 +------------------
drivers/net/ethernet/sfc/efx.h | 39 +-
drivers/net/ethernet/sfc/efx_channels.c | 1232 +++++++++++
drivers/net/ethernet/sfc/efx_channels.h | 55 +
drivers/net/ethernet/sfc/efx_common.c | 999 +++++++++
drivers/net/ethernet/sfc/efx_common.h | 61 +
drivers/net/ethernet/sfc/ethtool.c | 3 +
drivers/net/ethernet/sfc/farch.c | 1 +
drivers/net/ethernet/sfc/mcdi.h | 1 -
drivers/net/ethernet/sfc/mcdi_functions.h | 30 +
drivers/net/ethernet/sfc/mcdi_port.c | 50 +-
drivers/net/ethernet/sfc/mcdi_port_common.h | 53 +
drivers/net/ethernet/sfc/net_driver.h | 13 +-
drivers/net/ethernet/sfc/nic.h | 6 +
drivers/net/ethernet/sfc/rx.c | 376 +---
drivers/net/ethernet/sfc/rx_common.c | 375 ++++
drivers/net/ethernet/sfc/rx_common.h | 42 +
drivers/net/ethernet/sfc/selftest.c | 2 +
drivers/net/ethernet/sfc/siena.c | 1 +
drivers/net/ethernet/sfc/siena_sriov.c | 1 +
drivers/net/ethernet/sfc/tx.c | 296 +--
drivers/net/ethernet/sfc/tx_common.c | 310 +++
drivers/net/ethernet/sfc/tx_common.h | 31 +
25 files changed, 3270 insertions(+), 2856 deletions(-)
create mode 100644 drivers/net/ethernet/sfc/efx_channels.c
create mode 100644 drivers/net/ethernet/sfc/efx_channels.h
create mode 100644 drivers/net/ethernet/sfc/efx_common.c
create mode 100644 drivers/net/ethernet/sfc/efx_common.h
create mode 100644 drivers/net/ethernet/sfc/mcdi_functions.h
create mode 100644 drivers/net/ethernet/sfc/mcdi_port_common.h
create mode 100644 drivers/net/ethernet/sfc/rx_common.c
create mode 100644 drivers/net/ethernet/sfc/rx_common.h
create mode 100644 drivers/net/ethernet/sfc/tx_common.c
create mode 100644 drivers/net/ethernet/sfc/tx_common.h
--
2.20.1
Powered by blists - more mailing lists